BASE::RCParamHandler Class Reference

Base class for TRCParamHandler. More...

Inherits BASE::RCHandleNewDelete, and BASE::RCLogSimplifier.

Inherited by BASE::TRCParamHandler< TData >, BASE::TRCParamHandler< RCComponentPointer >, BASE::TRCParamHandler< TParam >, BASE::TRCParamHandler< TRCList< TElement > >, BASE::TRCParamHandler< TReal >, and BASE::TRCParamHandler< TWord >.

Inheritance diagram for BASE::RCParamHandler:

Inheritance graph
[legend]
Collaboration diagram for BASE::RCParamHandler:

Collaboration graph
[legend]
List of all members.

Public Types

typedef void TParam

Public Member Functions

const RCStringGetTypeKey () const

Static Public Member Functions

static void ToStringCorrection (RCString &sString)
static void FromStringCorrection (RCString &sString)

Static Public Attributes

static const RCString LOG_NAME = _T("Parameter Handling")
static const RCString PREFIX = _T("\\")
static const RCString BLOCKSTART = _T("{")
static const RCString BLOCKEND = _T("}")
static const TChar PREFIX_CHAR = _T('\\')
static const TChar BLOCKSTART_CHAR = _T('{')
static const TChar BLOCKEND_CHAR = _T('}')
static const RCString CRITICALLIST = _T("\\{}")

Protected Member Functions

 RCParamHandler (const RCTypeInfo &TypeInfo)
virtual RCString ToStringVoid (const void *pData)=0
virtual TBool FromStringVoid (void *pData, const RCString &sValue)=0
TBool EditModalBase (const RCString &sTitle, RCParamHandler &Handler, void *pData, const RCString &sKey)

Protected Attributes

const RCString m_sTypeKey

Friends

class RCParamDlgHandlerBase

Detailed Description

Base class for TRCParamHandler.

Author:
Patrik Stellmann
This class is designed as base class for TRCParamHandler and provides the parameter handling functions that are type independent.


Member Function Documentation

void RCParamHandler::FromStringCorrection RCString sString  )  [static]
 

Replaces all esc-sequenced made by ToStringCorrection with the original characters. # "\\" -> "\" # "\a" -> "a" # "\\\\" -> "\\" # "\{" -> "{"

void RCParamHandler::ToStringCorrection RCString sString  )  [static]
 

Replaces all characters in the string by an esc-sequence to avoid conflicts with the structurd string conversion that could interpret these characters as delimiters. # "\" -> "\\" # "{" -> "\{" # "}" -> "\}"


The documentation for this class was generated from the following files:
Generated on Thu Feb 16 12:46:30 2006 for Simulator Bob by  doxygen 1.4.6-NO