46 #ifndef _INCLUDED_Field3D_FieldMappingIO_H_
47 #define _INCLUDED_Field3D_FieldMappingIO_H_
70 typedef boost::intrusive_ptr<FieldMappingIO>
Ptr;
80 return "FieldMappingIO";
107 virtual std::string
className()
const = 0;
135 typedef boost::intrusive_ptr<NullFieldMappingIO>
Ptr;
144 return "NullFieldMappingIO";
198 typedef boost::intrusive_ptr<MatrixFieldMappingIO>
Ptr;
207 return "MatrixFieldMappingIO";
261 typedef boost::intrusive_ptr<FrustumFieldMappingIO>
Ptr;
270 return "FrustumFieldMappingIO";
312 #endif // Include guard
#define FIELD3D_NAMESPACE_HEADER_CLOSE
boost::intrusive_ptr< FieldMappingIO > Ptr
DEFINE_FIELD_RTTI_CONCRETE_CLASS
MatrixFieldMappingIO class_type
virtual FieldMapping::Ptr read(hid_t mappingGroup)=0
Read the field at the given hdf5 group.
static const char * classType()
RTTI replacement.
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
virtual std::string className() const
Returns the class name.
virtual std::string className() const
Returns the class name.
static const char * classType()
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
FieldMappingIO class_type
virtual ~FieldMappingIO()
Dtor.
FrustumFieldMappingIO()
Ctor.
static const char * classType()
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
virtual bool write(hid_t mappingGroup, FieldMapping::Ptr mapping)
Writes the given field mapping to disk.
boost::intrusive_ptr< MatrixFieldMappingIO > Ptr
virtual std::string className() const
Returns the class name.
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 const char * classType()
static FieldMappingIO::Ptr create()
virtual FieldMapping::Ptr read(hid_t mappingGroup)
Reads the field mapping and tries to create a MatrixFieldMapping object from it.
static FieldMappingIO::Ptr create()
FrustumFieldMappingIO class_type