|  | GL Studio C++ Runtime API
    | 
#include <dnc_util.h>
| Classes | |
| class | AttributePair | 
| Public Member Functions | |
| FeatureDescription (const char *const covName, const char *const featClassName, const char *const faccCode, const unsigned int featIndex, const char *const featureName, const VPFUtil::FeatureType featureType, const VPFUtil::Coord2DShort &location) | |
| ~FeatureDescription () | |
| bool | IsValid (void) const | 
| const char * | GetCoverageName (void) const | 
| const char * | GetFeatureClassName (void) const | 
| const char * | GetFACCCode (void) const | 
| unsigned int | GetFeatureIndex (void) const | 
| const char * | GetFeatureName (void) const | 
| VPFUtil::FeatureType | GetFeatureType (void) const | 
| VPFUtil::Coord2DShort | GetLocation (void) const | 
| unsigned int | GetAttributePairCount (void) const | 
| const AttributePair * | GetAttributePair (const unsigned int attribPairNum) const | 
| bool | AddAttributePair (AttributePair *const attributePair) | 
| Protected Types | |
| typedef VPFUtil::PointerArray< AttributePair > | AttributePairArray | 
| Protected Attributes | |
| VPFUtil::WarningBool | _isValid | 
| const DNCString | _covName | 
| const DNCString | _featClassName | 
| const DNCString | _faccCode | 
| const unsigned int | _featIndex | 
| const DNCString | _featureName | 
| const VPFUtil::FeatureType | _featureType | 
| const VPFUtil::Coord2DShort | _location | 
| AttributePairArray | _attributePairs | 
description of a feature in the query results
| 
 | protected | 
array of attribute pairs
| FeatureDescription | ( | const char *const | covName, | 
| const char *const | featClassName, | ||
| const char *const | faccCode, | ||
| const unsigned int | featIndex, | ||
| const char *const | featureName, | ||
| const VPFUtil::FeatureType | featureType, | ||
| const VPFUtil::Coord2DShort & | location | ||
| ) | 
Ctor
| covName | name of coverage that contains this feature | 
| featClassName | name of feature class that contains this feature | 
| faccCode | FACC code for feature else NULL if feature does not use FACC codes | 
| featIndex | zero based index into feature class for this feature | 
| featureName | name of feature | 
| featureType | type of feature | 
| location | location of feature | 
| ~FeatureDescription | ( | ) | 
Dtor
| bool AddAttributePair | ( | AttributePair *const | attributePair | ) | 
add an attribute pair to this description. NOTE: FeatureDescription does not deep copy the attribute pair and owns the attribute pair if this method returns success
| attributePair | attribute description | 
| const AttributePair* GetAttributePair | ( | const unsigned int | attribPairNum | ) | const | 
Get an attribute pair from this description
| attribPairNum | zero based index to desired attribute pair ( < GetAttributePairCount() ) | 
| unsigned int GetAttributePairCount | ( | void | ) | const | 
Get the number of attribute pairs in this feature description
| 
 | inline | 
Get the name of the coverage that contains this feature
| 
 | inline | 
Get the FACC code for feature else "" if feature does not use FACC codes
| 
 | inline | 
Get the name of the feature class that contains this feature
| 
 | inline | 
Get the zero based index into feature class for this feature
| 
 | inline | 
Get the name of the feature
| 
 | inline | 
Get the type of the feature
| 
 | inline | 
Get the location of the feature (lon/lat)
| 
 | inline | 
Determine if the feature description is valid
| 
 | protected | 
array of attribute pairs
| 
 | protected | 
name of coverage that contains this feature
| 
 | protected | 
FACC code for feature else "" if feature does not use FACC codes
| 
 | protected | 
name of feature class that contains this feature
| 
 | protected | 
zero based index into feature class for this feature
| 
 | protected | 
name of feature
| 
 | protected | 
feature type
| 
 | protected | 
true if feature description is valid else false
| 
 | protected | 
location of feature (lon/lat)