Field3D
|
#include <FieldIO.h>
Public Types | |
typedef FieldIO | class_type |
typedef boost::intrusive_ptr< FieldIO > | Ptr |
![]() | |
typedef boost::intrusive_ptr< RefBase > | Ptr |
typedef boost::weak_ptr< RefBase > | WeakPtr |
Public Member Functions | |
virtual std::string | className () const =0 |
Returns the class name. This is used when registering the class to the FieldIOFactory object. More... | |
FieldIO () | |
Ctor. More... | |
virtual FieldBase::Ptr | read (hid_t layerGroup, const std::string &filename, const std::string &layerPath, DataTypeEnum typeEnum)=0 |
Read the field at the given hdf5 group. More... | |
virtual bool | write (hid_t layerGroup, FieldBase::Ptr field)=0 |
Write the field to the given layer group. More... | |
virtual | ~FieldIO () |
Dtor. More... | |
![]() | |
void | ref () const |
Used by boost::intrusive_pointer. More... | |
size_t | refcnt () |
Used by boost::intrusive_pointer. More... | |
void | unref () const |
Used by boost::intrusive_pointer. More... | |
WeakPtr | weakPtr () const |
RefBase () | |
RefBase (const RefBase &) | |
Copy constructor. More... | |
RefBase & | operator= (const RefBase &) |
Assignment operator. More... | |
virtual | ~RefBase () |
Destructor. More... | |
virtual bool | checkRTTI (const char *typenameStr)=0 |
This function is only implemented by concrete classes and triggers the actual RTTI check through matchRTTI();. More... | |
bool | matchRTTI (const char *typenameStr) |
Performs a check to see if the given typename string matches this class' This needs to be implemented in -all- subclasses, even abstract ones. More... | |
Static Public Member Functions | |
static const char * | staticClassType () |
![]() | |
static const char * | staticClassType () |
Public Attributes | |
DEFINE_FIELD_RTTI_ABSTRACT_CLASS | |
Private Types | |
typedef RefBase | base |
Convenience typedef for referring to base class. More... | |
A creation class. The application needs to derive from this class for any new voxel field data structions. Within the read and write methods it is expected that the derived object knows how to read and write to an hdf5 file through the layerGroup id.
typedef boost::intrusive_ptr<FieldIO> FieldIO::Ptr |
typedef FieldIO FieldIO::class_type |
|
private |
|
inline |
Ctor.
|
inlinevirtual |
|
inlinestatic |
|
pure virtual |
Read the field at the given hdf5 group.
Implemented in SparseFieldIO, DenseFieldIO, MACFieldIO, and MIPFieldIO.
Referenced by ~FieldIO().
|
pure virtual |
Write the field to the given layer group.
Implemented in MIPFieldIO, SparseFieldIO, DenseFieldIO, and MACFieldIO.
Referenced by ~FieldIO().
|
pure virtual |
Returns the class name. This is used when registering the class to the FieldIOFactory object.
Implemented in MIPFieldIO, SparseFieldIO, DenseFieldIO, and MACFieldIO.
Referenced by ~FieldIO().