Field3D
|
#include <FieldMappingIO.h>
Public Types | |
typedef MatrixFieldMappingIO | class_type |
typedef boost::intrusive_ptr< MatrixFieldMappingIO > | Ptr |
![]() | |
typedef FieldMappingIO | class_type |
typedef boost::intrusive_ptr< FieldMappingIO > | Ptr |
![]() | |
typedef boost::intrusive_ptr< RefBase > | Ptr |
typedef boost::weak_ptr< RefBase > | WeakPtr |
Public Member Functions | |
virtual std::string | className () const |
Returns the class name. | |
MatrixFieldMappingIO () | |
Ctor. | |
virtual FieldMapping::Ptr | read (const OgIGroup &mappingGroup) |
Reads the field mapping and tries to create a MatrixFieldMapping object from it. | |
virtual FieldMapping::Ptr | read (hid_t mappingGroup) |
Reads the field mapping and tries to create a MatrixFieldMapping object from it. | |
virtual bool | write (hid_t mappingGroup, FieldMapping::Ptr mapping) |
Writes the given field mapping to disk. | |
virtual bool | write (OgOGroup &mappingGroup, FieldMapping::Ptr mapping) |
Writes the given field mapping to disk. | |
![]() | |
FieldMappingIO () | |
Ctor. | |
virtual | ~FieldMappingIO () |
Dtor. | |
![]() | |
void | ref () const |
Used by boost::intrusive_pointer. | |
size_t | refcnt () |
Used by boost::intrusive_pointer. | |
void | unref () const |
Used by boost::intrusive_pointer. | |
WeakPtr | weakPtr () const |
RefBase () | |
RefBase (const RefBase &) | |
Copy constructor. | |
RefBase & | operator= (const RefBase &) |
Assignment operator. | |
virtual | ~RefBase () |
Destructor. | |
virtual bool | checkRTTI (const char *typenameStr)=0 |
This function is only implemented by concrete classes and triggers the actual RTTI check through matchRTTI();. | |
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. | |
Static Public Member Functions | |
static FieldMappingIO::Ptr | create () |
static const char * | staticClassType () |
![]() | |
static const char * | staticClassType () |
RTTI replacement. | |
![]() | |
static const char * | staticClassType () |
Public Attributes | |
DEFINE_FIELD_RTTI_CONCRETE_CLASS | |
![]() | |
DEFINE_FIELD_RTTI_ABSTRACT_CLASS | |
Private Types | |
typedef FieldMappingIO | base |
Convenience typedef for referring to base class. | |
Handles IO for a MatrixFieldMapping object
Definition at line 210 of file FieldMappingIO.h.
typedef boost::intrusive_ptr<MatrixFieldMappingIO> MatrixFieldMappingIO::Ptr |
Definition at line 217 of file FieldMappingIO.h.
Definition at line 221 of file FieldMappingIO.h.
Convenience typedef for referring to base class.
Definition at line 267 of file FieldMappingIO.h.
|
inline |
Definition at line 224 of file FieldMappingIO.h.
|
inlinestatic |
Definition at line 236 of file FieldMappingIO.h.
Referenced by initIO().
|
virtual |
Reads the field mapping and tries to create a MatrixFieldMapping object from it.
Implements FieldMappingIO.
Definition at line 148 of file FieldMappingIO.cpp.
References FIELD3D_MTX_T, Msg::print(), Hdf5Util::readAttribute(), and Msg::SevWarning.
|
virtual |
Reads the field mapping and tries to create a MatrixFieldMapping object from it.
Implements FieldMappingIO.
Definition at line 204 of file FieldMappingIO.cpp.
References FIELD3D_MTX_T, Msg::print(), and Msg::SevWarning.
|
virtual |
Writes the given field mapping to disk.
Implements FieldMappingIO.
Definition at line 250 of file FieldMappingIO.cpp.
References FIELD3D_MTX_T, Msg::print(), Msg::SevWarning, and Hdf5Util::writeAttribute().
|
virtual |
Writes the given field mapping to disk.
Implements FieldMappingIO.
Definition at line 297 of file FieldMappingIO.cpp.
References FIELD3D_MTX_T, Msg::print(), and Msg::SevWarning.
|
virtual |
Returns the class name.
Implements FieldMappingIO.
Definition at line 334 of file FieldMappingIO.cpp.
MatrixFieldMappingIO::DEFINE_FIELD_RTTI_CONCRETE_CLASS |
Definition at line 222 of file FieldMappingIO.h.