Represents a logger variable stored in the environment. More...
Collaboration diagram for MAKLogger::DtLgrEnvVariable:Public Types | |
| typedef DtAnyValue *(* | DtAnyValueEncoder )(const DtString &) |
Public Member Functions | |
| DtLgrEnvVariable () | |
| Default CTOR, type and value are empty strings. | |
| DtLgrEnvVariable (const DtString &type, const DtString &value) | |
| Create an environment variable with a type and value string. | |
| DtLgrEnvVariable (const DtEnvObject *) | |
| Initialize a variable type and value using the objects type and value strings. | |
| void | setType (const DtString &type) |
| DtString | type () const |
| void | setValue (const DtString &value) |
| DtString | value () const |
| DtAnyValue * | generateAnyValue () const |
Static Public Member Functions | |
| static void | addDefaultTypeEncoders () |
| static void | addTypeEncoder (const DtString &, DtAnyValueEncoder encoder) |
Protected Types | |
|
typedef std::map< DtString, DtAnyValueEncoder > | DtAnyValueEncoderMap |
Static Protected Member Functions | |
| static DtAnyValue * | generateStringValue (const DtString &) |
| static DtAnyValue * | generateIntegerValue (const DtString &) |
| static DtAnyValue * | generateDoubleValue (const DtString &) |
| static DtAnyValue * | generateBooleanValue (const DtString &) |
Protected Attributes | |
| DtString | myType |
| DtString | myValue |
Static Protected Attributes | |
| static DtAnyValueEncoderMap | theEncoderMap |
Represents a logger variable stored in the environment.
| MAKLogger::DtLgrEnvVariable::DtLgrEnvVariable | ( | const DtEnvObject * | ) | [explicit] |
Initialize a variable type and value using the objects type and value strings.