GlsMap Toolkit
1.4.1
|
#include <vpf_data_value.h>
Static Public Member Functions | |
static VPFDataValue * | CreateDataValue (const VPFUtil::DataType dataType, const int numVals, VPFFile &infile) |
Protected Member Functions | |
VPFDataValue (const VPFUtil::DataType dataType) | |
Static Protected Member Functions | |
static VPFDataValue * | CreateText (const VPFUtil::DataType textType, const unsigned int textLen, VPFFile &infile) |
static VPFDataValue * | CreateShortFloat (VPFFile &infile) |
static VPFDataValue * | CreateShortFloatFixed (const unsigned int num, VPFFile &infile) |
static VPFDataValue * | CreateLongFloat (VPFFile &infile) |
static VPFDataValue * | CreateLongFloatFixed (const unsigned int num, VPFFile &infile) |
static VPFDataValue * | CreateShortInt (VPFFile &infile) |
static VPFDataValue * | CreateShortIntFixed (const unsigned int num, VPFFile &infile) |
static VPFDataValue * | CreateLongInt (VPFFile &infile) |
static VPFDataValue * | CreateLongIntFixed (const unsigned int num, VPFFile &infile) |
static VPFDataValue * | Create2DCoordShort (VPFFile &infile) |
static VPFDataValue * | Create2DCoordShortFixed (const unsigned int num, VPFFile &infile) |
static VPFDataValue * | Create2DCoordLong (VPFFile &infile) |
static VPFDataValue * | Create2DCoordLongFixed (const unsigned int num, VPFFile &infile) |
static VPFDataValue * | Create3DCoordShort (VPFFile &infile) |
static VPFDataValue * | Create3DCoordShortFixed (const unsigned int num, VPFFile &infile) |
static VPFDataValue * | Create3DCoordLong (VPFFile &infile) |
static VPFDataValue * | Create3DCoordLongFixed (const unsigned int num, VPFFile &infile) |
static VPFDataValue * | CreateDateTime (VPFFile &infile) |
static VPFDataValue * | CreateDateTimeFixed (const unsigned int num, VPFFile &infile) |
static VPFDataValue * | CreateNull (void) |
static VPFDataValue * | CreateTriplet (VPFFile &infile) |
static VPFDataValue * | CreateTripletFixed (const unsigned int num, VPFFile &infile) |
static bool | ReadTriplet (VPFFile &infile, VPFUtil::Triplet &dst) |
static bool | ReadTripletValue (VPFFile &infile, const unsigned char type, VPFUtil::UInt32 &val, bool &isValid) |
encapsulates a data value in a VPF table
VPFDataValue::~VPFDataValue | ( | ) |
Dtor
|
inlineprotected |
Ctor - not called by user directly (use static Create* methods)
dataType | data type for new value |
|
staticprotected |
Load and create a single 2D coord long value from the given file
infile | file to read |
|
staticprotected |
Load and create a 2D coord long fixed array value from the given file
num | number of elements in the array |
infile | file to read |
|
staticprotected |
Load and create a single 2D coord short value from the given file
infile | file to read |
|
staticprotected |
Load and create a 2D coord short fixed array value from the given file
num | number of elements in the array |
infile | file to read |
|
staticprotected |
Load and create a single 3D coord long value from the given file
infile | file to read |
|
staticprotected |
Load and create a 3D coord long fixed array value from the given file
num | number of elements in the array |
infile | file to read |
|
staticprotected |
Load and create a single 3D coord short value from the given file
infile | file to read |
|
staticprotected |
Load and create a 3D coord short fixed array value from the given file
num | number of elements in the array |
infile | file to read |
|
static |
Create and load a data type of the given type and quantity from the given file
dataType | desired data type |
numVals | number of values in data val (-1 for variable length) |
infile | file to read |
|
staticprotected |
Load and create a single date time value from the given file
infile | file to read |
|
staticprotected |
Load and create a date time fixed array value from the given file
num | number of elements in the array |
infile | file to read |
|
staticprotected |
Load and create a single long float value from the given file
infile | file to read |
|
staticprotected |
Load and create a long float fixed array value from the given file
num | number of elements in the array |
infile | file to read |
|
staticprotected |
Load and create a single long int value from the given file
infile | file to read |
|
staticprotected |
Load and create a long int fixed array value from the given file
num | number of elements in the array |
infile | file to read |
|
staticprotected |
Create a null data value
|
staticprotected |
Load and create a single short float value from the given file
infile | file to read |
|
staticprotected |
Load and create a short float fixed array value from the given file
num | number of elements in the array |
infile | file to read |
|
staticprotected |
Load and create a single short int value from the given file
infile | file to read |
|
staticprotected |
Load and create a short int fixed array value from the given file
num | number of elements in the array |
infile | file to read |
|
staticprotected |
Load and create a text value with the given length from the given file and assign the given data type
textType | DATA_TYPE_TEXT, DATA_TYPE_TEXT_LATIN, DATA_TYPE_TEXT_FULL_LATIN, or DATA_TYPE_TEXT_MULTILINGUAL |
textLen | number of bytes of text |
infile | file to read |
|
staticprotected |
Load and create a VPF triplet value from the given file
infile | file to read |
|
staticprotected |
Load and create a VPF triplet fixed array value from the given file
num | number of elements in the array |
infile | file to read |
|
inline |
Get the 2D coordinate long value
|
inline |
Get multiple 2D coordinate long values
|
inline |
Get the 2D coordinate short value
|
inline |
Get multiple 2D coordinate short values
|
inline |
Get the 3D coordinate long value
|
inline |
Get multiple 3D coordinate long values
|
inline |
Get the 3D coordinate short value
|
inline |
Get multiple 3D coordinate short values
|
inline |
Get the type of the data value
|
inline |
Get the date time value
|
inline |
Get multiple date time values
|
inline |
Get the single long float value
|
inline |
Get multiple long float values
|
inline |
Get the single long integer value
|
inline |
Get multiple long integer values
|
inline |
Get the single short float value
|
inline |
Get multiple short float values
|
inline |
Get the single short integer value
|
inline |
Get multiple short integer values
|
inline |
Get text value.
|
inline |
Get the VPF triplet value
|
inline |
Get multiple triplet values
|
inline |
Get the number of data values contained ( if IsMultipleValues() )
|
inline |
Determine if this data value contains multiple values
|
inline |
Determine if the data value was created successfully
|
staticprotected |
Read a VPF triplet from the given file
infile | file to read |
dst | [out] gets read triplet on success |
|
staticprotected |
Read one value in a triplet value from the given file
infile | file to read |
type | indicates number of bits in field to read ( 0 = 0bits, 1 = 8bits, 2 = 16bits, 3=32bits ) |
val | [out] receives value read from file on success else 0u |
isValid | [out] receives true if a non zero bits value was read into 'val' else false |
|
protected |
type of data value
|
protected |
true if array of values else false if single val
|
protected |
true if valid data value else false
|
protected |
length of text in bytes if data is a text value ( DATA_TYPE_TEXT_<*> ), else number of elements if multiple vals, 0u if single val
VPFUtil::Coord2DLong disti::VPFDataValue::coord2DLong |
DATA_TYPE_2D_COORD_LONG single val
VPFUtil::Coord2DLong* disti::VPFDataValue::coord2DLongArray |
DATA_TYPE_2D_COORD_LONG multiple vals
VPFUtil::Coord2DShort disti::VPFDataValue::coord2DShort |
DATA_TYPE_2D_COORD_SHORT single val
VPFUtil::Coord2DShort* disti::VPFDataValue::coord2DShortArray |
DATA_TYPE_2D_COORD_SHORT multiple vals
VPFUtil::Coord3DLong disti::VPFDataValue::coord3DLong |
DATA_TYPE_3D_COORD_LONG single val
VPFUtil::Coord3DLong* disti::VPFDataValue::coord3DLongArray |
DATA_TYPE_3D_COORD_LONG multiple vals
VPFUtil::Coord3DShort disti::VPFDataValue::coord3DShort |
DATA_TYPE_3D_COORD_SHORT single val
VPFUtil::Coord3DShort* disti::VPFDataValue::coord3DShortArray |
DATA_TYPE_3D_COORD_SHORT multiple vals
VPFUtil::DateTime disti::VPFDataValue::dateTime |
DATA_TYPE_DATE_TIME single val
VPFUtil::DateTime* disti::VPFDataValue::dateTimeArray |
DATA_TYPE_DATE_TIME multiple vals
VPFUtil::Float64 disti::VPFDataValue::longFloat |
DATA_TYPE_LONG_FLOAT single val
VPFUtil::Float64* disti::VPFDataValue::longFloatArray |
DATA_TYPE_LONG_FLOAT multiple vals
VPFUtil::UInt32 disti::VPFDataValue::longInt |
DATA_TYPE_LONG_INTEGER single val
VPFUtil::UInt32* disti::VPFDataValue::longIntArray |
DATA_TYPE_LONG_INTEGER multiple vals
VPFUtil::Float32 disti::VPFDataValue::shortFloat |
DATA_TYPE_SHORT_FLOAT single val
VPFUtil::Float32* disti::VPFDataValue::shortFloatArray |
DATA_TYPE_SHORT_FLOAT multiple vals
VPFUtil::UInt16 disti::VPFDataValue::shortInt |
DATA_TYPE_SHORT_INTEGER single val
VPFUtil::UInt16* disti::VPFDataValue::shortIntArray |
DATA_TYPE_SHORT_INTEGER multiple vals
char* disti::VPFDataValue::str |
character data if DATA_TYPE_TEXT, DATA_TYPE_TEXT_LATIN, DATA_TYPE_TEXT_FULL_LATIN, DATA_TYPE_TEXT_MULTILINGUAL
VPFUtil::Triplet disti::VPFDataValue::triplet |
DATA_TYPE_TRIPLET VPF triplet single val
VPFUtil::Triplet* disti::VPFDataValue::tripletArray |
DATA_TYPE_TRIPLET VPF triplet multiple vals