MeshLib C Docs
Loading...
Searching...
No Matches
std_vector_MR_VoxelId.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRId.h>
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stdbool.h>
8#include <stddef.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14
18
22
26
30
35
39
43
46
49
52
55
59
63
67
71
75
80
84
88
92
96
101
106
110
114
118
122
126
130
134
138
142
146
151
156
161
166
171
176
181
186
191
196
201
206
211
216
220
225
230
235
238
241
244
247
252
256
261
266
271
274
277
280
283
288
292
296
300
305
310
314
318
322
327
328#ifdef __cplusplus
329} // extern "C"
330#endif
struct MR_std_vector_MR_VoxelId MR_std_vector_MR_VoxelId
Definition MRVector.h:81
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11
size_t size() const
MRC_API MR_std_vector_MR_VoxelId_const_iterator * MR_std_vector_MR_VoxelId_Begin(const MR_std_vector_MR_VoxelId *_this)
MRC_API MR_std_vector_MR_VoxelId * MR_std_vector_MR_VoxelId_ConstructFromRange(const MR_VoxelId *ptr, size_t size)
MRC_API void MR_std_vector_MR_VoxelId_Clear(MR_std_vector_MR_VoxelId *_this)
MRC_API MR_std_vector_MR_VoxelId_iterator * MR_std_vector_MR_VoxelId_MutableBegin(MR_std_vector_MR_VoxelId *_this)
MRC_API MR_std_vector_MR_VoxelId * MR_std_vector_MR_VoxelId_OffsetMutablePtr(MR_std_vector_MR_VoxelId *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_std_vector_MR_VoxelId_iterator * MR_std_vector_MR_VoxelId_iterator_OffsetMutablePtr(MR_std_vector_MR_VoxelId_iterator *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_std_vector_MR_VoxelId_const_iterator * MR_std_vector_MR_VoxelId_const_iterator_DefaultConstruct(void)
MRC_API MR_std_vector_MR_VoxelId_iterator * MR_std_vector_MR_VoxelId_iterator_ConstructFromAnother(const MR_std_vector_MR_VoxelId_iterator *other)
struct MR_std_vector_MR_VoxelId_const_iterator MR_std_vector_MR_VoxelId_const_iterator
Definition std_vector_MR_VoxelId.h:21
MRC_API void MR_std_vector_MR_VoxelId_DestroyArray(const MR_std_vector_MR_VoxelId *_this)
Destroys a heap-allocated array of MR_std_vector_MR_VoxelId. Does nothing if the pointer is null.
MRC_API MR_std_vector_MR_VoxelId * MR_std_vector_MR_VoxelId_DefaultConstruct(void)
MRC_API MR_std_vector_MR_VoxelId_const_iterator * MR_std_vector_MR_VoxelId_const_iterator_ConstructFromAnother(const MR_std_vector_MR_VoxelId_const_iterator *other)
MRC_API MR_std_vector_MR_VoxelId_iterator * MR_std_vector_MR_VoxelId_iterator_DefaultConstruct(void)
MRC_API const MR_std_vector_MR_VoxelId * MR_std_vector_MR_VoxelId_OffsetPtr(const MR_std_vector_MR_VoxelId *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API bool MR_std_vector_MR_VoxelId_IsMutableBegin(MR_std_vector_MR_VoxelId *_this, const MR_std_vector_MR_VoxelId_iterator *iter)
MRC_API void MR_std_vector_MR_VoxelId_const_iterator_DestroyArray(const MR_std_vector_MR_VoxelId_const_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_MR_VoxelId_const_iterator. Does nothing if the point...
MRC_API MR_std_vector_MR_VoxelId_const_iterator * MR_std_vector_MR_VoxelId_const_iterator_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_vector_MR_VoxelId_const_iterator * MR_std_vector_MR_VoxelId_const_iterator_FromMutable(const MR_std_vector_MR_VoxelId_iterator *iter)
MRC_API MR_VoxelId * MR_std_vector_MR_VoxelId_MutableData(MR_std_vector_MR_VoxelId *_this)
MRC_API void MR_std_vector_MR_VoxelId_const_iterator_Destroy(const MR_std_vector_MR_VoxelId_const_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_VoxelId_const_iterator. Does nothing if the po...
MRC_API MR_VoxelId * MR_std_vector_MR_VoxelId_MutableAt(MR_std_vector_MR_VoxelId *_this, size_t i)
MRC_API void MR_std_vector_MR_VoxelId_AssignFromAnother(MR_std_vector_MR_VoxelId *_this, MR_PassBy other_pass_by, MR_std_vector_MR_VoxelId *other)
MRC_API const MR_VoxelId * MR_std_vector_MR_VoxelId_Back(const MR_std_vector_MR_VoxelId *_this)
MRC_API void MR_std_vector_MR_VoxelId_Erase(MR_std_vector_MR_VoxelId *_this, size_t position)
MRC_API void MR_std_vector_MR_VoxelId_AssignFromRange(MR_std_vector_MR_VoxelId *_this, const MR_VoxelId *ptr, size_t size)
MRC_API const MR_VoxelId * MR_std_vector_MR_VoxelId_At(const MR_std_vector_MR_VoxelId *_this, size_t i)
struct MR_std_vector_MR_VoxelId_iterator MR_std_vector_MR_VoxelId_iterator
Definition std_vector_MR_VoxelId.h:25
MRC_API MR_std_vector_MR_VoxelId * MR_std_vector_MR_VoxelId_DefaultConstructArray(size_t num_elems)
MRC_API void MR_std_vector_MR_VoxelId_InsertAtIter(MR_std_vector_MR_VoxelId *_this, const MR_std_vector_MR_VoxelId_const_iterator *position, MR_VoxelId new_elem)
MRC_API bool MR_std_vector_MR_VoxelId_IsBegin(const MR_std_vector_MR_VoxelId *_this, const MR_std_vector_MR_VoxelId_const_iterator *iter)
MRC_API MR_std_vector_MR_VoxelId * MR_std_vector_MR_VoxelId_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_vector_MR_VoxelId *other)
MRC_API ptrdiff_t MR_std_vector_MR_VoxelId_ToIndex(const MR_std_vector_MR_VoxelId *_this, const MR_std_vector_MR_VoxelId_const_iterator *iter)
MRC_API ptrdiff_t MR_std_vector_MR_VoxelId_MutableToIndex(const MR_std_vector_MR_VoxelId *_this, const MR_std_vector_MR_VoxelId_iterator *iter)
MRC_API const MR_VoxelId * MR_std_vector_MR_VoxelId_Data(const MR_std_vector_MR_VoxelId *_this)
MRC_API bool MR_std_vector_MR_VoxelId_IsMutableEnd(MR_std_vector_MR_VoxelId *_this, const MR_std_vector_MR_VoxelId_iterator *iter)
MRC_API void MR_std_vector_MR_VoxelId_iterator_Decr(MR_std_vector_MR_VoxelId_iterator *_this)
MRC_API void MR_std_vector_MR_VoxelId_iterator_Incr(MR_std_vector_MR_VoxelId_iterator *_this)
MRC_API void MR_std_vector_MR_VoxelId_InsertAtMutableIter(MR_std_vector_MR_VoxelId *_this, const MR_std_vector_MR_VoxelId_iterator *position, MR_VoxelId new_elem)
MRC_API void MR_std_vector_MR_VoxelId_ShrinkToFit(MR_std_vector_MR_VoxelId *_this)
MRC_API MR_VoxelId * MR_std_vector_MR_VoxelId_MutableBack(MR_std_vector_MR_VoxelId *_this)
MRC_API bool MR_std_vector_MR_VoxelId_IsEnd(const MR_std_vector_MR_VoxelId *_this, const MR_std_vector_MR_VoxelId_const_iterator *iter)
MRC_API MR_std_vector_MR_VoxelId_iterator * MR_std_vector_MR_VoxelId_iterator_DefaultConstructArray(size_t num_elems)
MRC_API void MR_std_vector_MR_VoxelId_Destroy(const MR_std_vector_MR_VoxelId *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_VoxelId. Does nothing if the pointer is null.
MRC_API const MR_VoxelId * MR_std_vector_MR_VoxelId_const_iterator_Deref(const MR_std_vector_MR_VoxelId_const_iterator *_this)
MRC_API const MR_VoxelId * MR_std_vector_MR_VoxelId_Front(const MR_std_vector_MR_VoxelId *_this)
MRC_API void MR_std_vector_MR_VoxelId_PopBack(MR_std_vector_MR_VoxelId *_this)
MRC_API MR_std_vector_MR_VoxelId_const_iterator * MR_std_vector_MR_VoxelId_End(const MR_std_vector_MR_VoxelId *_this)
MRC_API void MR_std_vector_MR_VoxelId_PushBack(MR_std_vector_MR_VoxelId *_this, MR_VoxelId new_elem)
MRC_API MR_std_vector_MR_VoxelId_iterator * MR_std_vector_MR_VoxelId_MutableEnd(MR_std_vector_MR_VoxelId *_this)
MRC_API void MR_std_vector_MR_VoxelId_iterator_DestroyArray(const MR_std_vector_MR_VoxelId_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_MR_VoxelId_iterator. Does nothing if the pointer is ...
MRC_API void MR_std_vector_MR_VoxelId_iterator_AssignFromAnother(MR_std_vector_MR_VoxelId_iterator *_this, const MR_std_vector_MR_VoxelId_iterator *other)
MRC_API ptrdiff_t MR_std_vector_MR_VoxelId_const_iterator_Distance(const MR_std_vector_MR_VoxelId_const_iterator *a, const MR_std_vector_MR_VoxelId_const_iterator *b)
MRC_API void MR_std_vector_MR_VoxelId_const_iterator_Decr(MR_std_vector_MR_VoxelId_const_iterator *_this)
MRC_API void MR_std_vector_MR_VoxelId_iterator_OffsetBy(MR_std_vector_MR_VoxelId_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_MR_VoxelId_iterator_Destroy(const MR_std_vector_MR_VoxelId_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_VoxelId_iterator. Does nothing if the pointer ...
MRC_API size_t MR_std_vector_MR_VoxelId_Capacity(const MR_std_vector_MR_VoxelId *_this)
MRC_API void MR_std_vector_MR_VoxelId_Reserve(MR_std_vector_MR_VoxelId *_this, size_t new_capacity)
MRC_API void MR_std_vector_MR_VoxelId_Insert(MR_std_vector_MR_VoxelId *_this, size_t position, MR_VoxelId new_elem)
MRC_API void MR_std_vector_MR_VoxelId_const_iterator_Incr(MR_std_vector_MR_VoxelId_const_iterator *_this)
MRC_API size_t MR_std_vector_MR_VoxelId_Size(const MR_std_vector_MR_VoxelId *_this)
MRC_API void MR_std_vector_MR_VoxelId_const_iterator_AssignFromAnother(MR_std_vector_MR_VoxelId_const_iterator *_this, const MR_std_vector_MR_VoxelId_const_iterator *other)
MRC_API const MR_std_vector_MR_VoxelId_iterator * MR_std_vector_MR_VoxelId_iterator_OffsetPtr(const MR_std_vector_MR_VoxelId_iterator *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_std_vector_MR_VoxelId_ResizeWithDefaultValue(MR_std_vector_MR_VoxelId *_this, size_t new_size, const MR_VoxelId *value)
MRC_API MR_std_vector_MR_VoxelId_const_iterator * MR_std_vector_MR_VoxelId_const_iterator_OffsetMutablePtr(MR_std_vector_MR_VoxelId_const_iterator *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_std_vector_MR_VoxelId_EraseAtMutableIter(MR_std_vector_MR_VoxelId *_this, const MR_std_vector_MR_VoxelId_iterator *position)
MRC_API bool MR_std_vector_MR_VoxelId_IsEmpty(const MR_std_vector_MR_VoxelId *_this)
MRC_API const MR_std_vector_MR_VoxelId_const_iterator * MR_std_vector_MR_VoxelId_const_iterator_OffsetPtr(const MR_std_vector_MR_VoxelId_const_iterator *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_VoxelId * MR_std_vector_MR_VoxelId_MutableFront(MR_std_vector_MR_VoxelId *_this)
MRC_API void MR_std_vector_MR_VoxelId_Resize(MR_std_vector_MR_VoxelId *_this, size_t new_size)
MRC_API MR_VoxelId * MR_std_vector_MR_VoxelId_iterator_Deref(const MR_std_vector_MR_VoxelId_iterator *_this)
MRC_API void MR_std_vector_MR_VoxelId_EraseAtIter(MR_std_vector_MR_VoxelId *_this, const MR_std_vector_MR_VoxelId_const_iterator *position)
MRC_API ptrdiff_t MR_std_vector_MR_VoxelId_iterator_Distance(const MR_std_vector_MR_VoxelId_iterator *a, const MR_std_vector_MR_VoxelId_iterator *b)
MRC_API void MR_std_vector_MR_VoxelId_const_iterator_OffsetBy(MR_std_vector_MR_VoxelId_const_iterator *_this, ptrdiff_t delta)
Definition MRId.h:161