ALMaSS Rabbit ODdox  1.00
The rabbit model description following ODdox protocol
Public Member Functions | Private Attributes | List of all members
CfgStr Class Reference

String configurator entry class. More...

#include <configurator.h>

Inheritance diagram for CfgStr:
CfgBase

Public Member Functions

 CfgStr (const char *a_key, CfgSecureLevel a_level, const char *a_defval)
 
const char * value (void)
 
void set (char *a_newval)
 
virtual CfgType gettype (void)
 
- Public Member Functions inherited from CfgBase
 CfgBase (const char *a_key, CfgSecureLevel a_level)
 
virtual ~CfgBase (void)
 
const string getkey (void)
 
CfgSecureLevel getlevel (void)
 

Private Attributes

string m_string
 

Detailed Description

String configurator entry class.

Definition at line 132 of file configurator.h.

Constructor & Destructor Documentation

CfgStr::CfgStr ( const char *  a_key,
CfgSecureLevel  a_level,
const char *  a_defval 
)

Definition at line 123 of file configurator.cpp.

References m_string.

126  :CfgBase( a_key, a_level )
127 {
128  m_string = a_defval;
129 }
string m_string
Definition: configurator.h:134
CfgBase(const char *a_key, CfgSecureLevel a_level)

Member Function Documentation

virtual CfgType CfgStr::gettype ( void  )
inlinevirtual
void CfgStr::set ( char *  a_newval)
inline

Definition at line 140 of file configurator.h.

140 { m_string = a_newval; }
string m_string
Definition: configurator.h:134
const char* CfgStr::value ( void  )
inline

Member Data Documentation

string CfgStr::m_string
private

Definition at line 134 of file configurator.h.

Referenced by CfgStr().


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