18 #if !defined(ATTRIBUTESIMPL_HEADER_GUARD_1357924680)
19 #define ATTRIBUTESIMPL_HEADER_GUARD_1357924680
32 #include <xercesc/sax2/Attributes.hpp>
40 class AttributeVectorEntryExtended;
59 MemoryManager& theManager);
62 MemoryManager& theManager);
75 getURI(
const XalanSize_t index)
const;
91 const XMLCh*
const uri,
92 const XMLCh*
const localPart,
93 XalanSize_t& index)
const;
97 const XMLCh*
const uri,
98 const XMLCh*
const localPart)
const;
102 const XMLCh*
const qName,
103 XalanSize_t& index)
const;
113 const XMLCh*
const uri,
114 const XMLCh*
const localName)
const;
121 const XMLCh*
const uri,
122 const XMLCh*
const localName)
const;
127 return m_attributesVector.getMemoryManager();
152 const XMLCh theDummy = 0;
154 addAttribute(&theDummy, &theDummy, qname, type, value);
170 const XMLCh* localName,
192 m_attributesVector.swap(theOther.m_attributesVector);
204 m_attributesVector.reserve(theCount);
219 eDefaultVectorSize = 5
227 const XMLCh* uri = 0,
228 const XMLCh* localName = 0);
232 deleteEntries(AttributesVectorType& theVector);
234 AttributesVectorType m_attributesVector;
236 AttributesVectorType m_cacheVector;
#define XALAN_DEFAULT_MEMMGR
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
AttributesImpl & operator=(const AttributesImpl &theRHS)
virtual XalanSize_t getLength() const
AttributesImpl(const AttributesType &theSource, MemoryManager &theManager)
XalanVector< AttributeVectorEntryExtended * > AttributesVectorType
virtual ~AttributesImpl()
virtual void clear()
Remove all attributes from the list.
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 bool getIndex(const XMLCh *const uri, const XMLCh *const localPart, XalanSize_t &index) const
AttributesImpl & operator=(const AttributesType &theRHS)
virtual const XMLCh * getQName(const XalanSize_t index) const
virtual const XMLCh * getType(const XalanSize_t index) const
virtual const XMLCh * getLocalName(const XalanSize_t index) const
AttributesImpl(const AttributesImpl &theSource, MemoryManager &theManager)
virtual const XMLCh * getURI(const XalanSize_t index) const
virtual const XMLCh * getValue(const XMLCh *const uri, const XMLCh *const localName) const
void addAttribute(const XMLCh *qname, const XMLCh *type, const XMLCh *value)
Adds an attribute to the attribute list.
void swap(AttributesImpl &theOther)
Swap the contents of two instances.
virtual bool getIndex(const XMLCh *const qName, XalanSize_t &index) const
AttributesImpl(MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
virtual int getIndex(const XMLCh *const uri, const XMLCh *const localPart) const
void reserve(XalanSize_t theCount)
Reserve room for the given number of attributes.
virtual int getIndex(const XMLCh *const qname) const
MemoryManager & getMemoryManager()
virtual const XMLCh * getValue(const XalanSize_t index) const
virtual bool removeAttribute(const XMLCh *qname)
Removes an attribute from the attribute list.
void addAttribute(const XMLCh *uri, const XMLCh *localName, const XMLCh *qname, const XMLCh *type, const XMLCh *value)
Adds an attribute to the attribute list.
xercesc::Attributes AttributesType
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)