#include <UniqueList.h>
Public Member Functions | |
| UniqueList (const std::string &name) | |
| void | insert (const Data *) |
| unsigned | getLevels (void) const |
| unsigned | getAllLevels (void) const |
| getLevels returns the number of non-missing levels. | |
| unsigned | getCount (void) const |
| getAllLevels returns the number of non-missing levels and one missing level if present | |
| unsigned | getCountMissing (void) const |
| void | assignOrdinals (void) |
| unsigned | getOrdinalForKey (const Data *dp) const |
| void | getOrdinalAndLabelForKey (const Data *dp, std::string &label, unsigned &ordinal) const |
| std::vector< std::string > | getLabels (void) const |
| void | printResults (void) const |
Private Types | |
| typedef std::map< const Data *const, CategoricalInformation, _compareData > | UNIQUELIST |
Private Attributes | |
| std::string | _name |
| unsigned | _levels |
| unsigned | _count |
| unsigned | _countMissing |
| UNIQUELIST | _uniqueList |
Classes | |
| struct | _compareData |
|
|
|
|
|
|
|
|
|
|
|
getLevels returns the number of non-missing levels.
|
|
|
getAllLevels returns the number of non-missing levels and one missing level if present
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4