00001 00003 #include "CStringConfigParam.h" 00004 #include <TCLInterpreter.h> 00005 #include <TCLResult.h> 00006 00012 CStringConfigParam::CStringConfigParam (const string& rKey) : 00013 CConfigurationParameter(rKey) 00014 { 00015 00016 } 00020 CStringConfigParam::~CStringConfigParam ( ) 00021 { 00022 } 00026 CStringConfigParam::CStringConfigParam (const CStringConfigParam& rhs) 00027 : CConfigurationParameter (rhs) 00028 { 00029 } 00033 CStringConfigParam& 00034 CStringConfigParam::operator= (const CStringConfigParam& rhs) 00035 { 00036 00037 if (&rhs == this) { 00038 CConfigurationParameter::operator=(rhs); 00039 } 00040 return *this; 00041 } 00045 int 00046 CStringConfigParam::operator== (const CStringConfigParam& rhs) const 00047 { 00048 return CConfigurationParameter::operator==(rhs); 00049 } 00050 00051 // Functions for class CStringConfigParam 00052 00060 string 00061 CStringConfigParam::getOptionValue() 00062 { 00063 return getValue(); 00064 } 00065 00073 int 00074 CStringConfigParam::SetValue(CTCLInterpreter& rInterp, 00075 CTCLResult& rResult, 00076 const char* value) 00077 { 00078 return TCL_OK; 00079 } 00084 string 00085 CStringConfigParam::GetParameterFormat() 00086 { 00087 return string("string"); 00088 }