GeoTessCPP 2.6.1 Software to facilitate storage and retrieval of 3D information about the Earth.

Loading...
Searching...
No Matches
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:

## Public Member Functions
virtual | ~GeoTessDataType ()
Public Member Functions inherited from geotess::GeoTessEnumType
virtual | ~GeoTessEnumType ()
string | toString () const
string | name () const
int | ordinal () const

## Static Public Member Functions
static const GeoTessDataType * | valueOf (const string &s)
static GeoTessDataType const *const *const | values ()
static int | size ()
template<typename T>
static const GeoTessDataType & | getDataType (T typ)
template<>
const GeoTessDataType & | getDataType (double typ)
template<>
const GeoTessDataType & | getDataType (float typ)
template<>
const GeoTessDataType & | getDataType (LONG_INT typ)
template<>
const GeoTessDataType & | getDataType (int typ)
template<>
const GeoTessDataType & | getDataType (short typ)
template<>
const GeoTessDataType & | getDataType (byte typ)

## Static Public Attributes
static const GeoTessDataType | DOUBLE
static const GeoTessDataType | FLOAT
static const GeoTessDataType | LONG
static const GeoTessDataType | INT
static const GeoTessDataType | SHORT
static const GeoTessDataType | BYTE
static const GeoTessDataType | NONE
static const GeoTessDataType * | aArray []

## Additional Inherited Members
Protected Member Functions inherited from geotess::GeoTessEnumType
| GeoTessEnumType ()
| GeoTessEnumType (const GeoTessEnumType &et)
GeoTessEnumType & | operator= (const GeoTessEnumType &et)
| GeoTessEnumType (const string &name, int ordinal)
Static Protected Member Functions inherited from geotess::GeoTessEnumType
static const GeoTessEnumType * | valueOf (const string &s, GeoTessEnumType const *const *const array, int n)
Protected Attributes inherited from geotess::GeoTessEnumType
const string | aName
const int | aOrdinal

## 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.

Definition at line 67 of file GeoTessDataType.h.

## Constructor & Destructor Documentation

## ◆ ~GeoTessDataType()

virtual geotess::GeoTessDataType::~GeoTessDataType | ( |  | ) |
| inline virtual

Standard Destructor.

Definition at line 139 of file GeoTessDataType.h.

## Member Function Documentation

## ◆ getDataType() [1/7]

template<>

const GeoTessDataType & geotess::GeoTessDataType::getDataType | ( | byte | typ | ) |
| inline static

Template specialization for getDataType()

Definition at line 243 of file GeoTessDataType.h.

## ◆ getDataType() [2/7]

template<>

const GeoTessDataType & geotess::GeoTessDataType::getDataType | ( | double | typ | ) |
| inline static

Template specialization for getDataType()

Definition at line 198 of file GeoTessDataType.h.

## ◆ getDataType() [3/7]

template<>

const GeoTessDataType & geotess::GeoTessDataType::getDataType | ( | float | typ | ) |
| inline static

Template specialization for getDataType()

Definition at line 207 of file GeoTessDataType.h.

## ◆ getDataType() [4/7]

template<>

const GeoTessDataType & geotess::GeoTessDataType::getDataType | ( | int | typ | ) |
| inline static

Template specialization for getDataType()

Definition at line 225 of file GeoTessDataType.h.

## ◆ getDataType() [5/7]

template<>

const GeoTessDataType & geotess::GeoTessDataType::getDataType | ( | LONG_INT | typ | ) |
| inline static

Template specialization for getDataType()

Definition at line 216 of file GeoTessDataType.h.

## ◆ getDataType() [6/7]

template<>

const GeoTessDataType & geotess::GeoTessDataType::getDataType | ( | short | typ | ) |
| inline static

Template specialization for getDataType()

Definition at line 234 of file GeoTessDataType.h.

## ◆ getDataType() [7/7]

template<typename T>

const GeoTessDataType & geotess::GeoTessDataType::getDataType | ( | T | typ | ) |
| inline static

Definition at line 186 of file GeoTessDataType.h.

## ◆ size()

int geotess::GeoTessDataType::size | ( |  | ) |
| inline static

Returns the total number of enums of this type.

Definition at line 177 of file GeoTessDataType.h.

## ◆ valueOf()

const GeoTessDataType * geotess::GeoTessDataType::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

  s | The 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.

Definition at line 160 of file GeoTessDataType.h.

## ◆ values()

GeoTessDataType const *const *const geotess::GeoTessDataType::values | ( |  | ) |
| inline static

Returns the array of all enums for this type.

Definition at line 169 of file GeoTessDataType.h.

## Member Data Documentation

## ◆ aArray

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

The array containing all enums declared above.

Definition at line 134 of file GeoTessDataType.h.

## ◆ BYTE

const GeoTessDataType geotess::GeoTessDataType::BYTE
| static

Definition at line 128 of file GeoTessDataType.h.

## ◆ DOUBLE

const GeoTessDataType geotess::GeoTessDataType::DOUBLE
| static

The actual enums for this type.

Definition at line 123 of file GeoTessDataType.h.

## ◆ FLOAT

const GeoTessDataType geotess::GeoTessDataType::FLOAT
| static

Definition at line 124 of file GeoTessDataType.h.

## ◆ INT

const GeoTessDataType geotess::GeoTessDataType::INT
| static

Definition at line 126 of file GeoTessDataType.h.

## ◆ LONG

const GeoTessDataType geotess::GeoTessDataType::LONG
| static

Definition at line 125 of file GeoTessDataType.h.

## ◆ NONE

const GeoTessDataType geotess::GeoTessDataType::NONE
| static

Definition at line 129 of file GeoTessDataType.h.

## ◆ SHORT

const GeoTessDataType geotess::GeoTessDataType::SHORT
| static

Definition at line 127 of file GeoTessDataType.h.

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

- rstt_v3.2.1/GeoTessCPP/include/GeoTessDataType.h