46 #ifndef _INCLUDED_Field3D_FieldMappingIO_H_ 47 #define _INCLUDED_Field3D_FieldMappingIO_H_ 71 typedef boost::intrusive_ptr<FieldMappingIO>
Ptr;
81 return "FieldMappingIO";
117 virtual std::string
className()
const = 0;
145 typedef boost::intrusive_ptr<NullFieldMappingIO>
Ptr;
154 return "NullFieldMappingIO";
217 typedef boost::intrusive_ptr<MatrixFieldMappingIO>
Ptr;
226 return "MatrixFieldMappingIO";
289 typedef boost::intrusive_ptr<FrustumFieldMappingIO>
Ptr;
298 return "FrustumFieldMappingIO";
349 #endif // Include guard #define FIELD3D_NAMESPACE_HEADER_CLOSE
boost::intrusive_ptr< FieldMappingIO > Ptr
static const char * staticClassType()
DEFINE_FIELD_RTTI_CONCRETE_CLASS
MatrixFieldMappingIO class_type
Contains forward declarations for Ogawa classes.
virtual FieldMapping::Ptr read(hid_t mappingGroup)=0
Read the field at the given hdf5 group.
virtual FieldMapping::Ptr read(hid_t mappingGroup)
Reads the field mapping and tries to create a NullFieldMapping object from it.
DEFINE_FIELD_RTTI_CONCRETE_CLASS
static const char * staticClassType()
virtual bool write(hid_t mappingGroup, FieldMapping::Ptr mapping)
Writes the given field mapping to disk.
FieldMappingIO base
Convenience typedef for referring to base class.
boost::intrusive_ptr< NullFieldMappingIO > Ptr
virtual std::string className() const =0
Returns the class name. This is used when registering the class in the ClassFactory.
RefBase base
Convenience typedef for referring to base class.
boost::intrusive_ptr< FieldMapping > Ptr
virtual std::string className() const
Returns the class name.
FieldMappingIO class_type
virtual ~FieldMappingIO()
Dtor.
static const char * staticClassType()
RTTI replacement.
FrustumFieldMappingIO()
Ctor.
virtual std::string className() const
Returns the class name.
Contains the FieldMapping base class and the NullFieldMapping and MatrixFieldMapping subclasses...
boost::intrusive_ptr< FrustumFieldMappingIO > Ptr
MatrixFieldMappingIO()
Ctor.
virtual bool write(hid_t mappingGroup, FieldMapping::Ptr mapping)
Writes the given field mapping to disk.
FieldMappingIO base
Convenience typedef for referring to base class.
NullFieldMappingIO class_type
DEFINE_FIELD_RTTI_CONCRETE_CLASS
FieldMappingIO base
Convenience typedef for referring to base class.
static FieldMappingIO::Ptr create()
DEFINE_FIELD_RTTI_ABSTRACT_CLASS
static const char * staticClassType()
virtual bool write(hid_t mappingGroup, FieldMapping::Ptr mapping)
Writes the given field mapping to disk.
boost::intrusive_ptr< MatrixFieldMappingIO > Ptr
virtual bool write(hid_t mappingGroup, FieldMapping::Ptr mapping)=0
Write the field to the given mapping group.
virtual FieldMapping::Ptr read(hid_t mappingGroup)
Reads the field mapping and tries to create a FrustumFieldMapping object from it. ...
NullFieldMappingIO()
Ctor.
static FieldMappingIO::Ptr create()
virtual FieldMapping::Ptr read(hid_t mappingGroup)
Reads the field mapping and tries to create a MatrixFieldMapping object from it.
virtual std::string className() const
Returns the class name.
static FieldMappingIO::Ptr create()
FrustumFieldMappingIO class_type