00001 /*************************************************************************** 00002 attribute.h - description 00003 ------------------- 00004 begin : mar avr 11 2006 00005 copyright : (C) 2006 by 00006 - Sylvain Archenault <sylvain.archenault@laposte.net> 00007 - Yves Houpert <yves.houpert@insa-rouen.fr> 00008 00009 ***************************************************************************/ 00010 00011 /*************************************************************************** 00012 * * 00013 * This program is free software; you can redistribute it and/or modify * 00014 * it under the terms of the GNU General Public License as published by * 00015 * the Free Software Foundation; either version 2 of the License, or * 00016 * (at your option) any later version. * 00017 * * 00018 ***************************************************************************/ 00019 00020 #ifndef ATTRIBUTE_H 00021 #define ATTRIBUTE_H 00022 00023 #include <string> 00024 00025 using namespace std; 00026 00035 class Attribute{ 00036 public: 00040 Attribute(const string& sName,const string& sValue); 00041 00043 ~Attribute(); 00044 00047 string getValue() const { return m_sAttributeValue; } 00048 00051 string getName() const { return m_sAttributeName; } 00052 00053 protected: 00055 string m_sAttributeValue; 00057 string m_sAttributeName; 00058 }; 00059 00060 #endif 00061
1.4.6