Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | List of all members
AttributeListImpl Class Reference

#include <AttributeListImpl.hpp>

Inherits AttributeListType.

Public Types

typedef XalanVector< AttributeVectorEntry * > AttributeVectorType
 

Public Member Functions

 AttributeListImpl (MemoryManager &theManager)
 
virtual ~AttributeListImpl ()
 
 AttributeListImpl (const AttributeListImpl &theSource, MemoryManager &theManager)
 
 AttributeListImpl (const AttributeListType &theSource, MemoryManager &theManager)
 
AttributeListImploperator= (const AttributeListImpl &theRHS)
 
AttributeListImploperator= (const AttributeListType &theRHS)
 
MemoryManager & getMemoryManager ()
 
virtual XalanSize_t getLength () const
 
virtual const XMLCh * getName (const XalanSize_t index) const
 
virtual const XMLCh * getType (const XalanSize_t index) const
 
virtual const XMLCh * getValue (const XalanSize_t index) const
 
virtual const XMLCh * getType (const XMLCh *const name) const
 
virtual const XMLCh * getValue (const XMLCh *const name) const
 
virtual const XMLCh * getValue (const char *const name) const
 
virtual void clear ()
 Remove all attributes from the list. More...
 
virtual bool addAttribute (const XMLCh *name, const XMLCh *type, const XMLCh *value)
 Adds an attribute to the attribute list. More...
 
virtual bool removeAttribute (const XMLCh *name)
 Removes an attribute from the attribute list. More...
 
void swap (AttributeListImpl &theOther)
 Swap the contents of two instances. More...
 
void reserve (XalanSize_t theCount)
 Reserve room for the given number of attributes. More...
 

Detailed Description

Definition at line 49 of file AttributeListImpl.hpp.

Member Typedef Documentation

◆ AttributeVectorType

Definition at line 152 of file AttributeListImpl.hpp.

Constructor & Destructor Documentation

◆ AttributeListImpl() [1/3]

AttributeListImpl::AttributeListImpl ( MemoryManager &  theManager)
explicit

◆ ~AttributeListImpl()

virtual AttributeListImpl::~AttributeListImpl ( )
virtual

◆ AttributeListImpl() [2/3]

AttributeListImpl::AttributeListImpl ( const AttributeListImpl theSource,
MemoryManager &  theManager 
)

◆ AttributeListImpl() [3/3]

AttributeListImpl::AttributeListImpl ( const AttributeListType theSource,
MemoryManager &  theManager 
)

Member Function Documentation

◆ addAttribute()

virtual bool AttributeListImpl::addAttribute ( const XMLCh *  name,
const XMLCh *  type,
const XMLCh *  value 
)
virtual

Adds an attribute to the attribute list.

Parameters
nameattribute name
typeattribute type, "CDATA," for example
valueattribute value

◆ clear()

virtual void AttributeListImpl::clear ( )
virtual

Remove all attributes from the list.

◆ getLength()

virtual XalanSize_t AttributeListImpl::getLength ( ) const
virtual

◆ getMemoryManager()

MemoryManager& AttributeListImpl::getMemoryManager ( )
inline

Definition at line 72 of file AttributeListImpl.hpp.

◆ getName()

virtual const XMLCh* AttributeListImpl::getName ( const XalanSize_t  index) const
virtual

◆ getType() [1/2]

virtual const XMLCh* AttributeListImpl::getType ( const XalanSize_t  index) const
virtual

◆ getType() [2/2]

virtual const XMLCh* AttributeListImpl::getType ( const XMLCh *const  name) const
virtual

◆ getValue() [1/3]

virtual const XMLCh* AttributeListImpl::getValue ( const XalanSize_t  index) const
virtual

◆ getValue() [2/3]

virtual const XMLCh* AttributeListImpl::getValue ( const XMLCh *const  name) const
virtual

◆ getValue() [3/3]

virtual const XMLCh* AttributeListImpl::getValue ( const char *const  name) const
virtual

◆ operator=() [1/2]

AttributeListImpl& AttributeListImpl::operator= ( const AttributeListImpl theRHS)

◆ operator=() [2/2]

AttributeListImpl& AttributeListImpl::operator= ( const AttributeListType theRHS)

◆ removeAttribute()

virtual bool AttributeListImpl::removeAttribute ( const XMLCh *  name)
virtual

Removes an attribute from the attribute list.

Parameters
nameattribute name

◆ reserve()

void AttributeListImpl::reserve ( XalanSize_t  theCount)
inline

Reserve room for the given number of attributes.

Parameters
theCountThe number to reserve

Definition at line 146 of file AttributeListImpl.hpp.

◆ swap()

void AttributeListImpl::swap ( AttributeListImpl theOther)
inline

Swap the contents of two instances.

This must never throw an exception.

Parameters
thOtherThe instance with which to swap.

Definition at line 134 of file AttributeListImpl.hpp.


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

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo