|
| Chunk4 (size_t const &size) |
| Constructor.
|
|
| ~Chunk4 () |
| 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, Data4 *&pointer4) |
|
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, Data4 const &value4) |
| provided.
|
|
void | readData (FileIo &handle) |
| Read data from the FileIo handle.
|
|
void | swap (Chunk4< Data1, Data2, Data3, Data4 > &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, typename Data4>
struct codi::Chunk4< Data1, Data2, Data3, Data4 >
@ brief Chunk with four entries per item.
- Template Parameters
-
template<typename Data1 , typename Data2 , typename Data3 , typename Data4 >
void codi::Chunk4< Data1, Data2, Data3, Data4 >::erase |
( |
size_t const & | start, |
|
|
size_t const & | end ) |
|
inlinevirtual |