GL Studio C++ Runtime API
DNCUtil::FACCArray Class Reference

#include <dnc_util.h>

Classes

struct  FACC
 

Public Member Functions

 FACCArray (void)
 
 ~FACCArray ()
 
bool IsValid (void) const
 
unsigned int GetCount (void) const
 
bool InsertFACC (const char *const facc, const unsigned int faccIndex)
 
const FACCFindFACC (const char *const facc) const
 
const FACCGetFACC (const unsigned int faccIndex) const
 

Protected Attributes

VPFUtil::PointerArray< FACC_faccs
 

Detailed Description

encapsulates an array of Feature and Attribute Coding Catalog codes ( see MIL-PRF-89023 ) describing the set of FACC codes used by a feature class

Constructor & Destructor Documentation

FACCArray ( void  )
inline

Ctor

~FACCArray ( )
inline

Dtor

Member Function Documentation

const FACC* FindFACC ( const char *const  facc) const

Determine if the given FACC code is in the array

Parameters
facccode in question
Returns
FACC if found else NULL
unsigned int GetCount ( void  ) const
inline

Get the number of FACC codes in the array

Returns
number of FACC codes in the array
const FACC* GetFACC ( const unsigned int  faccIndex) const
inline

Get the FACC code at the given index

Parameters
faccIndexzero based index into array ( < GetCount() )
Returns
facc code else NULL
bool InsertFACC ( const char *const  facc,
const unsigned int  faccIndex 
)

Insert a FACC code into the array

Parameters
facccode to insert (deep copied into array)
faccIndexzero based index into value descriptor table for facc code
Returns
true if success else false
bool IsValid ( void  ) const
inline

Determine if the array is valid

Returns
true if valid else false

Member Data Documentation

VPFUtil::PointerArray<FACC> _faccs
protected

array of FACC pointers


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