|
Field3D
|
#include <FieldMappingIO.h>
Public Types | |
| typedef FrustumFieldMappingIO | class_type |
| typedef boost::intrusive_ptr< FrustumFieldMappingIO > | Ptr |
Public Types inherited from FieldMappingIO | |
| typedef FieldMappingIO | class_type |
| typedef boost::intrusive_ptr< FieldMappingIO > | Ptr |
Public Types inherited from RefBase | |
| typedef boost::intrusive_ptr< RefBase > | Ptr |
| typedef boost::weak_ptr< RefBase > | WeakPtr |
Public Member Functions | |
| virtual std::string | className () const |
| Returns the class name. More... | |
| FrustumFieldMappingIO () | |
| Ctor. More... | |
| virtual FieldMapping::Ptr | read (const OgIGroup &mappingGroup) |
| Reads the field mapping and tries to create a FrustumFieldMapping object from it. More... | |
| virtual FieldMapping::Ptr | read (hid_t mappingGroup) |
| Reads the field mapping and tries to create a FrustumFieldMapping object from it. More... | |
| virtual bool | write (hid_t mappingGroup, FieldMapping::Ptr mapping) |
| Writes the given field mapping to disk. More... | |
| virtual bool | write (OgOGroup &mappingGroup, FieldMapping::Ptr mapping) |
| Writes the given field mapping to disk. More... | |
Public Member Functions inherited from FieldMappingIO | |
| virtual std::string | className () const =0 |
| Returns the class name. This is used when registering the class in the ClassFactory. More... | |
| FieldMappingIO () | |
| Ctor. More... | |
| virtual FieldMapping::Ptr | read (const OgIGroup &mappingGroup)=0 |
| Read the field at the given hdf5 group. More... | |
| virtual FieldMapping::Ptr | read (hid_t mappingGroup)=0 |
| Read the field at the given hdf5 group. More... | |
| virtual bool | write (hid_t mappingGroup, FieldMapping::Ptr mapping)=0 |
| Write the field to the given mapping group. More... | |
| virtual bool | write (OgOGroup &mappingGroup, FieldMapping::Ptr mapping)=0 |
| Write the field to the given mapping group. More... | |
| virtual | ~FieldMappingIO () |
| Dtor. More... | |
Public Member Functions inherited from RefBase | |
| 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 FieldMappingIO::Ptr | create () |
| static const char * | staticClassType () |
Static Public Member Functions inherited from FieldMappingIO | |
| static const char * | staticClassType () |
| RTTI replacement. More... | |
Static Public Member Functions inherited from RefBase | |
| static const char * | staticClassType () |
Public Attributes | |
| DEFINE_FIELD_RTTI_CONCRETE_CLASS | |
Public Attributes inherited from FieldMappingIO | |
| DEFINE_FIELD_RTTI_ABSTRACT_CLASS | |
Private Types | |
| typedef FieldMappingIO | base |
| Convenience typedef for referring to base class. More... | |
Handles IO for a FrustumFieldMapping object
Definition at line 282 of file FieldMappingIO.h.
| typedef boost::intrusive_ptr<FrustumFieldMappingIO> FrustumFieldMappingIO::Ptr |
Definition at line 289 of file FieldMappingIO.h.
Definition at line 293 of file FieldMappingIO.h.
|
private |
Convenience typedef for referring to base class.
Definition at line 339 of file FieldMappingIO.h.
|
inline |
|
inlinestatic |
Definition at line 296 of file FieldMappingIO.h.
|
inlinestatic |
Definition at line 308 of file FieldMappingIO.h.
Referenced by initIO().
|
virtual |
Reads the field mapping and tries to create a FrustumFieldMapping object from it.
Implements FieldMappingIO.
Definition at line 344 of file FieldMappingIO.cpp.
References FrustumFieldMapping::PerspectiveDistribution, Msg::print(), Hdf5Util::readAttribute(), and Msg::SevWarning.
|
virtual |
Reads the field mapping and tries to create a FrustumFieldMapping object from it.
Implements FieldMappingIO.
Definition at line 414 of file FieldMappingIO.cpp.
References FrustumFieldMapping::PerspectiveDistribution, Msg::print(), and Msg::SevWarning.
|
virtual |
Writes the given field mapping to disk.
Implements FieldMappingIO.
Definition at line 491 of file FieldMappingIO.cpp.
References Msg::print(), Msg::SevWarning, and Hdf5Util::writeAttribute().
|
virtual |
Writes the given field mapping to disk.
Implements FieldMappingIO.
Definition at line 557 of file FieldMappingIO.cpp.
References Msg::print(), and Msg::SevWarning.
|
virtual |
Returns the class name.
Implements FieldMappingIO.
Definition at line 605 of file FieldMappingIO.cpp.
References FIELD3D_NAMESPACE_OPEN::k_frustumMappingName().
| FrustumFieldMappingIO::DEFINE_FIELD_RTTI_CONCRETE_CLASS |
Definition at line 294 of file FieldMappingIO.h.