|
openDAQ
Open data acquisition platform
|
Collaboration diagram for Factories:Functions | |
| EnumerationTypePtr | EnumerationType (const StringPtr &typeName, const ListPtr< IString > &enumeratorNames, const Int firstEnumeratorIntValue=0) |
| Creates an Enumeration type with a given type name, enumerator names and first enumerator value. Enumerator values are automatically assigned in ascending order, starting from the specified first value. More... | |
| EnumerationTypePtr | EnumerationTypeWithValues (const StringPtr &typeName, const DictPtr< IString, IInteger > &enumerators) |
| Creates an Enumeration type for enum with a given type name, and dictionary of enumerator names and values. More... | |
|
inline |
Creates an Enumeration type with a given type name, enumerator names and first enumerator value. Enumerator values are automatically assigned in ascending order, starting from the specified first value.
| typeName | The name of the Enumeration type |
| enumeratorNames | The list of enumerator names (String objects) |
| firstEnumeratorIntValue | The Int value of first enumerator (Integer) |
|
inline |
Creates an Enumeration type for enum with a given type name, and dictionary of enumerator names and values.
| typeName | The name of the Enumeration type |
| enumerators | The dictionary of enumerators (String objects as keys, Integer objects as values) |