3#include "Base/Headers/String.h"
4#include "Base/Headers/TranslatedString.h"
5#include "Design/Headers/DatasetManager.h"
The equivelent of std::vector but with a bit more control.
Forward declaration of the Model class.
A hash-based key-value store, useful for quick associative lookups.
The core String class for the NDEVR API.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
virtual String name() const override
Returns the dataset name identifier.
Buffer< Dataset * > m_state_sorted
The sorted list of state Dataset pointers.
virtual Dataset * child(const String &name) override
Returns the child dataset matching the given name.
static Buffer< USState > & StateList()
Returns the static list of all US states.
virtual Buffer< Dataset * > children() override
Returns the list of child state datasets.
virtual uint04 childCount() const override
Returns the number of states in the lookup.
Dictionary< String, Dataset * > m_state_lookup
Maps state abbreviations to Dataset pointers.
USStateLookup()
Constructs the USStateLookup and populates the state list.
The primary namespace for the NDEVR SDK.
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
constexpr StringView US_STATE_DATASET
Dataset name constant for US state boundary data.
USState(const TranslatedString &name, const char(&abv)[3])
Constructs a USState with a name and abbreviation.
const char m_abreviation[3]
The two-letter state abbreviation (e.g., "CA").
virtual TranslatedString title() const override
Returns the full translated state name.
virtual String name() const override
Returns the state abbreviation as the dataset name.
TranslatedString m_name
The full translated state name.