Go to the documentation of this file.
44 #ifndef _INCLUDED_Field3D_FieldIO_H_
45 #define _INCLUDED_Field3D_FieldIO_H_
49 #include <boost/intrusive_ptr.hpp>
91 typedef boost::intrusive_ptr<FieldIO>
Ptr;
119 const std::string &layerPath,
126 const std::string &filename,
127 const std::string &layerPath,
#define FIELD3D_NAMESPACE_HEADER_CLOSE
RefBase base
Convenience typedef for referring to base class.
virtual bool write(hid_t layerGroup, FieldBase::Ptr field)=0
Write the field to the given layer group.
virtual FieldBase::Ptr read(hid_t layerGroup, const std::string &filename, const std::string &layerPath, DataTypeEnum typeEnum)=0
Read the field at the given hdf5 group.
virtual bool write(OgOGroup &layerGroup, FieldBase::Ptr field)=0
Write the field to the given layer group.
boost::intrusive_ptr< FieldBase > Ptr
Contains forward declarations for Ogawa classes.
Contains the Log class which can be used to redirect output to an arbitrary destination.
DEFINE_FIELD_RTTI_ABSTRACT_CLASS
Contains Field, WritableField and ResizableField classes.
static const char * staticClassType()
boost::intrusive_ptr< FieldIO > Ptr
virtual std::string className() const =0
Returns the class name. This is used when registering the class to the FieldIOFactory object.
OgDataType
Enumerates the various uses for Ogawa-level groups.
virtual FieldBase::Ptr read(const OgIGroup &layerGroup, const std::string &filename, const std::string &layerPath, OgDataType typeEnum)=0
Read the field at the given Ogawa group.