44#include "MIPFieldIO.h"
66const int MIPFieldIO::k_versionNumber (1);
67const std::string MIPFieldIO::k_versionAttrName (
"version");
68const std::string MIPFieldIO::k_extentsStr (
"extents");
69const std::string MIPFieldIO::k_extentsMinStr (
"extents_min");
70const std::string MIPFieldIO::k_extentsMaxStr (
"extents_max");
71const std::string MIPFieldIO::k_dataWindowStr (
"data_window");
72const std::string MIPFieldIO::k_dataWindowMinStr (
"data_window_min");
73const std::string MIPFieldIO::k_dataWindowMaxStr (
"data_window_max");
74const std::string MIPFieldIO::k_componentsStr (
"components");
75const std::string MIPFieldIO::k_bitsPerComponentStr(
"bits_per_component");
76const std::string MIPFieldIO::k_mipGroupStr (
"mip_levels");
77const std::string MIPFieldIO::k_levelGroupStr (
"level");
78const std::string MIPFieldIO::k_levelsStr (
"levels");
79const std::string MIPFieldIO::k_baseTypeStr (
"base_type");
80const std::string MIPFieldIO::k_dummyDataStr (
"dummy_data");
88 const std::string &layerPath,
144 }
else if (
baseType ==
"DenseField") {
154 layerPath, typeEnum);
157 layerPath, typeEnum);
160 layerPath, typeEnum);
163 layerPath, typeEnum);
166 layerPath, typeEnum);
169 layerPath, typeEnum);
172 layerPath, typeEnum);
175 layerPath, typeEnum);
178 layerPath, typeEnum);
181 layerPath, typeEnum);
184 layerPath, typeEnum);
187 layerPath, typeEnum);
196 const std::string &layerPath,
OgDataType typeEnum)
202 "MIPFieldIO::read(ogawa).");
258 layerPath, typeEnum);
261 layerPath, typeEnum);
264 layerPath, typeEnum);
267 layerPath, typeEnum);
270 layerPath, typeEnum);
273 layerPath, typeEnum);
278 layerPath, typeEnum);
281 layerPath, typeEnum);
284 layerPath, typeEnum);
287 layerPath, typeEnum);
290 layerPath, typeEnum);
293 layerPath, typeEnum);
382 "MIPField template parameter");
461 "MIPField template parameter");
OgDataType
Enumerates the various uses for Ogawa-level groups.
boost::intrusive_ptr< FieldBase > Ptr
This subclass stores a MIP representation of a Field_T field.
FIELD3D_API bool readAttribute(hid_t location, const std::string &attrName, std::string &value)
Reads a string attribute.
FIELD3D_API bool writeAttribute(hid_t location, const std::string &attrName, const std::string &value)
Writes a string attribute.
Namespace for Exception objects.
Contains utility functions and classes for Hdf5 files.
FIELD3D_API void print(Severity severity, const std::string &message)
Sends the string to the assigned output, prefixing the message with the severity.
#define FIELD3D_NAMESPACE_SOURCE_CLOSE