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.
DEFINE_FIELD_RTTI_ABSTRACT_CLASS
FieldMappingIO class_type
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.
boost::intrusive_ptr< FieldMappingIO > 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
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
FieldMappingIO base
Convenience typedef for referring to base class.
FrustumFieldMappingIO()
Ctor.
virtual FieldMapping::Ptr read(hid_t mappingGroup)
Reads the field mapping and tries to create a FrustumFieldMapping object from it.
boost::intrusive_ptr< FrustumFieldMappingIO > Ptr
static FieldMappingIO::Ptr create()
static const char * staticClassType()
DEFINE_FIELD_RTTI_CONCRETE_CLASS
MatrixFieldMappingIO class_type
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()
boost::intrusive_ptr< MatrixFieldMappingIO > Ptr
virtual FieldMapping::Ptr read(hid_t mappingGroup)
Reads the field mapping and tries to create a MatrixFieldMapping object from it.
FieldMappingIO base
Convenience typedef for referring to base class.
MatrixFieldMappingIO()
Ctor.
static FieldMappingIO::Ptr create()
NullFieldMappingIO class_type
virtual bool write(hid_t mappingGroup, FieldMapping::Ptr mapping)
Writes the given field mapping to disk.
static const char * staticClassType()
boost::intrusive_ptr< NullFieldMappingIO > Ptr
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.
FieldMappingIO base
Convenience typedef for referring to base class.
DEFINE_FIELD_RTTI_CONCRETE_CLASS
#define FIELD3D_NAMESPACE_HEADER_CLOSE