Field3D
|
#include <FieldMappingIO.h>
Public Types | |
typedef FrustumFieldMappingIO | class_type |
typedef boost::intrusive_ptr < FrustumFieldMappingIO > | Ptr |
![]() | |
typedef FieldMappingIO | class_type |
typedef boost::intrusive_ptr < FieldMappingIO > | Ptr |
![]() | |
typedef boost::intrusive_ptr < RefBase > | Ptr |
Public Member Functions | |
virtual std::string | className () const |
Returns the class name. | |
FrustumFieldMappingIO () | |
Ctor. | |
virtual FieldMapping::Ptr | read (hid_t mappingGroup) |
Reads the field mapping and tries to create a FrustumFieldMapping object from it. | |
virtual bool | write (hid_t 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. | |
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 const char * | classType () |
RTTI replacement. | |
static FieldMappingIO::Ptr | create () |
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 FrustumFieldMapping object
Definition at line 254 of file FieldMappingIO.h.
typedef boost::intrusive_ptr<FrustumFieldMappingIO> FrustumFieldMappingIO::Ptr |
Definition at line 261 of file FieldMappingIO.h.
Definition at line 265 of file FieldMappingIO.h.
|
private |
Convenience typedef for referring to base class.
Definition at line 302 of file FieldMappingIO.h.
|
inline |
|
inlinestatic |
RTTI replacement.
Reimplemented from FieldMappingIO.
Definition at line 268 of file FieldMappingIO.h.
|
inlinestatic |
|
virtual |
Reads the field mapping and tries to create a FrustumFieldMapping object from it.
Implements FieldMappingIO.
Definition at line 234 of file FieldMappingIO.cpp.
References FrustumFieldMapping::PerspectiveDistribution, Msg::print(), Hdf5Util::readAttribute(), and Msg::SevWarning.
|
virtual |
Writes the given field mapping to disk.
Implements FieldMappingIO.
Definition at line 304 of file FieldMappingIO.cpp.
References Msg::print(), Msg::SevWarning, and Hdf5Util::writeAttribute().
|
virtual |
Returns the class name.
Implements FieldMappingIO.
Definition at line 369 of file FieldMappingIO.cpp.
References FIELD3D_NAMESPACE_OPEN::k_frustumMappingName().
FrustumFieldMappingIO::DEFINE_FIELD_RTTI_CONCRETE_CLASS |
Definition at line 266 of file FieldMappingIO.h.