GeoTessCPP  2.2
Software to facilitate storage and retrieval of 3D information about the Earth.
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
geotess::GeoTessDataType Class Reference

Enumeration of supported DataType including DOUBLE, FLOAT, LONG, INT, SHORT and BYTE. More...

#include <GeoTessDataType.h>

Inheritance diagram for geotess::GeoTessDataType:
geotess::GeoTessEnumType

Public Member Functions

virtual ~GeoTessDataType ()
 Standard Destructor. More...
 
template<>
const GeoTessDataTypegetDataType (double typ)
 Template specialization for getDataType() More...
 
template<>
const GeoTessDataTypegetDataType (float typ)
 Template specialization for getDataType() More...
 
template<>
const GeoTessDataTypegetDataType (LONG_INT typ)
 Template specialization for getDataType() More...
 
template<>
const GeoTessDataTypegetDataType (int typ)
 Template specialization for getDataType() More...
 
template<>
const GeoTessDataTypegetDataType (short typ)
 Template specialization for getDataType() More...
 
template<>
const GeoTessDataTypegetDataType (byte typ)
 Template specialization for getDataType() More...
 
- Public Member Functions inherited from geotess::GeoTessEnumType
virtual ~GeoTessEnumType ()
 Standard destructor. More...
 
string name () const
 Returns this Enums name. More...
 
int ordinal () const
 Returns this Enums ordinal. More...
 
string toString () const
 Returns this Enums name. More...
 

Static Public Member Functions

template<typename T >
static const GeoTessDataTypegetDataType (T typ)
 
static int size ()
 Returns the total number of enums of this type. More...
 
static const GeoTessDataTypevalueOf (const string &s)
 Assignment Operator. More...
 
static GeoTessDataType const *const *const values ()
 Returns the array of all enums for this type. More...
 

Static Public Attributes

static const GeoTessDataTypeaArray []
 The array containing all enums declared above. More...
 
static const GeoTessDataType BYTE
 
static const GeoTessDataType DOUBLE
 The actual enums for this type. More...
 
static const GeoTessDataType FLOAT
 
static const GeoTessDataType INT
 
static const GeoTessDataType LONG
 
static const GeoTessDataType NONE
 
static const GeoTessDataType SHORT
 

Additional Inherited Members

- Protected Member Functions inherited from geotess::GeoTessEnumType
 GeoTessEnumType ()
 Private default constructor. More...
 
 GeoTessEnumType (const GeoTessEnumType &et)
 Private copy constructor. More...
 
 GeoTessEnumType (const string &name, int ordinal)
 Standard constuctor. More...
 
GeoTessEnumTypeoperator= (const GeoTessEnumType &et)
 Private assignment operator. More...
 
- Static Protected Member Functions inherited from geotess::GeoTessEnumType
static const GeoTessEnumTypevalueOf (const string &s, GeoTessEnumType const *const *const array, int n)
 Returns the EnumType from the input array whose name matches the input string. More...
 
- Protected Attributes inherited from geotess::GeoTessEnumType
const string aName
 The string name of this enum. More...
 
const int aOrdinal
 The ordinal of this enum. More...
 

Detailed Description

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

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

Constructor & Destructor Documentation

virtual geotess::GeoTessDataType::~GeoTessDataType ( )
inlinevirtual

Standard Destructor.

Member Function Documentation

template<typename T >
static const GeoTessDataType& geotess::GeoTessDataType::getDataType ( typ)
inlinestatic
template<>
const GeoTessDataType& geotess::GeoTessDataType::getDataType ( double  typ)
inline

Template specialization for getDataType()

template<>
const GeoTessDataType& geotess::GeoTessDataType::getDataType ( float  typ)
inline

Template specialization for getDataType()

template<>
const GeoTessDataType& geotess::GeoTessDataType::getDataType ( LONG_INT  typ)
inline

Template specialization for getDataType()

template<>
const GeoTessDataType& geotess::GeoTessDataType::getDataType ( int  typ)
inline

Template specialization for getDataType()

template<>
const GeoTessDataType& geotess::GeoTessDataType::getDataType ( short  typ)
inline

Template specialization for getDataType()

template<>
const GeoTessDataType& geotess::GeoTessDataType::getDataType ( byte  typ)
inline

Template specialization for getDataType()

static int geotess::GeoTessDataType::size ( )
inlinestatic

Returns the total number of enums of this type.

static const GeoTessDataType* geotess::GeoTessDataType::valueOf ( const string &  s)
inlinestatic

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 GeoTessDataType const* const* const geotess::GeoTessDataType::values ( )
inlinestatic

Returns the array of all enums for this type.

Member Data Documentation

const GeoTessDataType* geotess::GeoTessDataType::aArray[]
static

The array containing all enums declared above.

const GeoTessDataType geotess::GeoTessDataType::BYTE
static
const GeoTessDataType geotess::GeoTessDataType::DOUBLE
static

The actual enums for this type.

const GeoTessDataType geotess::GeoTessDataType::FLOAT
static
const GeoTessDataType geotess::GeoTessDataType::INT
static
const GeoTessDataType geotess::GeoTessDataType::LONG
static
const GeoTessDataType geotess::GeoTessDataType::NONE
static
const GeoTessDataType geotess::GeoTessDataType::SHORT
static

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