Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::XmlAttributeSet

Group:  Core XML


Does not inherit

Local Index

Members

Header File

#include rwsf/core/XmlAttributeSet.h

Description

rwsf::XmlAttributeSet is a specialized collection class for rwsf::XmlAttribute objects, providing methods for inserting, iterating, and searching based on rwsf::XmlName values.

Public Typedefs

std::list< rwsf::XmlAttribute >::const_iterator const_iterator;
std::list< rwsf::XmlAttribute >::iterator iterator;

Public Constructors

XmlAttributeSet();
XmlAttributeSet(const XmlAttributeSet & a);

Public Destructors

virtual
~XmlAttributeSet();

Public Member Functions

void
add(const rwsf::XmlAttribute & attr);
void
add(const rwsf::XmlName & name,
    const std::string & value);
void
addNamespaceAttribute(const rwsf::XmlNamespace &);
void
clear();
bool
contains(const rwsf::XmlName & name) const;
bool
contains(const rwsf::XmlAttribute & attr) const;
size_t
entries() const;
bool
equalTo(const XmlAttributeSet & other,
    EqualityType type = Name) const;
bool
find(const rwsf::XmlName & name,
    rwsf::XmlAttribute & ret) const;
bool
find(const rwsf::XmlAttribute & attr,
    rwsf::XmlAttribute & ret) const;
bool
findNamespaceAttribute(const std::string & s,
    rwsf::XmlAttribute & ret);
bool
findNamespaceAttribute(const rwsf::XmlNamespace & s,
    rwsf::XmlAttribute & ret);
std::string
findValueByName(const std::string & attrName,
    bool mustExist = true) const;
std::string
getDefaultNamespaceAttribute() const;
XmlAttributeSet::iterator
getIteratorBegin() const;
XmlAttributeSet::iterator
getIteratorEnd() const;
void
remove(const rwsf::XmlName & name);
void
remove(const rwsf::XmlAttribute & attr);
void
removeDefaultNamespaceAttribute();
void
removeNamespaceAttribute(const rwsf::XmlNamespace & prefix);
void
removeNamespaceAttribute(const std::string & s);
void
setDefaultNamespaceAttribute(const std::string & s);
void
setDefaultNamespaceAttribute(const rwsf::XmlNamespace & ns);
void
setDefaultNamespaceAttribute(const rwsf::XmlAttribute & attr);
void
unsetDefaultNamespaceAttribute();

Public Operators

XmlAttributeSet &
operator=(const XmlAttributeSet & a);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.