Go to the source code of this file.
Classes | |
class | UniqueStorage< T > |
Storage container that stores a vector of unique pointers of T, but represents most of the public facing accessors (iterators, operator[]) as a vector of T. More... | |
class | UniqueStorage< T > |
Storage container that stores a vector of unique pointers of T, but represents most of the public facing accessors (iterators, operator[]) as a vector of T. More... | |
struct | UniqueStorage< T >::DereferenceIterator< BaseIterator > |
Iterator that adds an additional dereference to BaseIterator. More... | |
Functions | |
template<typename T > | |
void | storeHelper (std::ostream &stream, UniqueStorage< T > &, void *) |
UniqueStorage helper routine. More... | |
template<typename T > | |
void | loadHelper (std::istream &stream, UniqueStorage< T > &, void *) |
UniqueStorage helper routine. More... | |
|
inline |
UniqueStorage helper routine.
UniqueStorage Helper Function.
The unique_ptr<T> loader is called to load the data. That is, you will likely need a specialization of unique_ptr<T> that will appropriately construct and then fill the piece of data.
Definition at line 1063 of file DataIO.h.
|
inline |
UniqueStorage helper routine.
The data within the UniqueStorage object cannot be null. The helper for unique_ptr<T> is called to store the data.
Definition at line 970 of file DataIO.h.