Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
MAKLogger::DtLgrEnvVariable Class Reference

Represents a logger variable stored in the environment. More...

+ Collaboration diagram for MAKLogger::DtLgrEnvVariable:

List of all members.

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
DtAnyValuegenerateAnyValue () 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 DtAnyValuegenerateStringValue (const DtString &)
static DtAnyValuegenerateIntegerValue (const DtString &)
static DtAnyValuegenerateDoubleValue (const DtString &)
static DtAnyValuegenerateBooleanValue (const DtString &)

Protected Attributes

DtString myType
DtString myValue

Static Protected Attributes

static DtAnyValueEncoderMap theEncoderMap

Detailed Description

Represents a logger variable stored in the environment.


Constructor & Destructor Documentation

MAKLogger::DtLgrEnvVariable::DtLgrEnvVariable ( const DtEnvObject *  ) [explicit]

Initialize a variable type and value using the objects type and value strings.


The documentation for this class was generated from the following file:

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)