Xalan-C++ API Reference
1.12.0
|
#include <xalanc/PlatformSupport/AttributesImpl.hpp>
Public Types | |
typedef XalanVector< AttributeVectorEntryExtended * > | AttributesVectorType |
Public Member Functions | |
AttributesImpl (MemoryManager &theManager XALAN_DEFAULT_MEMMGR) | |
virtual | ~AttributesImpl () |
AttributesImpl (const AttributesImpl &theSource, MemoryManager &theManager) | |
AttributesImpl (const AttributesType &theSource, MemoryManager &theManager) | |
AttributesImpl & | operator= (const AttributesImpl &theRHS) |
AttributesImpl & | operator= (const AttributesType &theRHS) |
virtual XalanSize_t | getLength () const |
virtual const XMLCh * | getURI (const XalanSize_t index) const |
virtual const XMLCh * | getLocalName (const XalanSize_t index) const |
virtual const XMLCh * | getQName (const XalanSize_t index) const |
virtual const XMLCh * | getType (const XalanSize_t index) const |
virtual const XMLCh * | getValue (const XalanSize_t index) const |
virtual bool | getIndex (const XMLCh *const uri, const XMLCh *const localPart, XalanSize_t &index) const |
virtual int | getIndex (const XMLCh *const uri, const XMLCh *const localPart) const |
virtual bool | getIndex (const XMLCh *const qName, XalanSize_t &index) const |
virtual int | getIndex (const XMLCh *const qname) const |
virtual const XMLCh * | getType (const XMLCh *const qname) const |
virtual const XMLCh * | getType (const XMLCh *const uri, const XMLCh *const localName) const |
virtual const XMLCh * | getValue (const XMLCh *const qname) const |
virtual const XMLCh * | getValue (const XMLCh *const uri, const XMLCh *const localName) const |
MemoryManager & | getMemoryManager () |
virtual void | clear () |
Remove all attributes from the list. More... | |
void | addAttribute (const XMLCh *qname, const XMLCh *type, const XMLCh *value) |
Adds an attribute to the attribute list. More... | |
void | addAttribute (const XMLCh *uri, const XMLCh *localName, const XMLCh *qname, const XMLCh *type, const XMLCh *value) |
Adds an attribute to the attribute list. More... | |
virtual bool | removeAttribute (const XMLCh *qname) |
Removes an attribute from the attribute list. More... | |
void | swap (AttributesImpl &theOther) |
Swap the contents of two instances. More... | |
void | reserve (XalanSize_t theCount) |
Reserve room for the given number of attributes. More... | |
Definition at line 48 of file AttributesImpl.hpp.
Definition at line 208 of file AttributesImpl.hpp.
|
explicit |
|
virtual |
xalanc::AttributesImpl::AttributesImpl | ( | const AttributesImpl & | theSource, |
MemoryManager & | theManager | ||
) |
xalanc::AttributesImpl::AttributesImpl | ( | const AttributesType & | theSource, |
MemoryManager & | theManager | ||
) |
|
inline |
Adds an attribute to the attribute list.
Does not check for duplicates.
qname | attribute qname |
type | attribute type, "CDATA," for example |
value | attribute value |
Definition at line 147 of file AttributesImpl.hpp.
void xalanc::AttributesImpl::addAttribute | ( | const XMLCh * | uri, |
const XMLCh * | localName, | ||
const XMLCh * | qname, | ||
const XMLCh * | type, | ||
const XMLCh * | value | ||
) |
Adds an attribute to the attribute list.
Does not check for duplicates.
uri | attribute namespace URI |
localName | attribute local name |
qname | attribute qname |
type | attribute type, "CDATA," for example |
value | attribute value |
|
virtual |
Remove all attributes from the list.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inline |
Definition at line 125 of file AttributesImpl.hpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
AttributesImpl& xalanc::AttributesImpl::operator= | ( | const AttributesImpl & | theRHS | ) |
AttributesImpl& xalanc::AttributesImpl::operator= | ( | const AttributesType & | theRHS | ) |
|
virtual |
Removes an attribute from the attribute list.
qname | attribute qname |
|
inline |
Reserve room for the given number of attributes.
theCount | The number to reserve |
Definition at line 202 of file AttributesImpl.hpp.
|
inline |
Swap the contents of two instances.
This must never throw an exception.
thOther | The instance with which to swap. |
Definition at line 190 of file AttributesImpl.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:29 for Xalan-C++ API Reference by 1.8.17