RVC::MSTDATT Class Reference

Standard Attribute manager for geometric objects. More...

#include <rvc/mstdatt.h>

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

List of all members.

Classes

class  COMPSTAT

Public Types

enum  ADDSTAT { ADDSTAT_None = 0, ADDSTAT_MaxDim = 1, ADDSTAT_PointInPoly = 2, ADDSTAT_ZAttrib = 4 }
enum  TABLEFLAG { TABLEFLAG_None = 0, TABLEFLAG_OnlyIfExisting = 1, TABLEFLAG_UseExistingFields = 2 }

Public Member Functions

 MSTDATT ()
virtual ~MSTDATT ()=0
INT32 GetNumRecords () const
const RVC::DBTABLEGetStatTable () const
ERRVALUE RebuildTable (ADDSTAT AddStats=ADDSTAT_None)

Static Public Member Functions

static ERRVALUE BuildTable (const RVC::GEOMETRIC &GeoObj, ELEMTYPE ElemType, ADDSTAT AddStats=ADDSTAT_None, TABLEFLAG TableFlag=TABLEFLAG_None)

Protected Member Functions

INT32 AddRecord (const MSTATDATA &StatValues)
bool DoConvertToSqMeters () const
virtual RVC::DBTABLE::ATTACHMENT GetAttachmentType ()=0
virtual const ATTDEF * GetAttribDef ()=0
const COMPSTATGetCompStat () const
ERRVALUE GetPolygonMaxDim (const POLYLINE &PolyLine, MSTATDATA &StatValues)
virtual RVC::DBTABLE::REFELEM GetRefElem ()=0
bool HasField (int index) const
ERRVALUE ReadRecord (INT32 RecordNum, MSTATDATA &StatValues)
virtual ERRVALUE RebuildBaseTable ()=0
ERRVALUE Setup (const RVC::GEOMETRIC &GeoObj, RVC::DBASE &DBaseObj, ADDSTAT AddStats=ADDSTAT_None, TABLEFLAG TableFlag=TABLEFLAG_None)
virtual void v_CheckFields ()
virtual void v_GetTableDescriptor (RVC::DESCRIPTOR &Descriptor)=0
virtual bool v_SkipTable (RVC::DBTABLE::REFELEM RefElem) const
ERRVALUE WriteRecord (INT32 RecordNum, const MSTATDATA &StatValues)

Detailed Description

Standard Attribute manager for geometric objects.


Member Enumeration Documentation

Enumerator:
ADDSTAT_None 
ADDSTAT_MaxDim 
ADDSTAT_PointInPoly 
ADDSTAT_ZAttrib 
Enumerator:
TABLEFLAG_None 
TABLEFLAG_OnlyIfExisting 
TABLEFLAG_UseExistingFields 

Constructor & Destructor Documentation

RVC::MSTDATT::MSTDATT (  ) 

Default constructor.

virtual RVC::MSTDATT::~MSTDATT (  )  [pure virtual]

Default destructor.


Member Function Documentation

INT32 RVC::MSTDATT::AddRecord ( const MSTATDATA &  StatValues  )  [protected]
static ERRVALUE RVC::MSTDATT::BuildTable ( const RVC::GEOMETRIC GeoObj,
ELEMTYPE  ElemType,
ADDSTAT  AddStats = ADDSTAT_None,
TABLEFLAG  TableFlag = TABLEFLAG_None 
) [static]

Build the standard attribute table for the given geometric object.

bool RVC::MSTDATT::DoConvertToSqMeters (  )  const [protected]
virtual RVC::DBTABLE::ATTACHMENT RVC::MSTDATT::GetAttachmentType (  )  [protected, pure virtual]
virtual const ATTDEF* RVC::MSTDATT::GetAttribDef (  )  [protected, pure virtual]
const COMPSTAT& RVC::MSTDATT::GetCompStat (  )  const [inline, protected]
INT32 RVC::MSTDATT::GetNumRecords (  )  const

Get the number of records in the standard attribute table.

ERRVALUE RVC::MSTDATT::GetPolygonMaxDim ( const POLYLINE PolyLine,
MSTATDATA &  StatValues 
) [protected]
virtual RVC::DBTABLE::REFELEM RVC::MSTDATT::GetRefElem (  )  [protected, pure virtual]
const RVC::DBTABLE& RVC::MSTDATT::GetStatTable (  )  const [inline]
bool RVC::MSTDATT::HasField ( int  index  )  const [inline, protected]
ERRVALUE RVC::MSTDATT::ReadRecord ( INT32  RecordNum,
MSTATDATA &  StatValues 
) [protected]
virtual ERRVALUE RVC::MSTDATT::RebuildBaseTable (  )  [protected, pure virtual]
ERRVALUE RVC::MSTDATT::RebuildTable ( ADDSTAT  AddStats = ADDSTAT_None  ) 

Erase and rebuild the standard attribute table.

ERRVALUE RVC::MSTDATT::Setup ( const RVC::GEOMETRIC GeoObj,
RVC::DBASE DBaseObj,
ADDSTAT  AddStats = ADDSTAT_None,
TABLEFLAG  TableFlag = TABLEFLAG_None 
) [protected]
virtual void RVC::MSTDATT::v_CheckFields (  )  [protected, virtual]
virtual void RVC::MSTDATT::v_GetTableDescriptor ( RVC::DESCRIPTOR Descriptor  )  [protected, pure virtual]
virtual bool RVC::MSTDATT::v_SkipTable ( RVC::DBTABLE::REFELEM  RefElem  )  const [protected, virtual]
ERRVALUE RVC::MSTDATT::WriteRecord ( INT32  RecordNum,
const MSTATDATA &  StatValues 
) [protected]

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

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