33#include "HDFFloat32.h"
34#include "HDFFloat64.h"
38#include "HDFStructure.h"
39#include "HDFSequence.h"
41#include "HDFTypeFactory.h"
42#include <libdap/debug.h>
45Byte *HDFTypeFactory::NewByte(
const string & n)
const
47 return new HDFByte(n, d_filename);
50Int16 *HDFTypeFactory::NewInt16(
const string & n)
const
55UInt16 *HDFTypeFactory::NewUInt16(
const string & n)
const
60Int32 *HDFTypeFactory::NewInt32(
const string & n)
const
62 BESDEBUG(
"h4",
"Inside HDFTypeFactory::NewInt32" << endl);
66UInt32 *HDFTypeFactory::NewUInt32(
const string & n)
const
71Float32 *HDFTypeFactory::NewFloat32(
const string & n)
const
76Float64 *HDFTypeFactory::NewFloat64(
const string & n)
const
81Str *HDFTypeFactory::NewStr(
const string & n)
const
83 return new HDFStr(n, d_filename);
86Url *HDFTypeFactory::NewUrl(
const string & n)
const
88 return new HDFUrl(n, d_filename);
91Array *HDFTypeFactory::NewArray(
const string & n, BaseType * v)
const
93 return new HDFArray(n, d_filename, v);
96Structure *HDFTypeFactory::NewStructure(
const string & n)
const
101Sequence *HDFTypeFactory::NewSequence(
const string & n)
const
103 BESDEBUG(
"h4",
"Inside HDFTypeFactory::NewSequence" << endl);
107Grid *HDFTypeFactory::NewGrid(
const string & n)
const
109 return new HDFGrid(n, d_filename);