Go to the source code of this file.
Typedefs | |
| typedef struct MR_IteratorRange_MR_ChunkIterator | MR_IteratorRange_MR_ChunkIterator |
| typedef struct MR_Chunk | MR_Chunk |
| typedef struct MR_ChunkIterator | MR_ChunkIterator |
array chunk representation Generated from class MR::Chunk. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| typedef struct MR_ChunkIterator MR_ChunkIterator |
iterator class for array chunks Generated from class MR::ChunkIterator. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
Generated from method MR::Chunk::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_Chunk * MR_Chunk_ConstructFrom | ( | MR_uint64_t | offset, |
| MR_uint64_t | size ) |
Constructs MR::Chunk elementwise. The reference to the parameter offset might be preserved in the constructed object. The reference to the parameter size might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Chunk_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
Generated from constructor MR::Chunk::Chunk. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Chunk_Destroy() to free it when you're done using it.
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Chunk_Destroy() to free it when you're done using it.
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_Chunk_DestroyArray(). Use MR_Chunk_OffsetMutablePtr() and MR_Chunk_OffsetPtr() to access the array elements.
Destroys a heap-allocated instance of MR_Chunk. Does nothing if the pointer is null.
Destroys a heap-allocated array of MR_Chunk. Does nothing if the pointer is null.
| MRC_API const MR_uint64_t * MR_Chunk_Get_offset | ( | const MR_Chunk * | _this | ) |
chunk offset Returns a pointer to a member variable of class MR::Chunk named offset. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_uint64_t * MR_Chunk_Get_size | ( | const MR_Chunk * | _this | ) |
chunk size; the last chunk's size may be smaller than other chunk's ones Returns a pointer to a member variable of class MR::Chunk named size. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_uint64_t * MR_Chunk_GetMutable_offset | ( | MR_Chunk * | _this | ) |
chunk offset Returns a mutable pointer to a member variable of class MR::Chunk named offset. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_uint64_t * MR_Chunk_GetMutable_size | ( | MR_Chunk * | _this | ) |
chunk size; the last chunk's size may be smaller than other chunk's ones Returns a mutable pointer to a member variable of class MR::Chunk named size. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_Chunk_Set_offset | ( | MR_Chunk * | _this, |
| MR_uint64_t | value ) |
chunk offset Modifies a member variable of class MR::Chunk named offset. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element offset. When this function is called, this object will drop object references it had previously in offset.
| MRC_API void MR_Chunk_Set_size | ( | MR_Chunk * | _this, |
| MR_uint64_t | value ) |
chunk size; the last chunk's size may be smaller than other chunk's ones Modifies a member variable of class MR::Chunk named size. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element size. When this function is called, this object will drop object references it had previously in size.
| MRC_API MR_uint64_t MR_chunkCount | ( | MR_uint64_t | totalSize, |
| MR_uint64_t | chunkSize, | ||
| const MR_uint64_t * | overlap ) |
returns the amount of chunks of given size required to cover the full array Generated from function MR::chunkCount. Parameter overlap has a default argument: 0, pass a null pointer to use it.
| MRC_API MR_Chunk * MR_ChunkIterator_arrow | ( | const MR_ChunkIterator * | _this | ) |
Generated from method MR::ChunkIterator::operator->. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_Chunk_Destroy() to free it when you're done using it.
| MRC_API MR_ChunkIterator * MR_ChunkIterator_AssignFromAnother | ( | MR_ChunkIterator * | _this, |
| const MR_ChunkIterator * | _other ) |
Generated from method MR::ChunkIterator::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_ChunkIterator * MR_ChunkIterator_ConstructFrom | ( | MR_uint64_t | totalSize, |
| MR_uint64_t | chunkSize, | ||
| MR_uint64_t | overlap, | ||
| MR_uint64_t | index ) |
Constructs MR::ChunkIterator elementwise. The reference to the parameter totalSize might be preserved in the constructed object. The reference to the parameter chunkSize might be preserved in the constructed object. The reference to the parameter overlap might be preserved in the constructed object. The reference to the parameter index might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChunkIterator_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_ChunkIterator * MR_ChunkIterator_ConstructFromAnother | ( | const MR_ChunkIterator * | _other | ) |
Generated from constructor MR::ChunkIterator::ChunkIterator. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChunkIterator_Destroy() to free it when you're done using it.
| MRC_API MR_ChunkIterator * MR_ChunkIterator_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_ChunkIterator_Destroy() to free it when you're done using it.
| MRC_API MR_ChunkIterator * MR_ChunkIterator_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_ChunkIterator_DestroyArray(). Use MR_ChunkIterator_OffsetMutablePtr() and MR_ChunkIterator_OffsetPtr() to access the array elements.
| MRC_API void MR_ChunkIterator_Destroy | ( | const MR_ChunkIterator * | _this | ) |
Destroys a heap-allocated instance of MR_ChunkIterator. Does nothing if the pointer is null.
| MRC_API void MR_ChunkIterator_DestroyArray | ( | const MR_ChunkIterator * | _this | ) |
Destroys a heap-allocated array of MR_ChunkIterator. Does nothing if the pointer is null.
| MRC_API const MR_uint64_t * MR_ChunkIterator_Get_chunkSize | ( | const MR_ChunkIterator * | _this | ) |
Returns a pointer to a member variable of class MR::ChunkIterator named chunkSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_uint64_t * MR_ChunkIterator_Get_index | ( | const MR_ChunkIterator * | _this | ) |
Returns a pointer to a member variable of class MR::ChunkIterator named index. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_uint64_t * MR_ChunkIterator_Get_overlap | ( | const MR_ChunkIterator * | _this | ) |
Returns a pointer to a member variable of class MR::ChunkIterator named overlap. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const MR_uint64_t * MR_ChunkIterator_Get_totalSize | ( | const MR_ChunkIterator * | _this | ) |
Returns a pointer to a member variable of class MR::ChunkIterator named totalSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_uint64_t * MR_ChunkIterator_GetMutable_chunkSize | ( | MR_ChunkIterator * | _this | ) |
Returns a mutable pointer to a member variable of class MR::ChunkIterator named chunkSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_uint64_t * MR_ChunkIterator_GetMutable_index | ( | MR_ChunkIterator * | _this | ) |
Returns a mutable pointer to a member variable of class MR::ChunkIterator named index. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_uint64_t * MR_ChunkIterator_GetMutable_overlap | ( | MR_ChunkIterator * | _this | ) |
Returns a mutable pointer to a member variable of class MR::ChunkIterator named overlap. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_uint64_t * MR_ChunkIterator_GetMutable_totalSize | ( | MR_ChunkIterator * | _this | ) |
Returns a mutable pointer to a member variable of class MR::ChunkIterator named totalSize. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ChunkIterator * MR_ChunkIterator_OffsetMutablePtr | ( | MR_ChunkIterator * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_ChunkIterator * MR_ChunkIterator_OffsetPtr | ( | const MR_ChunkIterator * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_ChunkIterator_Set_chunkSize | ( | MR_ChunkIterator * | _this, |
| MR_uint64_t | value ) |
Modifies a member variable of class MR::ChunkIterator named chunkSize. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element chunkSize. When this function is called, this object will drop object references it had previously in chunkSize.
| MRC_API void MR_ChunkIterator_Set_index | ( | MR_ChunkIterator * | _this, |
| MR_uint64_t | value ) |
Modifies a member variable of class MR::ChunkIterator named index. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element index. When this function is called, this object will drop object references it had previously in index.
| MRC_API void MR_ChunkIterator_Set_overlap | ( | MR_ChunkIterator * | _this, |
| MR_uint64_t | value ) |
Modifies a member variable of class MR::ChunkIterator named overlap. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element overlap. When this function is called, this object will drop object references it had previously in overlap.
| MRC_API void MR_ChunkIterator_Set_totalSize | ( | MR_ChunkIterator * | _this, |
| MR_uint64_t | value ) |
Modifies a member variable of class MR::ChunkIterator named totalSize. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element totalSize. When this function is called, this object will drop object references it had previously in totalSize.
| MRC_API MR_Chunk * MR_deref_MR_ChunkIterator | ( | const MR_ChunkIterator * | _this | ) |
Generated from method MR::ChunkIterator::operator*. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_Chunk_Destroy() to free it when you're done using it.
| MRC_API bool MR_equal_MR_ChunkIterator | ( | const MR_ChunkIterator * | _this, |
| const MR_ChunkIterator * | other ) |
Generated from method MR::ChunkIterator::operator==. Parameter _this can not be null. It is a single object. Parameter other can not be null. It is a single object.
| MRC_API MR_ChunkIterator * MR_incr_MR_ChunkIterator | ( | MR_ChunkIterator * | _this | ) |
Generated from method MR::ChunkIterator::operator++. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_ChunkIterator * MR_post_incr_MR_ChunkIterator | ( | MR_ChunkIterator * | _this | ) |
Generated from method MR::ChunkIterator::operator++. Parameter _this can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_ChunkIterator_Destroy() to free it when you're done using it.
| MRC_API MR_IteratorRange_MR_ChunkIterator * MR_splitByChunks | ( | MR_uint64_t | totalSize, |
| MR_uint64_t | chunkSize, | ||
| const MR_uint64_t * | overlap ) |
returns a pair of iterators for chunks covering the array of given size Generated from function MR::splitByChunks. Parameter overlap has a default argument: 0, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_IteratorRange_MR_ChunkIterator_Destroy() to free it when you're done using it.