00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef skATTRIBUTE_H
00022 #define skATTRIBUTE_H
00023
00024 #include "skAlist.h"
00025 #include "skString.h"
00026 class CLASSEXPORT skOutputDestination;
00030 class CLASSEXPORT skAttribute
00031 {
00032 public:
00037 skAttribute(const skString& name,const skString& value)
00038 : m_Name(name),m_Value(value){
00039 }
00043 skString getName() const {
00044 return m_Name;
00045 }
00049 skString getValue() const {
00050 return m_Value;
00051 }
00053 void setValue(const skString& name){
00054 m_Value=name;
00055 }
00056 skString toString() const;
00057 void write(skOutputDestination& out);
00058 private:
00059 skString m_Name;
00060 skString m_Value;
00061 };
00062
00063 EXTERN_TEMPLATE template class CLASSEXPORT skTAList<skAttribute>;
00064
00068 class CLASSEXPORT skAttributeList : public skTAList<skAttribute>{
00069 };
00070 #endif