Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Default implementation of XML attributes. More...
#include <ilog/xml.h>
Public Member Functions | |
virtual | ~IlXmlAttribute () |
Destructor. | |
virtual const char * | getName () const |
Gets the name of this attribute. | |
virtual const char * | getValue () const |
Gets the value of this attribute. | |
virtual void | storeName (char *) |
Stores the name of this attribute. | |
virtual void | storeValue (char *name) |
Stores the value of this attribute. |
Default implementation of XML attributes.
Library: ilog
This class defines a default implementation of XML attribute objects. It is provided for convenience, so that you can manipulate XML attributes without having to create a subclass from IlXmlAttributeI
.
This class actually stores the key-pair values as strings.
virtual IlXmlAttribute::~IlXmlAttribute | ( | ) | [virtual] |
Destructor.
The destructor deletes the strings that contain the attribute name and its value.
virtual const char* IlXmlAttribute::getName | ( | ) | const [virtual] |
Gets the name of this attribute.
Implements IlXmlAttributeI.
virtual const char* IlXmlAttribute::getValue | ( | ) | const [virtual] |
Gets the value of this attribute.
You must provide an implementation of getValue
if you create a subclass of IlXmlAttributeI
.
Implements IlXmlAttributeI.
virtual void IlXmlAttribute::storeName | ( | char * | name | ) | [virtual] |
Stores the name of this attribute.
You must provide an implementation of storeName
if you create a subclass of IlXmlAttributeI
.
value | The new name of this attribute. The string is directly stored in this object. No copy is performed. |
Implements IlXmlAttributeI.
virtual void IlXmlAttribute::storeValue | ( | char * | value | ) | [virtual] |
Stores the value of this attribute.
You must provide an implementation of storeValue
if you create a subclass of IlXmlAttributeI
.
value | The new value of this attribute. The string is directly stored in this object. No copy is performed. |
Implements IlXmlAttributeI.
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.