Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Hydra Core Library Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::XmlAttributeSet

Group:  XML Related

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.

Enumerations

enum EqualityType
  { 
    Name,
    Value
  };

Public Typedefs

typedef std::listIterator<rwsf::XmlAttribute>  iterator;

Public Constructors

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

Public Destructor

virtual
~XmlAttributeSet();

Public Member Operators

XmlAttributeSet&
operator=(const XmlAttributeSet& a);

Public Member Functions

void
add(const rwsf::XmlAttribute& attr);
void
add(const rwsf::XmlName&, const std::string&);
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) const;
std::string 
findValueByName(const std::string& attrName, 
                bool mustExist = true) const;
std::string&
getDefaultNamespaceAttribute() const;
XmlAttributeSet::iterator          
getIterator() const;
void
remove(const rwsf::XmlName& name);
void
remove(const rwsf::XmlAttribute& attr);
void
removeDefaultNamespaceAttribute();
void
removeNamespaceAttribute(const std::string& s);
void
removeNamespaceAttribute(const rwsf::XmlNamespace&);
void
setDefaultNamespaceAttribute(const rwsf::XmlNamespace& ns);
void               
unsetDefaultNamespaceAttribute();


Previous fileTop of DocumentContentsIndex pageNext file

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