Ipelib
|
Stores attributes of an XML tag. More...
#include <ipexml.h>
Stores attributes of an XML tag.
typedef Map::const_iterator ipe::XmlAttributes::const_iterator |
Iterator for (key, value) pairs.
XmlAttributes::XmlAttributes | ( | ) |
Constructor for an empty collection.
const_iterator ipe::XmlAttributes::begin | ( | ) | const [inline] |
Return const iterator for first attribute.
const_iterator ipe::XmlAttributes::end | ( | ) | const [inline] |
Return const iterator for end of attributes.
void XmlAttributes::clear | ( | ) |
Remove all attributes.
Return attribute with given key.
Returns an empty string if no attribute with this key exists.
bool XmlAttributes::has | ( | String | str | ) | const |
Check whether attribute exists.
Check whether attribute exists, set val
if so.
void ipe::XmlAttributes::setSlash | ( | ) | [inline] |
Set that the tag contains the final /.
bool ipe::XmlAttributes::slash | ( | ) | const [inline] |
Return whether tag contains the final /.