deErrorTraceValue Class Reference

Error Trace Value. More...

#include <deErrorTraceValue.h>

List of all members.

Public Member Functions

Constructors and Destructors
 deErrorTraceValue (const char *name, const char *value)
 Creates a new error trace value object with the given name and value.
 ~deErrorTraceValue ()
 Cleans up the error trace object.
Management
const char * GetName () const
 Retrieves the name of the value.
const char * GetValue () const
 Retrieves the value.
void SetValue (const char *value)
 Sets the value.
void SetValueFrom (float value)
 Sets the value from a numeric value.
Trace SubValue Management
bool HasSubValues () const
 Determines if there exist trace values.
int GetSubValueCount () const
 Retrieves the count of trace values.
deErrorTraceValueGetSubValue (int index) const
 Retrieves the indexed trace value.
deErrorTraceValueFindSubValue (const char *name) const
 Retrieves the named trace value or NULL if not found.
void AddSubValue (deErrorTraceValue *value)
 Adds a new trace value.
void RemoveAllSubValues ()
 Removes all trace values.
Convenience Functions
deErrorTraceValueAddSubValue (const char *name, const char *value)
 Adds a new trace value with the given informations.
deErrorTraceValueAddSubValueInt (const char *name, int value)
 Adds a new trace value with the given informations.
deErrorTraceValueAddSubValueFloat (const char *name, float)
 Adds a new trace value with the given informations.
deErrorTraceValueAddSubValueBool (const char *name, bool value)
 Adds a new trace value with the given informations.

Detailed Description

Error Trace Value.

Error Trace Value objects contain additional informations about the values in use by the failing function.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deErrorTraceValue::deErrorTraceValue ( const char *  name,
const char *  value 
)

Creates a new error trace value object with the given name and value.

deErrorTraceValue::~deErrorTraceValue (  )

Cleans up the error trace object.


Member Function Documentation

void deErrorTraceValue::AddSubValue ( deErrorTraceValue value )

Adds a new trace value.

deErrorTraceValue* deErrorTraceValue::AddSubValue ( const char *  name,
const char *  value 
)

Adds a new trace value with the given informations.

deErrorTraceValue* deErrorTraceValue::AddSubValueBool ( const char *  name,
bool  value 
)

Adds a new trace value with the given informations.

deErrorTraceValue* deErrorTraceValue::AddSubValueFloat ( const char *  name,
float   
)

Adds a new trace value with the given informations.

deErrorTraceValue* deErrorTraceValue::AddSubValueInt ( const char *  name,
int  value 
)

Adds a new trace value with the given informations.

deErrorTraceValue* deErrorTraceValue::FindSubValue ( const char *  name ) const

Retrieves the named trace value or NULL if not found.

const char* deErrorTraceValue::GetName (  ) const [inline]

Retrieves the name of the value.

deErrorTraceValue* deErrorTraceValue::GetSubValue ( int  index ) const

Retrieves the indexed trace value.

int deErrorTraceValue::GetSubValueCount (  ) const [inline]

Retrieves the count of trace values.

const char* deErrorTraceValue::GetValue (  ) const [inline]

Retrieves the value.

bool deErrorTraceValue::HasSubValues (  ) const [inline]

Determines if there exist trace values.

void deErrorTraceValue::RemoveAllSubValues (  )

Removes all trace values.

void deErrorTraceValue::SetValue ( const char *  value )

Sets the value.

void deErrorTraceValue::SetValueFrom ( float  value )

Sets the value from a numeric value.


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