27#ifndef GXMLATTRIBUTE_HPP
28#define GXMLATTRIBUTE_HPP
72 const std::string&
name(
void)
const;
73 const std::string&
value(
void)
const;
98 return (
"GXmlAttribute");
Definition of interface for all GammaLib classes.
Abstract URL base class interface definition.
Interface class for all GammaLib classes.
std::string classname(void) const
Return class name.
void init_members(void)
Initialise class members.
GXmlAttribute & operator=(const GXmlAttribute &attr)
Assignment operator.
virtual ~GXmlAttribute(void)
Destructor.
std::string m_name
Attribute name.
void copy_members(const GXmlAttribute &attr)
Copy class members.
void free_members(void)
Delete class members.
std::string print(const GChatter &chatter=NORMAL) const
Print element attribute.
std::string m_value
Attribute value.
const std::string & value(void) const
Return attribute value.
GXmlAttribute(void)
Void constructor.
void write(GUrl &url) const
Write attribute into URL.
GXmlAttribute * clone(void) const
Clone element attribute.
const std::string & name(void) const
Return attribute name.
void clear(void)
Clear element attribute.