MeshLib C Docs
Loading...
Searching...
No Matches
std_vector_float.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13
17
21
25
29
34
38
42
45
48
51
54
58
62
66
70
74
78
82
86
90
94
98MRC_API const float *MR_std_vector_float_At(const MR_std_vector_float *_this, size_t i);
99
104
108
112
116
120
124
128
132
136
139MRC_API void MR_std_vector_float_Insert(MR_std_vector_float *_this, size_t position, float new_elem);
140
144
149
154
159
164
169
174
179
184
189
194
199
204
209
214
218
223
228
233
236
239
242
245
250
254
259
264
269
272
275
278
281
286
290
294
298
303
308
312
316
320
325
326#ifdef __cplusplus
327} // extern "C"
328#endif
struct MR_std_vector_float MR_std_vector_float
Definition MRBestFit.h:27
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11
size_t size() const
MRC_API const float * MR_std_vector_float_Data(const MR_std_vector_float *_this)
MRC_API void MR_std_vector_float_const_iterator_Destroy(const MR_std_vector_float_const_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_float_const_iterator. Does nothing if the pointer...
MRC_API MR_std_vector_float_iterator * MR_std_vector_float_iterator_DefaultConstruct(void)
MRC_API MR_std_vector_float_const_iterator * MR_std_vector_float_Begin(const MR_std_vector_float *_this)
MRC_API MR_std_vector_float * MR_std_vector_float_ConstructFromRange(const float *ptr, size_t size)
MRC_API size_t MR_std_vector_float_Size(const MR_std_vector_float *_this)
MRC_API void MR_std_vector_float_iterator_AssignFromAnother(MR_std_vector_float_iterator *_this, const MR_std_vector_float_iterator *other)
MRC_API ptrdiff_t MR_std_vector_float_ToIndex(const MR_std_vector_float *_this, const MR_std_vector_float_const_iterator *iter)
MRC_API void MR_std_vector_float_Clear(MR_std_vector_float *_this)
MRC_API void MR_std_vector_float_AssignFromAnother(MR_std_vector_float *_this, MR_PassBy other_pass_by, MR_std_vector_float *other)
MRC_API const float * MR_std_vector_float_Front(const MR_std_vector_float *_this)
MRC_API size_t MR_std_vector_float_Capacity(const MR_std_vector_float *_this)
MRC_API void MR_std_vector_float_ShrinkToFit(MR_std_vector_float *_this)
MRC_API void MR_std_vector_float_EraseAtIter(MR_std_vector_float *_this, const MR_std_vector_float_const_iterator *position)
MRC_API void MR_std_vector_float_PushBack(MR_std_vector_float *_this, float new_elem)
MRC_API MR_std_vector_float_const_iterator * MR_std_vector_float_const_iterator_FromMutable(const MR_std_vector_float_iterator *iter)
MRC_API bool MR_std_vector_float_IsBegin(const MR_std_vector_float *_this, const MR_std_vector_float_const_iterator *iter)
MRC_API float * MR_std_vector_float_MutableAt(MR_std_vector_float *_this, size_t i)
MRC_API MR_std_vector_float_const_iterator * MR_std_vector_float_End(const MR_std_vector_float *_this)
MRC_API void MR_std_vector_float_EraseAtMutableIter(MR_std_vector_float *_this, const MR_std_vector_float_iterator *position)
MRC_API ptrdiff_t MR_std_vector_float_iterator_Distance(const MR_std_vector_float_iterator *a, const MR_std_vector_float_iterator *b)
MRC_API void MR_std_vector_float_const_iterator_Incr(MR_std_vector_float_const_iterator *_this)
MRC_API MR_std_vector_float_const_iterator * MR_std_vector_float_const_iterator_DefaultConstruct(void)
MRC_API void MR_std_vector_float_Reserve(MR_std_vector_float *_this, size_t new_capacity)
MRC_API void MR_std_vector_float_ResizeWithDefaultValue(MR_std_vector_float *_this, size_t new_size, float value)
MRC_API MR_std_vector_float_iterator * MR_std_vector_float_iterator_DefaultConstructArray(size_t num_elems)
MRC_API void MR_std_vector_float_iterator_DestroyArray(const MR_std_vector_float_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_float_iterator. Does nothing if the pointer is null.
MRC_API MR_std_vector_float_iterator * MR_std_vector_float_iterator_OffsetMutablePtr(MR_std_vector_float_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_float_const_iterator * MR_std_vector_float_const_iterator_OffsetMutablePtr(MR_std_vector_float_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_float_const_iterator_AssignFromAnother(MR_std_vector_float_const_iterator *_this, const MR_std_vector_float_const_iterator *other)
MRC_API void MR_std_vector_float_Erase(MR_std_vector_float *_this, size_t position)
MRC_API void MR_std_vector_float_iterator_OffsetBy(MR_std_vector_float_iterator *_this, ptrdiff_t delta)
MRC_API const float * MR_std_vector_float_At(const MR_std_vector_float *_this, size_t i)
MRC_API void MR_std_vector_float_AssignFromRange(MR_std_vector_float *_this, const float *ptr, size_t size)
MRC_API MR_std_vector_float * MR_std_vector_float_OffsetMutablePtr(MR_std_vector_float *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_std_vector_float_const_iterator * MR_std_vector_float_const_iterator_OffsetPtr(const MR_std_vector_float_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 ptrdiff_t MR_std_vector_float_const_iterator_Distance(const MR_std_vector_float_const_iterator *a, const MR_std_vector_float_const_iterator *b)
MRC_API void MR_std_vector_float_iterator_Destroy(const MR_std_vector_float_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_float_iterator. Does nothing if the pointer is nu...
MRC_API MR_std_vector_float_iterator * MR_std_vector_float_MutableEnd(MR_std_vector_float *_this)
MRC_API void MR_std_vector_float_Resize(MR_std_vector_float *_this, size_t new_size)
MRC_API void MR_std_vector_float_Insert(MR_std_vector_float *_this, size_t position, float new_elem)
MRC_API void MR_std_vector_float_Destroy(const MR_std_vector_float *_this)
Destroys a heap-allocated instance of MR_std_vector_float. Does nothing if the pointer is null.
MRC_API void MR_std_vector_float_const_iterator_DestroyArray(const MR_std_vector_float_const_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_float_const_iterator. Does nothing if the pointer is...
MRC_API bool MR_std_vector_float_IsMutableEnd(MR_std_vector_float *_this, const MR_std_vector_float_iterator *iter)
MRC_API void MR_std_vector_float_const_iterator_Decr(MR_std_vector_float_const_iterator *_this)
MRC_API float * MR_std_vector_float_MutableData(MR_std_vector_float *_this)
MRC_API MR_std_vector_float_const_iterator * MR_std_vector_float_const_iterator_DefaultConstructArray(size_t num_elems)
MRC_API float * MR_std_vector_float_MutableFront(MR_std_vector_float *_this)
MRC_API bool MR_std_vector_float_IsMutableBegin(MR_std_vector_float *_this, const MR_std_vector_float_iterator *iter)
MRC_API const MR_std_vector_float * MR_std_vector_float_OffsetPtr(const MR_std_vector_float *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 float * MR_std_vector_float_Back(const MR_std_vector_float *_this)
MRC_API MR_std_vector_float * MR_std_vector_float_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_vector_float *other)
MRC_API bool MR_std_vector_float_IsEmpty(const MR_std_vector_float *_this)
MRC_API float * MR_std_vector_float_iterator_Deref(const MR_std_vector_float_iterator *_this)
MRC_API void MR_std_vector_float_DestroyArray(const MR_std_vector_float *_this)
Destroys a heap-allocated array of MR_std_vector_float. Does nothing if the pointer is null.
MRC_API const MR_std_vector_float_iterator * MR_std_vector_float_iterator_OffsetPtr(const MR_std_vector_float_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_float * MR_std_vector_float_DefaultConstruct(void)
MRC_API void MR_std_vector_float_iterator_Decr(MR_std_vector_float_iterator *_this)
MRC_API bool MR_std_vector_float_IsEnd(const MR_std_vector_float *_this, const MR_std_vector_float_const_iterator *iter)
MRC_API MR_std_vector_float * MR_std_vector_float_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_vector_float_const_iterator * MR_std_vector_float_const_iterator_ConstructFromAnother(const MR_std_vector_float_const_iterator *other)
MRC_API ptrdiff_t MR_std_vector_float_MutableToIndex(const MR_std_vector_float *_this, const MR_std_vector_float_iterator *iter)
MRC_API void MR_std_vector_float_InsertAtMutableIter(MR_std_vector_float *_this, const MR_std_vector_float_iterator *position, float new_elem)
MRC_API MR_std_vector_float_iterator * MR_std_vector_float_iterator_ConstructFromAnother(const MR_std_vector_float_iterator *other)
MRC_API void MR_std_vector_float_const_iterator_OffsetBy(MR_std_vector_float_const_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_float_PopBack(MR_std_vector_float *_this)
MRC_API float * MR_std_vector_float_MutableBack(MR_std_vector_float *_this)
MRC_API MR_std_vector_float_iterator * MR_std_vector_float_MutableBegin(MR_std_vector_float *_this)
MRC_API const float * MR_std_vector_float_const_iterator_Deref(const MR_std_vector_float_const_iterator *_this)
struct MR_std_vector_float_iterator MR_std_vector_float_iterator
Definition std_vector_float.h:24
MRC_API void MR_std_vector_float_InsertAtIter(MR_std_vector_float *_this, const MR_std_vector_float_const_iterator *position, float new_elem)
MRC_API void MR_std_vector_float_iterator_Incr(MR_std_vector_float_iterator *_this)
struct MR_std_vector_float_const_iterator MR_std_vector_float_const_iterator
Definition std_vector_float.h:20