|
| inlineChunk3 (size_t const &size) |
| Constructor.
|
|
inline | ~Chunk3 () |
| Destructor.
|
|
inlineexplicit | ChunkBase (size_t const &size) |
| Constructor.
|
|
inlinevirtual | ~ChunkBase () |
| Destructor.
|
|
template<typename... Data> |
inlinevoid | pushData (Data &&... dataEntries) |
| provided.
|
|
template<typename... Pointers> |
inlinevoid | dataPointer (size_t const &index, Pointers *&... pointers) |
|
inlinevoid | swap (ImplProxy &other) |
| Swap data with other chunk of the same type.
|
|
inlinesize_t | getSize () const |
| Get the allocated size.
|
|
inlinesize_t | getUnusedSize () const |
| Number of unused data items.
|
|
inlinesize_t | getUsedSize () const |
| Number of used data items.
|
|
inlinevoid | reset () |
| Sets the number of used items to zero.
|
|
inlinevoid | resize (size_t newSize) |
| Resize the allocated data. Stored data is lost. Used size is set to zero.
|
|
inlinevoid | setUsedSize (size_t const &usage) |
| Set the used size.
|
|
|
static size_t constexpr | EntrySize |
| Total size of all data in one entry.
|
|
inlinevoid | allocateData () |
| Allocated the data if it was deallocated before.
|
|
inlinevoid | dataPointer (size_t const &index, Data1 *&pointer1, Data2 *&pointer2, Data3 *&pointer3) |
|
inlinevoid | deleteData () |
| Delete the allocated data.
|
|
void | erase (size_t const &start, size_t const &end) |
| Erase data items start, ..., end - 1.
|
|
inlinevoid | pushData (Data1 const &value1, Data2 const &value2, Data3 const &value3) |
| provided.
|
|
inlinevoid | readData (FileIo &handle) |
| Read data from the FileIo handle.
|
|
inlinevoid | swap (Chunk3< Data1, Data2, Data3 > &other) |
| Swap data with other chunk of the same type.
|
|
inlinevoid | writeData (FileIo &handle) const |
| Write data to the FileIo handle.
|
|
template<typename Data1, typename Data2, typename Data3>
struct codi::Chunk3< Data1, Data2, Data3 >
@ brief Chunk with three entries per item.
- Template Parameters
-