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
40
46
49
52
56
60
64
68
72
76
80
84
89
93
97
101
105MRC_API const double *MR_std_vector_double_At(const MR_std_vector_double *_this, size_t i);
106
111
115
119
123
127
131
135
139
143
146MRC_API void MR_std_vector_double_Insert(MR_std_vector_double *_this, size_t position, double new_elem);
147
151
156
161
166
171
176
181
186
191
196
201
206
211
216
221
225
230
237
244
247
250
254
258
263
267
272
279
286
289
292
296
300
305
309
313
317
322
327
331
335
339
344
345#ifdef __cplusplus
346} // extern "C"
347#endif
struct MR_std_vector_double MR_std_vector_double
Definition MRBestFitPolynomial.h:17
MR_PassBy
Definition common.h:23
#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)
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)
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)
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)
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)
MRC_API MR_std_vector_double_iterator * MR_std_vector_double_iterator_OffsetMutablePtr(MR_std_vector_double_iterator *ptr, ptrdiff_t i)
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)