00001 
00002 
00003 #ifndef _STR_H
00004 #define _STR_H
00005 
00006 #include "fvalue.h"
00007 #include "xmlsimplestruct.h"
00008 #include <string>
00009 
00012 class STR: public FValue {
00013   std::string katea;  
00014 
00015 public:
00016   
00018   STR();
00019 
00023   STR(const std::string & katea);
00024 
00028   STR(const STR & str);
00029   
00032   operator FValue*() const;
00033   
00038   bool operator ==(const FValue & fv) const;
00039 
00044   bool operator !=(const FValue & fv) const;
00045 
00049   void      putValue(const std::string & katea);  
00050  
00054   std::string    getValue() const;           
00055   
00060   XMLSimpleNode* toXML(XMLSimpleStruct* xmlstruct) const;                 
00061   
00065   void init(XMLSimpleNode* strItem) throw (char*);   
00066   
00067 
00068 };
00069 
00070 
00071 #endif // _STR_H