Go to the documentation of this file.
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
static FieldMappingIO::Ptr create()
DEFINE_FIELD_RTTI_CONCRETE_CLASS
virtual std::string className() const =0
Returns the class name. This is used when registering the class in the ClassFactory.
static FieldMappingIO::Ptr create()
static const char * staticClassType()
virtual std::string className() const
Returns the class name.
MatrixFieldMappingIO()
Ctor.
DEFINE_FIELD_RTTI_ABSTRACT_CLASS
boost::intrusive_ptr< FieldMappingIO > Ptr
virtual bool write(hid_t mappingGroup, FieldMapping::Ptr mapping)
Writes the given field mapping to disk.
virtual std::string className() const
Returns the class name.
FrustumFieldMappingIO()
Ctor.
boost::intrusive_ptr< FieldMapping > Ptr
virtual bool write(hid_t mappingGroup, FieldMapping::Ptr mapping)=0
Write the field to the given mapping group.
NullFieldMappingIO()
Ctor.
DEFINE_FIELD_RTTI_CONCRETE_CLASS
Contains the FieldMapping base class and the NullFieldMapping and MatrixFieldMapping subclasses.
virtual FieldMapping::Ptr read(hid_t mappingGroup)=0
Read the field at the given hdf5 group.
boost::intrusive_ptr< MatrixFieldMappingIO > Ptr
FieldMappingIO base
Convenience typedef for referring to base class.
static const char * staticClassType()
RTTI replacement.
boost::intrusive_ptr< FrustumFieldMappingIO > Ptr
FieldMappingIO base
Convenience typedef for referring to base class.
Contains forward declarations for Ogawa classes.
static const char * staticClassType()
RefBase base
Convenience typedef for referring to base class.
virtual std::string className() const
Returns the class name.
DEFINE_FIELD_RTTI_CONCRETE_CLASS
static FieldMappingIO::Ptr create()
virtual FieldMapping::Ptr read(hid_t mappingGroup)
Reads the field mapping and tries to create a NullFieldMapping object from it.
virtual FieldMapping::Ptr read(hid_t mappingGroup)
Reads the field mapping and tries to create a FrustumFieldMapping object from it.
virtual FieldMapping::Ptr read(hid_t mappingGroup)
Reads the field mapping and tries to create a MatrixFieldMapping object from it.
FrustumFieldMappingIO class_type
MatrixFieldMappingIO class_type
FieldMappingIO class_type
NullFieldMappingIO class_type
static const char * staticClassType()
FieldMappingIO base
Convenience typedef for referring to base class.
virtual bool write(hid_t mappingGroup, FieldMapping::Ptr mapping)
Writes the given field mapping to disk.
virtual ~FieldMappingIO()
Dtor.
virtual bool write(hid_t mappingGroup, FieldMapping::Ptr mapping)
Writes the given field mapping to disk.
boost::intrusive_ptr< NullFieldMappingIO > Ptr