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
40
46
49
52
56
60
64
67MRC_API void MR_std_vector_float_AssignFromRange(MR_std_vector_float *_this, const float *ptr, size_t size);
68
72
76
80
84
89
93
97
101
106MRC_API const float *MR_std_vector_float_at(const MR_std_vector_float *_this, size_t i);
107
113
118
123
128
133
138
143
147
151
154MRC_API void MR_std_vector_float_insert(MR_std_vector_float *_this, size_t position, float new_elem);
155
159
164
169
174
179
185
190
196
201
207
212
218
223
228
233
237
242
249
256
259
262
266
270
275
279
284
291
298
301
304
308
312
318
322
326
330
335
340
346
350
354
358
363
368
369#ifdef __cplusplus
370} // extern "C"
371#endif
struct MR_std_vector_float MR_std_vector_float
Definition MRPdf.h:27
struct MR_std_vector_float_iterator MR_std_vector_float_iterator
Definition MRVector.h:178
struct MR_std_vector_float_const_iterator MR_std_vector_float_const_iterator
Definition MRVector.h:177
MR_PassBy
Definition common.h:23
#define MRC_API
Definition include/MRCMisc/exports.h:11
MRC_API const float * MR_std_vector_float_const_iterator_deref(const MR_std_vector_float_const_iterator *_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 void MR_std_vector_float_erase_at_iter(MR_std_vector_float *_this, const MR_std_vector_float_const_iterator *position)
MRC_API MR_std_vector_float_iterator * MR_std_vector_float_iterator_DefaultConstruct(void)
MRC_API void MR_std_vector_float_iterator_incr(MR_std_vector_float_iterator *_this)
MRC_API const float * MR_std_vector_float_data(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 void MR_std_vector_float_pop_back(MR_std_vector_float *_this)
MRC_API void MR_std_vector_float_erase_at_mutable_iter(MR_std_vector_float *_this, const MR_std_vector_float_iterator *position)
MRC_API void MR_std_vector_float_iterator_AssignFromAnother(MR_std_vector_float_iterator *_this, const MR_std_vector_float_iterator *other)
MRC_API void MR_std_vector_float_erase(MR_std_vector_float *_this, size_t position)
MRC_API float * MR_std_vector_float_iterator_deref(const MR_std_vector_float_iterator *_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 void MR_std_vector_float_iterator_decr(MR_std_vector_float_iterator *_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_at_iter(MR_std_vector_float *_this, const MR_std_vector_float_const_iterator *position, float new_elem)
MRC_API bool MR_std_vector_float_is_end_mut(const MR_std_vector_float *_this, const MR_std_vector_float_iterator *iter)
MRC_API size_t MR_std_vector_float_capacity(const MR_std_vector_float *_this)
MRC_API void MR_std_vector_float_resize_with_default_value(MR_std_vector_float *_this, size_t new_size, float value)
MRC_API float * MR_std_vector_float_back_mut(MR_std_vector_float *_this)
MRC_API MR_std_vector_float_const_iterator * MR_std_vector_float_const_iterator_DefaultConstruct(void)
MRC_API bool MR_std_vector_float_empty(const MR_std_vector_float *_this)
MRC_API size_t MR_std_vector_float_size(const MR_std_vector_float *_this)
MRC_API MR_std_vector_float_iterator * MR_std_vector_float_iterator_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_vector_float_iterator * MR_std_vector_float_begin_mut(MR_std_vector_float *_this)
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)
MRC_API void MR_std_vector_float_const_iterator_add_assign(MR_std_vector_float_const_iterator *_this, ptrdiff_t delta)
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)
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 float * MR_std_vector_float_front_mut(MR_std_vector_float *_this)
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_const_iterator * MR_std_vector_float_begin(const MR_std_vector_float *_this)
MRC_API MR_std_vector_float * MR_std_vector_float_OffsetMutablePtr(MR_std_vector_float *ptr, ptrdiff_t i)
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)
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_end_mut(MR_std_vector_float *_this)
MRC_API bool MR_std_vector_float_is_begin(const MR_std_vector_float *_this, const MR_std_vector_float_const_iterator *iter)
MRC_API void MR_std_vector_float_insert_at_mutable_iter(MR_std_vector_float *_this, const MR_std_vector_float_iterator *position, float new_elem)
MRC_API void MR_std_vector_float_clear(MR_std_vector_float *_this)
MRC_API const float * MR_std_vector_float_at(const MR_std_vector_float *_this, size_t i)
MRC_API bool MR_equal_MR_std_vector_float_const_iterator(const MR_std_vector_float_const_iterator *a, const MR_std_vector_float_const_iterator *b)
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_push_back(MR_std_vector_float *_this, float new_elem)
MRC_API const float * MR_std_vector_float_back(const MR_std_vector_float *_this)
MRC_API bool MR_std_vector_float_is_begin_mut(const MR_std_vector_float *_this, const MR_std_vector_float_iterator *iter)
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 void MR_std_vector_float_shrink_to_fit(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_at_mut(MR_std_vector_float *_this, size_t i)
MRC_API void MR_std_vector_float_insert(MR_std_vector_float *_this, size_t position, float new_elem)
MRC_API const MR_std_vector_float * MR_std_vector_float_OffsetPtr(const MR_std_vector_float *ptr, ptrdiff_t i)
MRC_API void MR_std_vector_float_const_iterator_decr(MR_std_vector_float_const_iterator *_this)
MRC_API ptrdiff_t MR_sub_MR_std_vector_float_const_iterator(const MR_std_vector_float_const_iterator *a, const MR_std_vector_float_const_iterator *b)
MRC_API MR_std_vector_float * MR_std_vector_float_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_vector_float *other)
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)
MRC_API MR_std_vector_float * MR_std_vector_float_DefaultConstruct(void)
MRC_API ptrdiff_t MR_std_vector_float_to_index_mut(const MR_std_vector_float *_this, const MR_std_vector_float_iterator *iter)
MRC_API void MR_std_vector_float_iterator_add_assign(MR_std_vector_float_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_float_reserve(MR_std_vector_float *_this, size_t new_capacity)
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 MR_std_vector_float_const_iterator * MR_std_vector_float_end(const MR_std_vector_float *_this)
MRC_API ptrdiff_t MR_sub_MR_std_vector_float_iterator(const MR_std_vector_float_iterator *a, const MR_std_vector_float_iterator *b)
MRC_API bool MR_std_vector_float_is_end(const MR_std_vector_float *_this, const MR_std_vector_float_const_iterator *iter)
MRC_API MR_std_vector_float_iterator * MR_std_vector_float_iterator_ConstructFromAnother(const MR_std_vector_float_iterator *other)
MRC_API ptrdiff_t MR_std_vector_float_to_index(const MR_std_vector_float *_this, const MR_std_vector_float_const_iterator *iter)
MRC_API void MR_std_vector_float_const_iterator_incr(MR_std_vector_float_const_iterator *_this)
MRC_API bool MR_equal_MR_std_vector_float_iterator(const MR_std_vector_float_iterator *a, const MR_std_vector_float_iterator *b)
MRC_API MR_std_vector_float_const_iterator * MR_std_vector_float_const_iterator_from_mutable(const MR_std_vector_float_iterator *iter)
MRC_API float * MR_std_vector_float_data_mut(MR_std_vector_float *_this)
MRC_API const float * MR_std_vector_float_front(const MR_std_vector_float *_this)