MeshLib C Docs
Loading...
Searching...
No Matches
std_vector_int.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_int_AssignFromRange(MR_std_vector_int *_this, const int *ptr, size_t size);
68
72
76
80
84
89
93
96MRC_API void MR_std_vector_int_reserve(MR_std_vector_int *_this, size_t new_capacity);
97
101
106MRC_API const int *MR_std_vector_int_at(const MR_std_vector_int *_this, size_t i);
107
113
118
123
128
133
138
143
147
151
154MRC_API void MR_std_vector_int_insert(MR_std_vector_int *_this, size_t position, int 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_int MR_std_vector_int
Definition MRIntersectionContour.h:15
struct MR_std_vector_int_const_iterator MR_std_vector_int_const_iterator
Definition MRVector.h:180
struct MR_std_vector_int_iterator MR_std_vector_int_iterator
Definition MRVector.h:181
MR_PassBy
Definition common.h:23
#define MRC_API
Definition include/MRCMisc/exports.h:11
MRC_API int * MR_std_vector_int_back_mut(MR_std_vector_int *_this)
MRC_API const int * MR_std_vector_int_data(const MR_std_vector_int *_this)
MRC_API MR_std_vector_int_const_iterator * MR_std_vector_int_const_iterator_from_mutable(const MR_std_vector_int_iterator *iter)
MRC_API bool MR_equal_MR_std_vector_int_const_iterator(const MR_std_vector_int_const_iterator *a, const MR_std_vector_int_const_iterator *b)
MRC_API void MR_std_vector_int_resize(MR_std_vector_int *_this, size_t new_size)
MRC_API int * MR_std_vector_int_iterator_deref(const MR_std_vector_int_iterator *_this)
MRC_API const int * MR_std_vector_int_at(const MR_std_vector_int *_this, size_t i)
MRC_API void MR_std_vector_int_insert_at_iter(MR_std_vector_int *_this, const MR_std_vector_int_const_iterator *position, int new_elem)
MRC_API MR_std_vector_int_iterator * MR_std_vector_int_iterator_ConstructFromAnother(const MR_std_vector_int_iterator *other)
MRC_API MR_std_vector_int_const_iterator * MR_std_vector_int_const_iterator_OffsetMutablePtr(MR_std_vector_int_const_iterator *ptr, ptrdiff_t i)
MRC_API void MR_std_vector_int_iterator_add_assign(MR_std_vector_int_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_int_resize_with_default_value(MR_std_vector_int *_this, size_t new_size, int value)
MRC_API void MR_std_vector_int_clear(MR_std_vector_int *_this)
MRC_API MR_std_vector_int * MR_std_vector_int_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_vector_int *other)
MRC_API MR_std_vector_int_iterator * MR_std_vector_int_iterator_DefaultConstruct(void)
MRC_API bool MR_std_vector_int_is_begin_mut(const MR_std_vector_int *_this, const MR_std_vector_int_iterator *iter)
MRC_API MR_std_vector_int_const_iterator * MR_std_vector_int_const_iterator_ConstructFromAnother(const MR_std_vector_int_const_iterator *other)
MRC_API void MR_std_vector_int_const_iterator_decr(MR_std_vector_int_const_iterator *_this)
MRC_API void MR_std_vector_int_AssignFromRange(MR_std_vector_int *_this, const int *ptr, size_t size)
MRC_API void MR_std_vector_int_erase_at_mutable_iter(MR_std_vector_int *_this, const MR_std_vector_int_iterator *position)
MRC_API void MR_std_vector_int_shrink_to_fit(MR_std_vector_int *_this)
MRC_API ptrdiff_t MR_std_vector_int_to_index_mut(const MR_std_vector_int *_this, const MR_std_vector_int_iterator *iter)
MRC_API void MR_std_vector_int_iterator_Destroy(const MR_std_vector_int_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_int_iterator. Does nothing if the pointer is null...
MRC_API size_t MR_std_vector_int_size(const MR_std_vector_int *_this)
MRC_API const MR_std_vector_int * MR_std_vector_int_OffsetPtr(const MR_std_vector_int *ptr, ptrdiff_t i)
MRC_API MR_std_vector_int_iterator * MR_std_vector_int_iterator_DefaultConstructArray(size_t num_elems)
MRC_API void MR_std_vector_int_iterator_decr(MR_std_vector_int_iterator *_this)
MRC_API int * MR_std_vector_int_data_mut(MR_std_vector_int *_this)
MRC_API ptrdiff_t MR_sub_MR_std_vector_int_iterator(const MR_std_vector_int_iterator *a, const MR_std_vector_int_iterator *b)
MRC_API void MR_std_vector_int_pop_back(MR_std_vector_int *_this)
MRC_API MR_std_vector_int_const_iterator * MR_std_vector_int_end(const MR_std_vector_int *_this)
MRC_API MR_std_vector_int_iterator * MR_std_vector_int_begin_mut(MR_std_vector_int *_this)
MRC_API bool MR_std_vector_int_is_end(const MR_std_vector_int *_this, const MR_std_vector_int_const_iterator *iter)
MRC_API ptrdiff_t MR_sub_MR_std_vector_int_const_iterator(const MR_std_vector_int_const_iterator *a, const MR_std_vector_int_const_iterator *b)
MRC_API void MR_std_vector_int_erase(MR_std_vector_int *_this, size_t position)
MRC_API MR_std_vector_int * MR_std_vector_int_DefaultConstructArray(size_t num_elems)
MRC_API ptrdiff_t MR_std_vector_int_to_index(const MR_std_vector_int *_this, const MR_std_vector_int_const_iterator *iter)
MRC_API MR_std_vector_int * MR_std_vector_int_OffsetMutablePtr(MR_std_vector_int *ptr, ptrdiff_t i)
MRC_API int * MR_std_vector_int_at_mut(MR_std_vector_int *_this, size_t i)
MRC_API MR_std_vector_int_const_iterator * MR_std_vector_int_const_iterator_DefaultConstruct(void)
MRC_API void MR_std_vector_int_iterator_incr(MR_std_vector_int_iterator *_this)
MRC_API void MR_std_vector_int_AssignFromAnother(MR_std_vector_int *_this, MR_PassBy other_pass_by, MR_std_vector_int *other)
MRC_API bool MR_equal_MR_std_vector_int_iterator(const MR_std_vector_int_iterator *a, const MR_std_vector_int_iterator *b)
MRC_API void MR_std_vector_int_push_back(MR_std_vector_int *_this, int new_elem)
MRC_API MR_std_vector_int_iterator * MR_std_vector_int_end_mut(MR_std_vector_int *_this)
MRC_API const MR_std_vector_int_iterator * MR_std_vector_int_iterator_OffsetPtr(const MR_std_vector_int_iterator *ptr, ptrdiff_t i)
MRC_API const int * MR_std_vector_int_front(const MR_std_vector_int *_this)
MRC_API const int * MR_std_vector_int_back(const MR_std_vector_int *_this)
MRC_API void MR_std_vector_int_iterator_AssignFromAnother(MR_std_vector_int_iterator *_this, const MR_std_vector_int_iterator *other)
MRC_API bool MR_std_vector_int_empty(const MR_std_vector_int *_this)
MRC_API size_t MR_std_vector_int_capacity(const MR_std_vector_int *_this)
MRC_API bool MR_std_vector_int_is_begin(const MR_std_vector_int *_this, const MR_std_vector_int_const_iterator *iter)
MRC_API const MR_std_vector_int_const_iterator * MR_std_vector_int_const_iterator_OffsetPtr(const MR_std_vector_int_const_iterator *ptr, ptrdiff_t i)
MRC_API const int * MR_std_vector_int_const_iterator_deref(const MR_std_vector_int_const_iterator *_this)
MRC_API void MR_std_vector_int_reserve(MR_std_vector_int *_this, size_t new_capacity)
MRC_API void MR_std_vector_int_erase_at_iter(MR_std_vector_int *_this, const MR_std_vector_int_const_iterator *position)
MRC_API void MR_std_vector_int_const_iterator_add_assign(MR_std_vector_int_const_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_int_const_iterator_DestroyArray(const MR_std_vector_int_const_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_int_const_iterator. Does nothing if the pointer is n...
MRC_API void MR_std_vector_int_DestroyArray(const MR_std_vector_int *_this)
Destroys a heap-allocated array of MR_std_vector_int. Does nothing if the pointer is null.
MRC_API void MR_std_vector_int_iterator_DestroyArray(const MR_std_vector_int_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_int_iterator. Does nothing if the pointer is null.
MRC_API void MR_std_vector_int_insert_at_mutable_iter(MR_std_vector_int *_this, const MR_std_vector_int_iterator *position, int new_elem)
MRC_API bool MR_std_vector_int_is_end_mut(const MR_std_vector_int *_this, const MR_std_vector_int_iterator *iter)
MRC_API MR_std_vector_int * MR_std_vector_int_ConstructFromRange(const int *ptr, size_t size)
MRC_API MR_std_vector_int_const_iterator * MR_std_vector_int_const_iterator_DefaultConstructArray(size_t num_elems)
MRC_API void MR_std_vector_int_const_iterator_incr(MR_std_vector_int_const_iterator *_this)
MRC_API void MR_std_vector_int_const_iterator_Destroy(const MR_std_vector_int_const_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_int_const_iterator. Does nothing if the pointer i...
MRC_API void MR_std_vector_int_const_iterator_AssignFromAnother(MR_std_vector_int_const_iterator *_this, const MR_std_vector_int_const_iterator *other)
MRC_API void MR_std_vector_int_Destroy(const MR_std_vector_int *_this)
Destroys a heap-allocated instance of MR_std_vector_int. Does nothing if the pointer is null.
MRC_API void MR_std_vector_int_insert(MR_std_vector_int *_this, size_t position, int new_elem)
MRC_API MR_std_vector_int * MR_std_vector_int_DefaultConstruct(void)
MRC_API MR_std_vector_int_iterator * MR_std_vector_int_iterator_OffsetMutablePtr(MR_std_vector_int_iterator *ptr, ptrdiff_t i)
MRC_API MR_std_vector_int_const_iterator * MR_std_vector_int_begin(const MR_std_vector_int *_this)
MRC_API int * MR_std_vector_int_front_mut(MR_std_vector_int *_this)