RVC::DBTABLE_PROPERTIES Class Reference

Table to contain well-known properties, typically associated with main spatial object. More...

#include <rvc/dbtableproperties.h>

Inheritance diagram for RVC::DBTABLE_PROPERTIES:
Inheritance graph
[legend]

List of all members.

Classes

class  MAKEPARM
 Parameters to make properties table. More...
class  RECORD
 Property record. More...

Public Types

enum  ID {
  ID_Invalid = 0, ID_Numeric = 0x00000000, ID_MinX = ID_Numeric | 1, ID_MaxX = ID_Numeric | 2,
  ID_MinY = ID_Numeric | 3, ID_MaxY = ID_Numeric | 4, ID_MinZ = ID_Numeric | 5, ID_MaxZ = ID_Numeric | 6,
  ID_PointDensity = ID_Numeric | 7, ID_String = 0x10000000, ID_MASK_Type = 0xF0000000
}

Public Member Functions

 DBTABLE_PROPERTIES (const RVC::DBTABLE_PROPERTIES &rhs)
 DBTABLE_PROPERTIES ()
virtual ~DBTABLE_PROPERTIES ()
RVC::DBTABLE_PROPERTIESoperator= (const RVC::DBTABLE_PROPERTIES &rhs)
int ReadValue (ID id, MISTRING &value) const
int ReadValue (ID id, double &value) const
ERRVALUE WriteValue (ID id, const MISTRING &value)
ERRVALUE WriteValue (ID id, double &value)

Detailed Description

Table to contain well-known properties, typically associated with main spatial object.


Member Enumeration Documentation

Property ID.

Enumerator:
ID_Invalid 
ID_Numeric 
ID_MinX 
ID_MaxX 
ID_MinY 
ID_MaxY 
ID_MinZ 
ID_MaxZ 
ID_PointDensity 

Point density, count per square unit.

ID_String 
ID_MASK_Type 

Constructor & Destructor Documentation

RVC::DBTABLE_PROPERTIES::DBTABLE_PROPERTIES (  ) 

Default constructor.

RVC::DBTABLE_PROPERTIES::DBTABLE_PROPERTIES ( const RVC::DBTABLE_PROPERTIES rhs  ) 

Copy constructor.

virtual RVC::DBTABLE_PROPERTIES::~DBTABLE_PROPERTIES (  )  [virtual]

Destructor.


Member Function Documentation

RVC::DBTABLE_PROPERTIES& RVC::DBTABLE_PROPERTIES::operator= ( const RVC::DBTABLE_PROPERTIES rhs  ) 

Assignment.

Reimplemented from RVC::DBTABLE.

int RVC::DBTABLE_PROPERTIES::ReadValue ( ID  id,
MISTRING value 
) const

Read string property value.

Returns:
TRUE if found, FALSE if not, < 0 if error.
Parameters:
id Property ID
value Value returned, will be unchanged if not found
int RVC::DBTABLE_PROPERTIES::ReadValue ( ID  id,
double &  value 
) const

Read numeric property value.

Returns:
TRUE if found, FALSE if not, < 0 if error.
Parameters:
id Property ID
value Value returned, will be unchanged if not found
ERRVALUE RVC::DBTABLE_PROPERTIES::WriteValue ( ID  id,
const MISTRING value 
)

Write string property value.

Parameters:
id Property ID
value Value to write
ERRVALUE RVC::DBTABLE_PROPERTIES::WriteValue ( ID  id,
double &  value 
)

Write numeric property value.

Parameters:
id Property ID
value Value to write

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

Generated on Sun Oct 7 21:37:11 2012 for TNTsdk 2012 by  doxygen 1.6.1