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