MeshLib C Docs
Loading...
Searching...
No Matches
std_vector_double.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 double *MR_std_vector_double_At(const MR_std_vector_double *_this, size_t i);
99
104
108
112
116
120
124
128
132
136
139MRC_API void MR_std_vector_double_Insert(MR_std_vector_double *_this, size_t position, double 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_double MR_std_vector_double
Definition MRBestFitPolynomial.h:17
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11
size_t size() const
MRC_API bool MR_std_vector_double_IsMutableEnd(MR_std_vector_double *_this, const MR_std_vector_double_iterator *iter)
MRC_API void MR_std_vector_double_const_iterator_DestroyArray(const MR_std_vector_double_const_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_double_const_iterator. Does nothing if the pointer i...
MRC_API void MR_std_vector_double_DestroyArray(const MR_std_vector_double *_this)
Destroys a heap-allocated array of MR_std_vector_double. Does nothing if the pointer is null.
MRC_API const double * MR_std_vector_double_Back(const MR_std_vector_double *_this)
MRC_API MR_std_vector_double_const_iterator * MR_std_vector_double_const_iterator_ConstructFromAnother(const MR_std_vector_double_const_iterator *other)
MRC_API ptrdiff_t MR_std_vector_double_const_iterator_Distance(const MR_std_vector_double_const_iterator *a, const MR_std_vector_double_const_iterator *b)
MRC_API const MR_std_vector_double * MR_std_vector_double_OffsetPtr(const MR_std_vector_double *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 double * MR_std_vector_double_MutableBack(MR_std_vector_double *_this)
struct MR_std_vector_double_const_iterator MR_std_vector_double_const_iterator
Definition std_vector_double.h:20
MRC_API const double * MR_std_vector_double_const_iterator_Deref(const MR_std_vector_double_const_iterator *_this)
MRC_API void MR_std_vector_double_AssignFromAnother(MR_std_vector_double *_this, MR_PassBy other_pass_by, MR_std_vector_double *other)
MRC_API bool MR_std_vector_double_IsBegin(const MR_std_vector_double *_this, const MR_std_vector_double_const_iterator *iter)
MRC_API MR_std_vector_double_const_iterator * MR_std_vector_double_End(const MR_std_vector_double *_this)
MRC_API void MR_std_vector_double_Resize(MR_std_vector_double *_this, size_t new_size)
MRC_API MR_std_vector_double_iterator * MR_std_vector_double_MutableEnd(MR_std_vector_double *_this)
MRC_API ptrdiff_t MR_std_vector_double_ToIndex(const MR_std_vector_double *_this, const MR_std_vector_double_const_iterator *iter)
MRC_API MR_std_vector_double * MR_std_vector_double_OffsetMutablePtr(MR_std_vector_double *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_double_const_iterator * MR_std_vector_double_const_iterator_DefaultConstructArray(size_t num_elems)
MRC_API bool MR_std_vector_double_IsEmpty(const MR_std_vector_double *_this)
MRC_API void MR_std_vector_double_InsertAtMutableIter(MR_std_vector_double *_this, const MR_std_vector_double_iterator *position, double new_elem)
MRC_API void MR_std_vector_double_EraseAtMutableIter(MR_std_vector_double *_this, const MR_std_vector_double_iterator *position)
MRC_API double * MR_std_vector_double_MutableData(MR_std_vector_double *_this)
MRC_API const MR_std_vector_double_const_iterator * MR_std_vector_double_const_iterator_OffsetPtr(const MR_std_vector_double_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 double * MR_std_vector_double_MutableFront(MR_std_vector_double *_this)
MRC_API void MR_std_vector_double_const_iterator_Destroy(const MR_std_vector_double_const_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_double_const_iterator. Does nothing if the pointe...
MRC_API double * MR_std_vector_double_MutableAt(MR_std_vector_double *_this, size_t i)
MRC_API void MR_std_vector_double_Destroy(const MR_std_vector_double *_this)
Destroys a heap-allocated instance of MR_std_vector_double. Does nothing if the pointer is null.
MRC_API bool MR_std_vector_double_IsEnd(const MR_std_vector_double *_this, const MR_std_vector_double_const_iterator *iter)
MRC_API void MR_std_vector_double_iterator_OffsetBy(MR_std_vector_double_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_double_Insert(MR_std_vector_double *_this, size_t position, double new_elem)
MRC_API MR_std_vector_double * MR_std_vector_double_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_vector_double *other)
MRC_API size_t MR_std_vector_double_Size(const MR_std_vector_double *_this)
MRC_API void MR_std_vector_double_ShrinkToFit(MR_std_vector_double *_this)
MRC_API void MR_std_vector_double_PopBack(MR_std_vector_double *_this)
MRC_API MR_std_vector_double_const_iterator * MR_std_vector_double_const_iterator_DefaultConstruct(void)
MRC_API void MR_std_vector_double_const_iterator_Decr(MR_std_vector_double_const_iterator *_this)
MRC_API MR_std_vector_double_iterator * MR_std_vector_double_iterator_DefaultConstructArray(size_t num_elems)
MRC_API ptrdiff_t MR_std_vector_double_iterator_Distance(const MR_std_vector_double_iterator *a, const MR_std_vector_double_iterator *b)
MRC_API void MR_std_vector_double_PushBack(MR_std_vector_double *_this, double new_elem)
struct MR_std_vector_double_iterator MR_std_vector_double_iterator
Definition std_vector_double.h:24
MRC_API MR_std_vector_double_const_iterator * MR_std_vector_double_const_iterator_FromMutable(const MR_std_vector_double_iterator *iter)
MRC_API void MR_std_vector_double_Erase(MR_std_vector_double *_this, size_t position)
MRC_API void MR_std_vector_double_Clear(MR_std_vector_double *_this)
MRC_API void MR_std_vector_double_iterator_Decr(MR_std_vector_double_iterator *_this)
MRC_API MR_std_vector_double_iterator * MR_std_vector_double_iterator_DefaultConstruct(void)
MRC_API void MR_std_vector_double_const_iterator_AssignFromAnother(MR_std_vector_double_const_iterator *_this, const MR_std_vector_double_const_iterator *other)
MRC_API const double * MR_std_vector_double_At(const MR_std_vector_double *_this, size_t i)
MRC_API void MR_std_vector_double_iterator_Destroy(const MR_std_vector_double_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_double_iterator. Does nothing if the pointer is n...
MRC_API void MR_std_vector_double_EraseAtIter(MR_std_vector_double *_this, const MR_std_vector_double_const_iterator *position)
MRC_API const MR_std_vector_double_iterator * MR_std_vector_double_iterator_OffsetPtr(const MR_std_vector_double_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_double * MR_std_vector_double_ConstructFromRange(const double *ptr, size_t size)
MRC_API bool MR_std_vector_double_IsMutableBegin(MR_std_vector_double *_this, const MR_std_vector_double_iterator *iter)
MRC_API void MR_std_vector_double_AssignFromRange(MR_std_vector_double *_this, const double *ptr, size_t size)
MRC_API void MR_std_vector_double_iterator_Incr(MR_std_vector_double_iterator *_this)
MRC_API size_t MR_std_vector_double_Capacity(const MR_std_vector_double *_this)
MRC_API const double * MR_std_vector_double_Front(const MR_std_vector_double *_this)
MRC_API MR_std_vector_double * MR_std_vector_double_DefaultConstructArray(size_t num_elems)
MRC_API void MR_std_vector_double_const_iterator_OffsetBy(MR_std_vector_double_const_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_double_iterator_AssignFromAnother(MR_std_vector_double_iterator *_this, const MR_std_vector_double_iterator *other)
MRC_API void MR_std_vector_double_ResizeWithDefaultValue(MR_std_vector_double *_this, size_t new_size, double value)
MRC_API MR_std_vector_double_iterator * MR_std_vector_double_iterator_ConstructFromAnother(const MR_std_vector_double_iterator *other)
MRC_API ptrdiff_t MR_std_vector_double_MutableToIndex(const MR_std_vector_double *_this, const MR_std_vector_double_iterator *iter)
MRC_API MR_std_vector_double_iterator * MR_std_vector_double_MutableBegin(MR_std_vector_double *_this)
MRC_API void MR_std_vector_double_InsertAtIter(MR_std_vector_double *_this, const MR_std_vector_double_const_iterator *position, double new_elem)
MRC_API const double * MR_std_vector_double_Data(const MR_std_vector_double *_this)
MRC_API MR_std_vector_double * MR_std_vector_double_DefaultConstruct(void)
MRC_API MR_std_vector_double_const_iterator * MR_std_vector_double_Begin(const MR_std_vector_double *_this)
MRC_API void MR_std_vector_double_iterator_DestroyArray(const MR_std_vector_double_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_double_iterator. Does nothing if the pointer is null...
MRC_API MR_std_vector_double_const_iterator * MR_std_vector_double_const_iterator_OffsetMutablePtr(MR_std_vector_double_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_double_iterator * MR_std_vector_double_iterator_OffsetMutablePtr(MR_std_vector_double_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_double_Reserve(MR_std_vector_double *_this, size_t new_capacity)
MRC_API double * MR_std_vector_double_iterator_Deref(const MR_std_vector_double_iterator *_this)
MRC_API void MR_std_vector_double_const_iterator_Incr(MR_std_vector_double_const_iterator *_this)