Xerces-C++ 3.2.4
PSVIAttributeList Class Reference

#include <xercesc/framework/psvi/PSVIAttributeList.hpp>

Inheritance diagram for PSVIAttributeList:
XMemory

Public Member Functions

Constructors
 PSVIAttributeList (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
 The default constructor.
Destructor
 ~PSVIAttributeList ()
Public Member Functions inherited from XMemory
void * operator new (size_t size)
 This method overrides operator new.
void * operator new (size_t size, MemoryManager *memMgr)
 This method defines a custom operator new, that will use the provided memory manager to perform the allocation.
void * operator new (size_t size, void *ptr)
 This method overrides placement operator new.
void operator delete (void *p)
 This method overrides operator delete.
void operator delete (void *p, MemoryManager *memMgr)
 This method provides a matching delete for the custom operator new.
void operator delete (void *p, void *ptr)
 This method provides a matching delete for the placement new.

PSVIAttributeList methods

XMLSize_t getLength () const
PSVIAttributegetAttributePSVIAtIndex (const XMLSize_t index)
const XMLChgetAttributeNameAtIndex (const XMLSize_t index)
const XMLChgetAttributeNamespaceAtIndex (const XMLSize_t index)
PSVIAttributegetAttributePSVIByName (const XMLCh *attrName, const XMLCh *attrNamespace)
PSVIAttributegetPSVIAttributeToFill (const XMLCh *attrName, const XMLCh *attrNS)
 methods needed by implementation
void reset ()
 reset the list

Additional Inherited Members

Protected Member Functions inherited from XMemory
 XMemory ()
 Protected default constructor.

Constructor & Destructor Documentation

◆ PSVIAttributeList()

PSVIAttributeList::PSVIAttributeList ( MemoryManager *const manager = XMLPlatformUtils::fgMemoryManager)

The default constructor.

Parameters
managerThe configurable memory manager

References XMLPlatformUtils::fgMemoryManager, and PSVIAttributeList().

Referenced by getAttributePSVIByName(), and PSVIAttributeList().

◆ ~PSVIAttributeList()

PSVIAttributeList::~PSVIAttributeList ( )

Member Function Documentation

◆ getAttributeNameAtIndex()

const XMLCh * PSVIAttributeList::getAttributeNameAtIndex ( const XMLSize_t index)

◆ getAttributeNamespaceAtIndex()

const XMLCh * PSVIAttributeList::getAttributeNamespaceAtIndex ( const XMLSize_t index)

◆ getAttributePSVIAtIndex()

PSVIAttribute * PSVIAttributeList::getAttributePSVIAtIndex ( const XMLSize_t index)

◆ getAttributePSVIByName()

PSVIAttribute * PSVIAttributeList::getAttributePSVIByName ( const XMLCh * attrName,
const XMLCh * attrNamespace )

◆ getLength()

XMLSize_t PSVIAttributeList::getLength ( ) const

◆ getPSVIAttributeToFill()

PSVIAttribute * PSVIAttributeList::getPSVIAttributeToFill ( const XMLCh * attrName,
const XMLCh * attrNS )

methods needed by implementation

returns a PSVI attribute of undetermined state and given name/namespace and makes that object part of the internal list. Intended to be called during validation of an element.

Parameters
attrNamename of this attribute
attrNSURI of the attribute
Returns
new, uninitialized, PSVIAttribute object

References PSVIAttributeStorage::fAttributeName, PSVIAttributeStorage::fAttributeNamespace, and PSVIAttributeStorage::fPSVIAttribute.

Referenced by getAttributePSVIByName().

◆ reset()

void PSVIAttributeList::reset ( )

reset the list

Referenced by getAttributePSVIByName().


The documentation for this class was generated from the following file: