29#include <libdap/Byte.h>
30#include <libdap/Int16.h>
31#include <libdap/UInt16.h>
32#include <libdap/Int32.h>
33#include <libdap/UInt32.h>
34#include <libdap/Float32.h>
35#include <libdap/Float64.h>
36#include <libdap/Str.h>
37#include <libdap/Url.h>
38#include <libdap/Array.h>
39#include <libdap/Structure.h>
40#include <ReadSequence.h>
41#include <libdap/Grid.h>
42#include <libdap/debug.h>
44#include "ReadTypeFactory.h"
47ReadTypeFactory::NewByte(
const string &n)
const
53ReadTypeFactory::NewInt16(
const string &n)
const
59ReadTypeFactory::NewUInt16(
const string &n)
const
65ReadTypeFactory::NewInt32(
const string &n)
const
67 DBG(cerr <<
"Inside ReadTypeFactory::NewInt32" << endl);
72ReadTypeFactory::NewUInt32(
const string &n)
const
78ReadTypeFactory::NewFloat32(
const string &n)
const
80 return new Float32(n);
84ReadTypeFactory::NewFloat64(
const string &n)
const
86 return new Float64(n);
90ReadTypeFactory::NewStr(
const string &n)
const
96ReadTypeFactory::NewUrl(
const string &n)
const
102ReadTypeFactory::NewArray(
const string &n , BaseType *v)
const
104 return new Array(n, v);
108ReadTypeFactory::NewStructure(
const string &n)
const
110 return new Structure(n);
114ReadTypeFactory::NewSequence(
const string &n)
const
116 DBG(cerr <<
"Inside ReadTypeFactory::NewSequence" << endl);
117 return new ReadSequence(n);
121ReadTypeFactory::NewGrid(
const string &n)
const