00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00028 #ifndef _RTXCPPANYELEMENT_H_
00029 #define _RTXCPPANYELEMENT_H_
00030
00031 #include "rtxsrc/rtxCommon.h"
00032 #include "rtxsrc/rtxCppBaseType.h"
00033 #include "rtxsrc/rtxPrint.h"
00034
00039 class EXTERNRTX OSAnyElementClass :
00040 public OSAnyElement, public OSBaseType
00041 {
00042 public:
00046 OSAnyElementClass();
00047
00055 OSAnyElementClass(OSBOOL ownMemory);
00056
00064 OSAnyElementClass (const OSUTF8CHAR* name, const OSUTF8CHAR* value);
00065
00074 OSAnyElementClass (const char* name, const char* value);
00075
00085 OSAnyElementClass
00086 (OSUTF8CHAR* name, OSUTF8CHAR* value, OSBOOL ownMemory=FALSE);
00087
00094 OSAnyElementClass (OSAnyElement& os);
00095
00102 OSAnyElementClass (const OSAnyElementClass& os);
00103
00108 virtual ~OSAnyElementClass();
00109
00118 void copyValue (const OSUTF8CHAR* name, const OSUTF8CHAR* value);
00119
00125 inline void print (const char* name) { rtxPrintNVP (name, this); }
00126
00135 void setValue (const OSUTF8CHAR* name, const OSUTF8CHAR* value);
00136
00137 } ;
00138
00139 #endif