26#ifndef base_type_factory_h
27#define base_type_factory_h
31#include "InternalErr.h"
79class BaseTypeFactory {
82 virtual ~BaseTypeFactory() {}
102 virtual Byte *NewByte(
const string &n =
"")
const;
103 virtual Int16 *NewInt16(
const string &n =
"")
const;
104 virtual UInt16 *NewUInt16(
const string &n =
"")
const;
105 virtual Int32 *NewInt32(
const string &n =
"")
const;
106 virtual UInt32 *NewUInt32(
const string &n =
"")
const;
107 virtual Float32 *NewFloat32(
const string &n =
"")
const;
108 virtual Float64 *NewFloat64(
const string &n =
"")
const;
110 virtual Str *NewStr(
const string &n =
"")
const;
111 virtual Url *NewUrl(
const string &n =
"")
const;
113 virtual Array *NewArray(
const string &n =
"",
BaseType *v = 0)
const;
114 virtual Structure *NewStructure(
const string &n =
"")
const;
115 virtual Sequence *NewSequence(
const string &n =
"")
const;
116 virtual Grid *NewGrid(
const string &n =
"")
const;
A multidimensional array of identical data types.
virtual BaseType * NewVariable(Type t, const string &name="") const
virtual BaseTypeFactory * ptr_duplicate() const
The basic data type for the DODS DAP types.
Holds a 32-bit floating point value.
Holds a 64-bit (double precision) floating point value.
Holds the Grid data type.
Holds a 16-bit signed integer value.
Holds a 32-bit signed integer.
A class for software fault reporting.
Holds character string data.
Holds a structure (aggregate) type.
Holds an unsigned 16-bit integer.
Holds a 32-bit unsigned integer.
Holds an Internet address (URL).
top level DAP object to house generic methods
Type
Identifies the data type.