HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nanovdb::io::FileGridMetaData Struct Reference

This class defines the meta data stored for each grid in a segment. More...

#include <IO.h>

+ Inheritance diagram for nanovdb::io::FileGridMetaData:

Public Member Functions

void read (std::istream &is)
 
void write (std::ostream &os) const
 
 FileGridMetaData ()
 
template<typename ValueT >
 FileGridMetaData (uint64_t size, Codec c, const NanoGrid< ValueT > &grid)
 
uint64_t memUsage () const
 

Public Attributes

std::string gridName
 

Detailed Description

This class defines the meta data stored for each grid in a segment.

A segment consists of a FileHeader followed by a list of FileGridMetaData each followed by grid names and then finally the grids themselves.

Note
This class should not be confused with nanovdb::GridMetaData defined in NanoVDB.h Also, FileMetaData is defined in NanoVDB.h.

Definition at line 151 of file IO.h.

Constructor & Destructor Documentation

nanovdb::io::FileGridMetaData::FileGridMetaData ( )
inline

Definition at line 157 of file IO.h.

template<typename ValueT >
nanovdb::io::FileGridMetaData::FileGridMetaData ( uint64_t  size,
Codec  c,
const NanoGrid< ValueT > &  grid 
)
inline

Definition at line 316 of file IO.h.

Member Function Documentation

uint64_t nanovdb::io::FileGridMetaData::memUsage ( ) const
inline

Definition at line 160 of file IO.h.

void nanovdb::io::FileGridMetaData::read ( std::istream &  is)
inline

Definition at line 348 of file IO.h.

void nanovdb::io::FileGridMetaData::write ( std::ostream &  os) const
inline

Definition at line 341 of file IO.h.

Member Data Documentation

std::string nanovdb::io::FileGridMetaData::gridName

Definition at line 153 of file IO.h.


The documentation for this struct was generated from the following file: