![]() |
NDEVR
API Documentation
|
Provides lookup of US states as a hierarchical dataset. More...
Public Member Functions | |
| USStateLookup () | |
| Constructs the USStateLookup and populates the state list. | |
| virtual Dataset * | child (const String &name) override |
| Returns the child dataset matching the given name. | |
| virtual uint04 | childCount () const override |
| Returns the number of states in the lookup. | |
| virtual Buffer< Dataset * > | children () override |
| Returns the list of child state datasets. | |
| virtual String | name () const override |
| Returns the dataset name identifier. | |
| Public Member Functions inherited from Dataset | |
| virtual | ~Dataset () |
| Destructor. | |
| virtual Bounds< 3, fltp08 > | bounds () const |
| Returns the 3D spatial bounding box of this dataset. | |
| virtual TranslatedString | description () const |
| Returns a translated description of this dataset. | |
| virtual String | icon () const |
| Returns the icon resource name associated with this dataset. | |
| virtual bool | setupModel (Model &) |
| Configures the given Model using data from this dataset. | |
| virtual TranslatedString | title () const |
| Returns the user-facing translated title of this dataset. | |
Static Public Member Functions | |
| static Buffer< USState > & | StateList () |
| Returns the static list of all US states. | |
Protected Attributes | |
| Dictionary< String, Dataset * > | m_state_lookup |
| Maps state abbreviations to Dataset pointers. | |
| Buffer< Dataset * > | m_state_sorted |
| The sorted list of state Dataset pointers. | |
Provides lookup of US states as a hierarchical dataset.
Definition at line 39 of file StateLookup.h.
|
overridevirtual |
|
inlineoverridevirtual |
Returns the dataset name identifier.
Implements Dataset.
Definition at line 46 of file StateLookup.h.
References US_STATE_DATASET.
Referenced by child().
Returns the static list of all US states.