GeoTessCPP  2.0.0
Software to facilitate storage and retrieval of 3D information about the Earth.
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines
Public Member Functions | Static Public Member Functions | Static Public Attributes
geotess::DataType Class Reference

#include <DataType.h>

Inheritance diagram for geotess::DataType:
geotess::EnumType

List of all members.

Public Member Functions

virtual ~DataType ()
template<>
const DataTypegetDataType (double typ)
template<>
const DataTypegetDataType (float typ)
template<>
const DataTypegetDataType (LONG_INT typ)
template<>
const DataTypegetDataType (int typ)
template<>
const DataTypegetDataType (short typ)
template<>
const DataTypegetDataType (byte typ)

Static Public Member Functions

template<typename T >
static const DataTypegetDataType (T typ)
static int size ()
static const DataTypevalueOf (const string &s)
static DataType const *const *const values ()

Static Public Attributes

static const DataTypeaArray []
static const DataType BYTE
static const DataType DOUBLE
static const DataType FLOAT
static const DataType INT
static const DataType LONG
static const DataType NONE
static const DataType SHORT

Detailed Description

Enumeration of supported DataType which includes DOUBLE, FLOAT, LONG, INT, SHORT and BYTE.


Constructor & Destructor Documentation

virtual geotess::DataType::~DataType ( ) [inline, virtual]

Standard Destructor.


Member Function Documentation

template<typename T >
static const DataType& geotess::DataType::getDataType ( typ) [inline, static]
template<>
const DataType& geotess::DataType::getDataType ( double  typ) [inline]

Template specialization for getDataType()

template<>
const DataType& geotess::DataType::getDataType ( float  typ) [inline]

Template specialization for getDataType()

template<>
const DataType& geotess::DataType::getDataType ( LONG_INT  typ) [inline]

Template specialization for getDataType()

template<>
const DataType& geotess::DataType::getDataType ( int  typ) [inline]

Template specialization for getDataType()

template<>
const DataType& geotess::DataType::getDataType ( short  typ) [inline]

Template specialization for getDataType()

template<>
const DataType& geotess::DataType::getDataType ( byte  typ) [inline]

Template specialization for getDataType()

static int geotess::DataType::size ( ) [inline, static]

Returns the total number of enums of this type.

static const DataType* geotess::DataType::valueOf ( const string &  s) [inline, static]

Assignment Operator. Returns a pointer to the enum whose string matches the input string. If no match is found null is returned.

Parameters:
sThe input string for which a match in array is returned (or null).
Returns:
The match of s in the names of array or null if one was not found.
static DataType const* const* const geotess::DataType::values ( ) [inline, static]

Returns the array of all enums for this type.


Member Data Documentation

The array containing all enums declared above.

The actual enums for this type.


The documentation for this class was generated from the following file: