GeoTessCPP
2.0.0
Software to facilitate storage and retrieval of 3D information about the Earth.
|
#include <DataType.h>
Public Member Functions | |
virtual | ~DataType () |
template<> | |
const DataType & | getDataType (double typ) |
template<> | |
const DataType & | getDataType (float typ) |
template<> | |
const DataType & | getDataType (LONG_INT typ) |
template<> | |
const DataType & | getDataType (int typ) |
template<> | |
const DataType & | getDataType (short typ) |
template<> | |
const DataType & | getDataType (byte typ) |
Static Public Member Functions | |
template<typename T > | |
static const DataType & | getDataType (T typ) |
static int | size () |
static const DataType * | valueOf (const string &s) |
static DataType const *const *const | values () |
Static Public Attributes | |
static const DataType * | aArray [] |
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 |
Enumeration of supported DataType which includes DOUBLE, FLOAT, LONG, INT, SHORT and BYTE.
virtual geotess::DataType::~DataType | ( | ) | [inline, virtual] |
Standard Destructor.
static const DataType& geotess::DataType::getDataType | ( | T | typ | ) | [inline, static] |
const DataType& geotess::DataType::getDataType | ( | double | typ | ) | [inline] |
Template specialization for getDataType()
const DataType& geotess::DataType::getDataType | ( | float | typ | ) | [inline] |
Template specialization for getDataType()
const DataType& geotess::DataType::getDataType | ( | LONG_INT | typ | ) | [inline] |
Template specialization for getDataType()
const DataType& geotess::DataType::getDataType | ( | int | typ | ) | [inline] |
Template specialization for getDataType()
const DataType& geotess::DataType::getDataType | ( | short | typ | ) | [inline] |
Template specialization for getDataType()
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.
s | The input string for which a match in array is returned (or null). |
static DataType const* const* const geotess::DataType::values | ( | ) | [inline, static] |
Returns the array of all enums for this type.
const DataType* geotess::DataType::aArray[] [static] |
The array containing all enums declared above.
const DataType geotess::DataType::BYTE [static] |
const DataType geotess::DataType::DOUBLE [static] |
The actual enums for this type.
const DataType geotess::DataType::FLOAT [static] |
const DataType geotess::DataType::INT [static] |
const DataType geotess::DataType::LONG [static] |
const DataType geotess::DataType::NONE [static] |
const DataType geotess::DataType::SHORT [static] |