GlsMap Toolkit
1.3.1
|
#include <dnc_util.h>
Classes | |
class | FeatureDescription |
Public Member Functions | |
QueryResults (const unsigned int libNum, const char *const libName) | |
~QueryResults () | |
bool | IsValid (void) const |
unsigned int | GetLibraryNumber (void) const |
const char * | GetLibraryName (void) const |
unsigned int | GetFeatureDescriptionCount (void) const |
const FeatureDescription * | GetFeatureDescription (const unsigned int featDescIndex) const |
bool | AddFeatureDescription (FeatureDescription *const featureDescription) |
Protected Types | |
typedef VPFUtil::PointerArray< FeatureDescription > | FeatureDescriptionArray |
Protected Attributes | |
VPFUtil::WarningBool | _isValid |
const unsigned int | _libNum |
const DNCString | _libName |
FeatureDescriptionArray | _featureDescriptions |
encapsulates the results of a map query
|
protected |
array of FeatureDescription pointers
DNCUtil::QueryResults::QueryResults | ( | const unsigned int | libNum, |
const char *const | libName | ||
) |
Ctor
libNum | zero based library index into database for library containing results |
libName | name of library that contains results |
DNCUtil::QueryResults::~QueryResults | ( | ) |
Dtor
bool DNCUtil::QueryResults::AddFeatureDescription | ( | FeatureDescription *const | featureDescription | ) |
Add the given feature description to the results. NOTE: QueryResults does not deep copy the description and owns the description if this method returns success
featureDescription | description in question |
const DNCUtil::QueryResults::FeatureDescription * DNCUtil::QueryResults::GetFeatureDescription | ( | const unsigned int | featDescIndex | ) | const |
Get a feature description in the results
featDescIndex | zero based index to desired description ( < GetFeatureDescriptionCount() ) |
unsigned int DNCUtil::QueryResults::GetFeatureDescriptionCount | ( | void | ) | const |
Get the number of feature descriptions in the results
|
inline |
Get the name of library that contains results
|
inline |
Get the zero based library index into database for library containing results
|
inline |
Determine if the results are valid
|
protected |
array of feature descriptions
|
protected |
true if results are valid else false
|
protected |
name of library that contains results
|
protected |
zero based library index into database for library containing results