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