00001
00003 #ifndef _XMLSIMPLEATTR_H
00004 #define _XMLSIMPLEATTR_H
00005
00006 #include <string>
00007
00010 class XMLSimpleAttr {
00011
00012 std::string name;
00013 std::string value;
00014
00015 public:
00016
00018 XMLSimpleAttr();
00019
00023 XMLSimpleAttr(const XMLSimpleAttr & attr);
00024
00029 XMLSimpleAttr(const std::string & n, const std::string & v);
00030
00034 std::string getName() const;
00035
00039 std::string getValue() const;
00040
00044 void putName(const std::string & n);
00045
00049 void putValue(const std::string & v);
00050
00051 };
00052
00053 #endif // _XMLSIMPLEATTR_H