MeshLib C Docs
Loading...
Searching...
No Matches
std_vector_std_string.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
13typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
14
15
19
23
27
31
36
42
48
51
54
58
62
66
70
74
79MRC_API void MR_std_vector_std_string_ResizeWithDefaultValue(MR_std_vector_std_string *_this, size_t new_size, const char *value, const char *value_end);
80
85
89
93
97
102
107
111
115
119
123
129MRC_API void MR_std_vector_std_string_PushBack(MR_std_vector_std_string *_this, const char *new_elem, const char *new_elem_end);
130
134
140MRC_API void MR_std_vector_std_string_Insert(MR_std_vector_std_string *_this, size_t position, const char *new_elem, const char *new_elem_end);
141
145
152MRC_API void MR_std_vector_std_string_InsertAtMutableIter(MR_std_vector_std_string *_this, const MR_std_vector_std_string_iterator *position, const char *new_elem, const char *new_elem_end);
153
158
165MRC_API void MR_std_vector_std_string_InsertAtIter(MR_std_vector_std_string *_this, const MR_std_vector_std_string_const_iterator *position, const char *new_elem, const char *new_elem_end);
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_string MR_std_string
Definition MRCtm.h:32
struct MR_std_vector_std_string MR_std_vector_std_string
Definition MRPdf.h:29
MR_PassBy
Definition common.h:23
#define MRC_API
Definition exports.h:11
MRC_API const MR_std_string * MR_std_vector_std_string_At(const MR_std_vector_std_string *_this, size_t i)
MRC_API void MR_std_vector_std_string_Clear(MR_std_vector_std_string *_this)
MRC_API size_t MR_std_vector_std_string_Size(const MR_std_vector_std_string *_this)
MRC_API MR_std_vector_std_string_iterator * MR_std_vector_std_string_MutableEnd(MR_std_vector_std_string *_this)
MRC_API void MR_std_vector_std_string_iterator_Incr(MR_std_vector_std_string_iterator *_this)
MRC_API MR_std_vector_std_string_iterator * MR_std_vector_std_string_iterator_OffsetMutablePtr(MR_std_vector_std_string_iterator *ptr, ptrdiff_t i)
MRC_API void MR_std_vector_std_string_InsertAtIter(MR_std_vector_std_string *_this, const MR_std_vector_std_string_const_iterator *position, const char *new_elem, const char *new_elem_end)
MRC_API void MR_std_vector_std_string_EraseAtMutableIter(MR_std_vector_std_string *_this, const MR_std_vector_std_string_iterator *position)
MRC_API void MR_std_vector_std_string_iterator_AssignFromAnother(MR_std_vector_std_string_iterator *_this, const MR_std_vector_std_string_iterator *other)
MRC_API void MR_std_vector_std_string_AssignFromAnother(MR_std_vector_std_string *_this, MR_PassBy other_pass_by, MR_std_vector_std_string *other)
MRC_API MR_std_vector_std_string_const_iterator * MR_std_vector_std_string_const_iterator_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_vector_std_string_const_iterator * MR_std_vector_std_string_const_iterator_ConstructFromAnother(const MR_std_vector_std_string_const_iterator *other)
MRC_API void MR_std_vector_std_string_iterator_OffsetBy(MR_std_vector_std_string_iterator *_this, ptrdiff_t delta)
MRC_API const MR_std_vector_std_string_const_iterator * MR_std_vector_std_string_const_iterator_OffsetPtr(const MR_std_vector_std_string_const_iterator *ptr, ptrdiff_t i)
MRC_API bool MR_std_vector_std_string_IsEmpty(const MR_std_vector_std_string *_this)
MRC_API void MR_std_vector_std_string_iterator_Decr(MR_std_vector_std_string_iterator *_this)
MRC_API MR_std_vector_std_string_const_iterator * MR_std_vector_std_string_End(const MR_std_vector_std_string *_this)
MRC_API MR_std_vector_std_string_const_iterator * MR_std_vector_std_string_const_iterator_FromMutable(const MR_std_vector_std_string_iterator *iter)
MRC_API ptrdiff_t MR_std_vector_std_string_ToIndex(const MR_std_vector_std_string *_this, const MR_std_vector_std_string_const_iterator *iter)
MRC_API const MR_std_string * MR_std_vector_std_string_Front(const MR_std_vector_std_string *_this)
struct MR_std_vector_std_string_const_iterator MR_std_vector_std_string_const_iterator
Definition std_vector_std_string.h:22
MRC_API void MR_std_vector_std_string_const_iterator_OffsetBy(MR_std_vector_std_string_const_iterator *_this, ptrdiff_t delta)
MRC_API void MR_std_vector_std_string_Resize(MR_std_vector_std_string *_this, size_t new_size)
MRC_API void MR_std_vector_std_string_iterator_DestroyArray(const MR_std_vector_std_string_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_std_string_iterator. Does nothing if the pointer is ...
MRC_API ptrdiff_t MR_std_vector_std_string_const_iterator_Distance(const MR_std_vector_std_string_const_iterator *a, const MR_std_vector_std_string_const_iterator *b)
MRC_API void MR_std_vector_std_string_EraseAtIter(MR_std_vector_std_string *_this, const MR_std_vector_std_string_const_iterator *position)
MRC_API bool MR_std_vector_std_string_IsBegin(const MR_std_vector_std_string *_this, const MR_std_vector_std_string_const_iterator *iter)
MRC_API void MR_std_vector_std_string_InsertAtMutableIter(MR_std_vector_std_string *_this, const MR_std_vector_std_string_iterator *position, const char *new_elem, const char *new_elem_end)
struct MR_std_vector_std_string_iterator MR_std_vector_std_string_iterator
Definition std_vector_std_string.h:26
MRC_API MR_std_vector_std_string_const_iterator * MR_std_vector_std_string_Begin(const MR_std_vector_std_string *_this)
MRC_API MR_std_vector_std_string_iterator * MR_std_vector_std_string_iterator_ConstructFromAnother(const MR_std_vector_std_string_iterator *other)
MRC_API MR_std_vector_std_string * MR_std_vector_std_string_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_vector_std_string *other)
MRC_API MR_std_string * MR_std_vector_std_string_iterator_Deref(const MR_std_vector_std_string_iterator *_this)
MRC_API size_t MR_std_vector_std_string_Capacity(const MR_std_vector_std_string *_this)
MRC_API MR_std_vector_std_string_const_iterator * MR_std_vector_std_string_const_iterator_OffsetMutablePtr(MR_std_vector_std_string_const_iterator *ptr, ptrdiff_t i)
MRC_API MR_std_vector_std_string * MR_std_vector_std_string_OffsetMutablePtr(MR_std_vector_std_string *ptr, ptrdiff_t i)
MRC_API bool MR_std_vector_std_string_IsMutableEnd(MR_std_vector_std_string *_this, const MR_std_vector_std_string_iterator *iter)
MRC_API MR_std_vector_std_string_iterator * MR_std_vector_std_string_MutableBegin(MR_std_vector_std_string *_this)
MRC_API void MR_std_vector_std_string_ShrinkToFit(MR_std_vector_std_string *_this)
MRC_API MR_std_vector_std_string * MR_std_vector_std_string_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_string * MR_std_vector_std_string_MutableAt(MR_std_vector_std_string *_this, size_t i)
MRC_API void MR_std_vector_std_string_const_iterator_DestroyArray(const MR_std_vector_std_string_const_iterator *_this)
Destroys a heap-allocated array of MR_std_vector_std_string_const_iterator. Does nothing if the point...
MRC_API MR_std_string * MR_std_vector_std_string_MutableBack(MR_std_vector_std_string *_this)
MRC_API void MR_std_vector_std_string_PushBack(MR_std_vector_std_string *_this, const char *new_elem, const char *new_elem_end)
MRC_API bool MR_std_vector_std_string_IsMutableBegin(MR_std_vector_std_string *_this, const MR_std_vector_std_string_iterator *iter)
MRC_API void MR_std_vector_std_string_const_iterator_AssignFromAnother(MR_std_vector_std_string_const_iterator *_this, const MR_std_vector_std_string_const_iterator *other)
MRC_API void MR_std_vector_std_string_Insert(MR_std_vector_std_string *_this, size_t position, const char *new_elem, const char *new_elem_end)
MRC_API MR_std_vector_std_string_iterator * MR_std_vector_std_string_iterator_DefaultConstruct(void)
MRC_API void MR_std_vector_std_string_const_iterator_Incr(MR_std_vector_std_string_const_iterator *_this)
MRC_API MR_std_vector_std_string_const_iterator * MR_std_vector_std_string_const_iterator_DefaultConstruct(void)
MRC_API MR_std_string * MR_std_vector_std_string_MutableFront(MR_std_vector_std_string *_this)
MRC_API void MR_std_vector_std_string_const_iterator_Destroy(const MR_std_vector_std_string_const_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_std_string_const_iterator. Does nothing if the po...
MRC_API ptrdiff_t MR_std_vector_std_string_MutableToIndex(const MR_std_vector_std_string *_this, const MR_std_vector_std_string_iterator *iter)
MRC_API void MR_std_vector_std_string_const_iterator_Decr(MR_std_vector_std_string_const_iterator *_this)
MRC_API void MR_std_vector_std_string_Destroy(const MR_std_vector_std_string *_this)
Destroys a heap-allocated instance of MR_std_vector_std_string. Does nothing if the pointer is null.
MRC_API const MR_std_vector_std_string * MR_std_vector_std_string_OffsetPtr(const MR_std_vector_std_string *ptr, ptrdiff_t i)
MRC_API void MR_std_vector_std_string_PopBack(MR_std_vector_std_string *_this)
MRC_API void MR_std_vector_std_string_ResizeWithDefaultValue(MR_std_vector_std_string *_this, size_t new_size, const char *value, const char *value_end)
MRC_API MR_std_vector_std_string * MR_std_vector_std_string_DefaultConstruct(void)
MRC_API void MR_std_vector_std_string_iterator_Destroy(const MR_std_vector_std_string_iterator *_this)
Destroys a heap-allocated instance of MR_std_vector_std_string_iterator. Does nothing if the pointer ...
MRC_API MR_std_vector_std_string_iterator * MR_std_vector_std_string_iterator_DefaultConstructArray(size_t num_elems)
MRC_API const MR_std_vector_std_string_iterator * MR_std_vector_std_string_iterator_OffsetPtr(const MR_std_vector_std_string_iterator *ptr, ptrdiff_t i)
MRC_API ptrdiff_t MR_std_vector_std_string_iterator_Distance(const MR_std_vector_std_string_iterator *a, const MR_std_vector_std_string_iterator *b)
MRC_API void MR_std_vector_std_string_Reserve(MR_std_vector_std_string *_this, size_t new_capacity)
MRC_API void MR_std_vector_std_string_DestroyArray(const MR_std_vector_std_string *_this)
Destroys a heap-allocated array of MR_std_vector_std_string. Does nothing if the pointer is null.
MRC_API void MR_std_vector_std_string_Erase(MR_std_vector_std_string *_this, size_t position)
MRC_API bool MR_std_vector_std_string_IsEnd(const MR_std_vector_std_string *_this, const MR_std_vector_std_string_const_iterator *iter)
MRC_API const MR_std_string * MR_std_vector_std_string_const_iterator_Deref(const MR_std_vector_std_string_const_iterator *_this)
MRC_API const MR_std_string * MR_std_vector_std_string_Back(const MR_std_vector_std_string *_this)