MeshLib C Docs
Loading...
Searching...
No Matches
std_vector_MR_ObjId.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_ObjId MR_std_vector_MR_ObjId
Definition MRVector.h:66
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11
size_t size() const
MRC_API bool MR_std_vector_MR_ObjId_IsMutableBegin(MR_std_vector_MR_ObjId *_this, const MR_std_vector_MR_ObjId_iterator *iter)
MRC_API const MR_ObjId * MR_std_vector_MR_ObjId_At(const MR_std_vector_MR_ObjId *_this, size_t i)
MRC_API MR_std_vector_MR_ObjId_const_iterator * MR_std_vector_MR_ObjId_const_iterator_ConstructFromAnother(const MR_std_vector_MR_ObjId_const_iterator *other)
MRC_API void MR_std_vector_MR_ObjId_iterator_AssignFromAnother(MR_std_vector_MR_ObjId_iterator *_this, const MR_std_vector_MR_ObjId_iterator *other)
MRC_API void MR_std_vector_MR_ObjId_Insert(MR_std_vector_MR_ObjId *_this, size_t position, MR_ObjId new_elem)
MRC_API MR_std_vector_MR_ObjId_iterator * MR_std_vector_MR_ObjId_iterator_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_vector_MR_ObjId * MR_std_vector_MR_ObjId_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_vector_MR_ObjId *other)
MRC_API void MR_std_vector_MR_ObjId_iterator_Incr(MR_std_vector_MR_ObjId_iterator *_this)
MRC_API void MR_std_vector_MR_ObjId_Resize(MR_std_vector_MR_ObjId *_this, size_t new_size)
MRC_API bool MR_std_vector_MR_ObjId_IsEmpty(const MR_std_vector_MR_ObjId *_this)
MRC_API void MR_std_vector_MR_ObjId_Destroy(const MR_std_vector_MR_ObjId *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_ObjId. Does nothing if the pointer is null.
struct MR_std_vector_MR_ObjId_iterator MR_std_vector_MR_ObjId_iterator
Definition std_vector_MR_ObjId.h:25
MRC_API const MR_std_vector_MR_ObjId_iterator * MR_std_vector_MR_ObjId_iterator_OffsetPtr(const MR_std_vector_MR_ObjId_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 const MR_ObjId * MR_std_vector_MR_ObjId_Back(const MR_std_vector_MR_ObjId *_this)
MRC_API void MR_std_vector_MR_ObjId_EraseAtIter(MR_std_vector_MR_ObjId *_this, const MR_std_vector_MR_ObjId_const_iterator *position)
MRC_API bool MR_std_vector_MR_ObjId_IsEnd(const MR_std_vector_MR_ObjId *_this, const MR_std_vector_MR_ObjId_const_iterator *iter)
MRC_API void MR_std_vector_MR_ObjId_const_iterator_Incr(MR_std_vector_MR_ObjId_const_iterator *_this)
MRC_API MR_std_vector_MR_ObjId_const_iterator * MR_std_vector_MR_ObjId_Begin(const MR_std_vector_MR_ObjId *_this)
MRC_API void MR_std_vector_MR_ObjId_AssignFromAnother(MR_std_vector_MR_ObjId *_this, MR_PassBy other_pass_by, MR_std_vector_MR_ObjId *other)
MRC_API ptrdiff_t MR_std_vector_MR_ObjId_iterator_Distance(const MR_std_vector_MR_ObjId_iterator *a, const MR_std_vector_MR_ObjId_iterator *b)
MRC_API MR_std_vector_MR_ObjId_const_iterator * MR_std_vector_MR_ObjId_const_iterator_FromMutable(const MR_std_vector_MR_ObjId_iterator *iter)
MRC_API MR_std_vector_MR_ObjId_iterator * MR_std_vector_MR_ObjId_MutableBegin(MR_std_vector_MR_ObjId *_this)
MRC_API MR_ObjId * MR_std_vector_MR_ObjId_MutableAt(MR_std_vector_MR_ObjId *_this, size_t i)
MRC_API void MR_std_vector_MR_ObjId_Reserve(MR_std_vector_MR_ObjId *_this, size_t new_capacity)
MRC_API MR_std_vector_MR_ObjId_const_iterator * MR_std_vector_MR_ObjId_const_iterator_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_vector_MR_ObjId_const_iterator * MR_std_vector_MR_ObjId_End(const MR_std_vector_MR_ObjId *_this)
MRC_API MR_std_vector_MR_ObjId * MR_std_vector_MR_ObjId_OffsetMutablePtr(MR_std_vector_MR_ObjId *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_ObjId_PushBack(MR_std_vector_MR_ObjId *_this, MR_ObjId new_elem)
MRC_API MR_std_vector_MR_ObjId * MR_std_vector_MR_ObjId_DefaultConstructArray(size_t num_elems)
MRC_API const MR_ObjId * MR_std_vector_MR_ObjId_Data(const MR_std_vector_MR_ObjId *_this)
MRC_API const MR_ObjId * MR_std_vector_MR_ObjId_Front(const MR_std_vector_MR_ObjId *_this)
MRC_API void MR_std_vector_MR_ObjId_DestroyArray(const MR_std_vector_MR_ObjId *_this)
Destroys a heap-allocated array of MR_std_vector_MR_ObjId. Does nothing if the pointer is null.
MRC_API MR_std_vector_MR_ObjId_const_iterator * MR_std_vector_MR_ObjId_const_iterator_OffsetMutablePtr(MR_std_vector_MR_ObjId_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_ObjId_iterator_DestroyArray(const MR_std_vector_MR_ObjId_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_MR_ObjId_iterator. Does nothing if the pointer is nu...
MRC_API MR_ObjId * MR_std_vector_MR_ObjId_MutableBack(MR_std_vector_MR_ObjId *_this)
MRC_API void MR_std_vector_MR_ObjId_ShrinkToFit(MR_std_vector_MR_ObjId *_this)
MRC_API void MR_std_vector_MR_ObjId_iterator_OffsetBy(MR_std_vector_MR_ObjId_iterator *_this, ptrdiff_t delta)
MRC_API size_t MR_std_vector_MR_ObjId_Capacity(const MR_std_vector_MR_ObjId *_this)
MRC_API ptrdiff_t MR_std_vector_MR_ObjId_const_iterator_Distance(const MR_std_vector_MR_ObjId_const_iterator *a, const MR_std_vector_MR_ObjId_const_iterator *b)
MRC_API MR_std_vector_MR_ObjId * MR_std_vector_MR_ObjId_ConstructFromRange(const MR_ObjId *ptr, size_t size)
MRC_API ptrdiff_t MR_std_vector_MR_ObjId_ToIndex(const MR_std_vector_MR_ObjId *_this, const MR_std_vector_MR_ObjId_const_iterator *iter)
MRC_API void MR_std_vector_MR_ObjId_AssignFromRange(MR_std_vector_MR_ObjId *_this, const MR_ObjId *ptr, size_t size)
MRC_API void MR_std_vector_MR_ObjId_const_iterator_Decr(MR_std_vector_MR_ObjId_const_iterator *_this)
MRC_API MR_ObjId * MR_std_vector_MR_ObjId_iterator_Deref(const MR_std_vector_MR_ObjId_iterator *_this)
MRC_API ptrdiff_t MR_std_vector_MR_ObjId_MutableToIndex(const MR_std_vector_MR_ObjId *_this, const MR_std_vector_MR_ObjId_iterator *iter)
MRC_API const MR_ObjId * MR_std_vector_MR_ObjId_const_iterator_Deref(const MR_std_vector_MR_ObjId_const_iterator *_this)
MRC_API MR_std_vector_MR_ObjId_iterator * MR_std_vector_MR_ObjId_iterator_OffsetMutablePtr(MR_std_vector_MR_ObjId_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 bool MR_std_vector_MR_ObjId_IsMutableEnd(MR_std_vector_MR_ObjId *_this, const MR_std_vector_MR_ObjId_iterator *iter)
MRC_API MR_std_vector_MR_ObjId_iterator * MR_std_vector_MR_ObjId_iterator_ConstructFromAnother(const MR_std_vector_MR_ObjId_iterator *other)
MRC_API const MR_std_vector_MR_ObjId * MR_std_vector_MR_ObjId_OffsetPtr(const MR_std_vector_MR_ObjId *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
struct MR_std_vector_MR_ObjId_const_iterator MR_std_vector_MR_ObjId_const_iterator
Definition std_vector_MR_ObjId.h:21
MRC_API MR_ObjId * MR_std_vector_MR_ObjId_MutableFront(MR_std_vector_MR_ObjId *_this)
MRC_API void MR_std_vector_MR_ObjId_EraseAtMutableIter(MR_std_vector_MR_ObjId *_this, const MR_std_vector_MR_ObjId_iterator *position)
MRC_API const MR_std_vector_MR_ObjId_const_iterator * MR_std_vector_MR_ObjId_const_iterator_OffsetPtr(const MR_std_vector_MR_ObjId_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_std_vector_MR_ObjId * MR_std_vector_MR_ObjId_DefaultConstruct(void)
MRC_API void MR_std_vector_MR_ObjId_iterator_Decr(MR_std_vector_MR_ObjId_iterator *_this)
MRC_API MR_std_vector_MR_ObjId_iterator * MR_std_vector_MR_ObjId_MutableEnd(MR_std_vector_MR_ObjId *_this)
MRC_API void MR_std_vector_MR_ObjId_Erase(MR_std_vector_MR_ObjId *_this, size_t position)
MRC_API void MR_std_vector_MR_ObjId_const_iterator_OffsetBy(MR_std_vector_MR_ObjId_const_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_MR_ObjId_PopBack(MR_std_vector_MR_ObjId *_this)
MRC_API void MR_std_vector_MR_ObjId_const_iterator_Destroy(const MR_std_vector_MR_ObjId_const_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_ObjId_const_iterator. Does nothing if the poin...
MRC_API void MR_std_vector_MR_ObjId_iterator_Destroy(const MR_std_vector_MR_ObjId_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_MR_ObjId_iterator. Does nothing if the pointer is...
MRC_API size_t MR_std_vector_MR_ObjId_Size(const MR_std_vector_MR_ObjId *_this)
MRC_API MR_ObjId * MR_std_vector_MR_ObjId_MutableData(MR_std_vector_MR_ObjId *_this)
MRC_API MR_std_vector_MR_ObjId_const_iterator * MR_std_vector_MR_ObjId_const_iterator_DefaultConstruct(void)
MRC_API void MR_std_vector_MR_ObjId_ResizeWithDefaultValue(MR_std_vector_MR_ObjId *_this, size_t new_size, const MR_ObjId *value)
MRC_API void MR_std_vector_MR_ObjId_InsertAtIter(MR_std_vector_MR_ObjId *_this, const MR_std_vector_MR_ObjId_const_iterator *position, MR_ObjId new_elem)
MRC_API MR_std_vector_MR_ObjId_iterator * MR_std_vector_MR_ObjId_iterator_DefaultConstruct(void)
MRC_API void MR_std_vector_MR_ObjId_const_iterator_AssignFromAnother(MR_std_vector_MR_ObjId_const_iterator *_this, const MR_std_vector_MR_ObjId_const_iterator *other)
MRC_API void MR_std_vector_MR_ObjId_Clear(MR_std_vector_MR_ObjId *_this)
MRC_API void MR_std_vector_MR_ObjId_const_iterator_DestroyArray(const MR_std_vector_MR_ObjId_const_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_MR_ObjId_const_iterator. Does nothing if the pointer...
MRC_API bool MR_std_vector_MR_ObjId_IsBegin(const MR_std_vector_MR_ObjId *_this, const MR_std_vector_MR_ObjId_const_iterator *iter)
MRC_API void MR_std_vector_MR_ObjId_InsertAtMutableIter(MR_std_vector_MR_ObjId *_this, const MR_std_vector_MR_ObjId_iterator *position, MR_ObjId new_elem)
Definition MRId.h:97