HDK
|
This class defines all the data stored in segment of a file. More...
#include <IO.h>
Public Member Functions | |
Segment (Codec c=Codec::NONE) | |
template<typename BufferT > | |
void | add (const GridHandle< BufferT > &h) |
bool | read (std::istream &is) |
void | write (std::ostream &os) const |
uint64_t | memUsage () const |
Public Attributes | |
FileHeader | header |
std::vector< FileGridMetaData > | meta |
This class defines all the data stored in segment of a file.
A segment consists of a FileHeader followed by a list of FileGridMetaData each followed by grid names and then finally the grids themselves.
|
inline |
|
inline |
|
inline |
FileHeader nanovdb::io::Segment::header |
std::vector<FileGridMetaData> nanovdb::io::Segment::meta |