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