GL Studio C++ Runtime API
DNCUtil::QueryResults::FeatureDescription::AttributePair Class Reference

#include <dnc_util.h>

Public Member Functions

 AttributePair (const char *const attribName, const char *const attribVal)
 
 ~AttributePair ()
 
bool IsValid (void) const
 
const char * GetName (void) const
 
const char * GetValue (void) const
 

Protected Attributes

VPFUtil::WarningBool _isValid
 
const DNCString _attribName
 
const DNCString _attribVal
 

Detailed Description

encapsulates a feature attribute name and its value

Constructor & Destructor Documentation

AttributePair ( const char *const  attribName,
const char *const  attribVal 
)

Ctor

Parameters
attribNamename of feature attribute
attribValvalue of feature attribute

Dtor

Member Function Documentation

const char* GetName ( void  ) const
inline

Get the name of the feature attribute

Returns
name of the feature attribute
const char* GetValue ( void  ) const
inline

Get the value of the feature attribure

Returns
value of the feature attribure
bool IsValid ( void  ) const
inline

Determine if the attribute pair is valid

Returns
true if valid else false

Member Data Documentation

const DNCString _attribName
protected

name of feature attribute

const DNCString _attribVal
protected

value of feature attribute

VPFUtil::WarningBool _isValid
protected

true if attribute pair is valid else false


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