Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions | Static Public Member Functions | List of all members
XalanVector< Type, ConstructionTraits > Class Template Reference

#include <XalanVector.hpp>

Public Types

typedef Type value_type
 
typedef value_typepointer
 
typedef const value_typeconst_pointer
 
typedef value_typereference
 
typedef const value_typeconst_reference
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef value_typeiterator
 
typedef const value_typeconst_iterator
 
typedef XALAN_STD_QUALIFIER reverse_iterator< iterator, value_typereverse_iterator_
 
typedef XALAN_STD_QUALIFIER reverse_iterator< const_iterator, value_type, const_referenceconst_reverse_iterator_
 
typedef reverse_iterator_ reverse_iterator
 
typedef const_reverse_iterator_ const_reverse_iterator
 
typedef XalanVector< value_type, ConstructionTraits > ThisType
 
typedef ConstructionTraits::Constructor Constructor
 
typedef Constructor::ConstructableType ConstructibleType
 

Public Member Functions

 XalanVector (MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR, size_type initialAllocation=size_type(0))
 
 XalanVector (const ThisType &theSource, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR, size_type theInitialAllocation=size_type(0))
 
 XalanVector (const_iterator theFirst, const_iterator theLast, MemoryManager &theManager)
 
 XalanVector (size_type theInsertSize, const value_type &theData, MemoryManager &theManager)
 
 ~XalanVector ()
 
void push_back (const value_type &data)
 
void pop_back ()
 
iterator erase (iterator theFirst, iterator theLast)
 
iterator erase (iterator position)
 
void insert (iterator thePosition, const_iterator theFirst, const_iterator theLast)
 
void insert (iterator thePosition, size_type theCount, const value_type &theData)
 
iterator insert (iterator thePosition, const value_type &theData)
 
void assign (const_iterator theFirst, const_iterator theLast)
 
void assign (iterator theFirst, iterator theLast)
 
void assign (size_type theCount, const value_type &theData)
 
size_type size () const
 
size_type max_size () const
 
void resize (size_type theSize)
 
void resize (size_type theSize, const value_type &theValue)
 
size_type capacity () const
 
bool empty () const
 
void reserve (size_type theSize)
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
reference at (size_type theIndex)
 
const_reference at (size_type theIndex) const
 
reference operator[] (size_type theIndex)
 
const_reference operator[] (size_type theIndex) const
 
void clear ()
 
ThisTypeoperator= (const ThisType &theRHS)
 
void swap (ThisType &theOther)
 
const MemoryManager & getMemoryManager () const
 
MemoryManager & getMemoryManager ()
 
pointer detach ()
 

Static Public Member Functions

static XalanVectorcreate (MemoryManager &theManager, size_type initialAllocation=size_type(0))
 
static XalanVectorcreate (const_iterator theFirst, const_iterator theLast, MemoryManager &theManager)
 

Detailed Description

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
class XalanVector< Type, ConstructionTraits >

Definition at line 58 of file XalanVector.hpp.

Member Typedef Documentation

◆ const_iterator

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef const value_type* XalanVector< Type, ConstructionTraits >::const_iterator

Definition at line 89 of file XalanVector.hpp.

◆ const_pointer

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef const value_type* XalanVector< Type, ConstructionTraits >::const_pointer

Definition at line 65 of file XalanVector.hpp.

◆ const_reference

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef const value_type& XalanVector< Type, ConstructionTraits >::const_reference

Definition at line 67 of file XalanVector.hpp.

◆ const_reverse_iterator

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef const_reverse_iterator_ XalanVector< Type, ConstructionTraits >::const_reverse_iterator

Definition at line 118 of file XalanVector.hpp.

◆ const_reverse_iterator_

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef XALAN_STD_QUALIFIER reverse_iterator< const_iterator, value_type, const_reference> XalanVector< Type, ConstructionTraits >::const_reverse_iterator_

Definition at line 114 of file XalanVector.hpp.

◆ ConstructibleType

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef Constructor::ConstructableType XalanVector< Type, ConstructionTraits >::ConstructibleType

Definition at line 123 of file XalanVector.hpp.

◆ Constructor

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef ConstructionTraits::Constructor XalanVector< Type, ConstructionTraits >::Constructor

Definition at line 122 of file XalanVector.hpp.

◆ difference_type

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef ptrdiff_t XalanVector< Type, ConstructionTraits >::difference_type

Definition at line 69 of file XalanVector.hpp.

◆ iterator

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef value_type* XalanVector< Type, ConstructionTraits >::iterator

Definition at line 88 of file XalanVector.hpp.

◆ pointer

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef value_type* XalanVector< Type, ConstructionTraits >::pointer

Definition at line 64 of file XalanVector.hpp.

◆ reference

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef value_type& XalanVector< Type, ConstructionTraits >::reference

Definition at line 66 of file XalanVector.hpp.

◆ reverse_iterator

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef reverse_iterator_ XalanVector< Type, ConstructionTraits >::reverse_iterator

Definition at line 117 of file XalanVector.hpp.

◆ reverse_iterator_

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef XALAN_STD_QUALIFIER reverse_iterator< iterator, value_type> XalanVector< Type, ConstructionTraits >::reverse_iterator_

Definition at line 110 of file XalanVector.hpp.

◆ size_type

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef size_t XalanVector< Type, ConstructionTraits >::size_type

Definition at line 68 of file XalanVector.hpp.

◆ ThisType

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef XalanVector<value_type, ConstructionTraits> XalanVector< Type, ConstructionTraits >::ThisType

Definition at line 120 of file XalanVector.hpp.

◆ value_type

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
typedef Type XalanVector< Type, ConstructionTraits >::value_type

Definition at line 63 of file XalanVector.hpp.

Constructor & Destructor Documentation

◆ XalanVector() [1/4]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
XalanVector< Type, ConstructionTraits >::XalanVector ( MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR,
size_type  initialAllocation = size_type(0) 
)
inline

Definition at line 125 of file XalanVector.hpp.

◆ XalanVector() [2/4]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
XalanVector< Type, ConstructionTraits >::XalanVector ( const ThisType theSource,
MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR,
size_type  theInitialAllocation = size_type(0) 
)
inline

Definition at line 153 of file XalanVector.hpp.

◆ XalanVector() [3/4]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
XalanVector< Type, ConstructionTraits >::XalanVector ( const_iterator  theFirst,
const_iterator  theLast,
MemoryManager &  theManager 
)
inline

Definition at line 181 of file XalanVector.hpp.

◆ XalanVector() [4/4]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
XalanVector< Type, ConstructionTraits >::XalanVector ( size_type  theInsertSize,
const value_type theData,
MemoryManager &  theManager 
)
inline

Definition at line 218 of file XalanVector.hpp.

◆ ~XalanVector()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
XalanVector< Type, ConstructionTraits >::~XalanVector ( )
inline

Definition at line 236 of file XalanVector.hpp.

Member Function Documentation

◆ assign() [1/3]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::assign ( const_iterator  theFirst,
const_iterator  theLast 
)
inline

Definition at line 541 of file XalanVector.hpp.

◆ assign() [2/3]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::assign ( iterator  theFirst,
iterator  theLast 
)
inline

Definition at line 554 of file XalanVector.hpp.

◆ assign() [3/3]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::assign ( size_type  theCount,
const value_type theData 
)
inline

Definition at line 564 of file XalanVector.hpp.

◆ at() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
reference XalanVector< Type, ConstructionTraits >::at ( size_type  theIndex)
inline

Definition at line 754 of file XalanVector.hpp.

◆ at() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
const_reference XalanVector< Type, ConstructionTraits >::at ( size_type  theIndex) const
inline

Definition at line 765 of file XalanVector.hpp.

◆ back() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
reference XalanVector< Type, ConstructionTraits >::back ( )
inline

Definition at line 677 of file XalanVector.hpp.

◆ back() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
const_reference XalanVector< Type, ConstructionTraits >::back ( ) const
inline

Definition at line 683 of file XalanVector.hpp.

◆ begin() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
iterator XalanVector< Type, ConstructionTraits >::begin ( )
inline

Definition at line 689 of file XalanVector.hpp.

◆ begin() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
const_iterator XalanVector< Type, ConstructionTraits >::begin ( ) const
inline

Definition at line 697 of file XalanVector.hpp.

◆ capacity()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
size_type XalanVector< Type, ConstructionTraits >::capacity ( ) const
inline

Definition at line 632 of file XalanVector.hpp.

◆ clear()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::clear ( )
inline

Definition at line 792 of file XalanVector.hpp.

◆ create() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
static XalanVector* XalanVector< Type, ConstructionTraits >::create ( MemoryManager &  theManager,
size_type  initialAllocation = size_type(0) 
)
inlinestatic

Definition at line 137 of file XalanVector.hpp.

◆ create() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
static XalanVector* XalanVector< Type, ConstructionTraits >::create ( const_iterator  theFirst,
const_iterator  theLast,
MemoryManager &  theManager 
)
inlinestatic

Definition at line 201 of file XalanVector.hpp.

◆ detach()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
pointer XalanVector< Type, ConstructionTraits >::detach ( )
inline

Definition at line 897 of file XalanVector.hpp.

◆ empty()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
bool XalanVector< Type, ConstructionTraits >::empty ( ) const
inline

Definition at line 640 of file XalanVector.hpp.

◆ end() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
iterator XalanVector< Type, ConstructionTraits >::end ( )
inline

Definition at line 705 of file XalanVector.hpp.

◆ end() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
const_iterator XalanVector< Type, ConstructionTraits >::end ( ) const
inline

Definition at line 713 of file XalanVector.hpp.

◆ erase() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
iterator XalanVector< Type, ConstructionTraits >::erase ( iterator  theFirst,
iterator  theLast 
)
inline

Definition at line 271 of file XalanVector.hpp.

◆ erase() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
iterator XalanVector< Type, ConstructionTraits >::erase ( iterator  position)
inline

Definition at line 293 of file XalanVector.hpp.

◆ front() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
reference XalanVector< Type, ConstructionTraits >::front ( )
inline

Definition at line 661 of file XalanVector.hpp.

◆ front() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
const_reference XalanVector< Type, ConstructionTraits >::front ( ) const
inline

Definition at line 669 of file XalanVector.hpp.

◆ getMemoryManager() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
const MemoryManager& XalanVector< Type, ConstructionTraits >::getMemoryManager ( ) const
inline

Definition at line 877 of file XalanVector.hpp.

◆ getMemoryManager() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
MemoryManager& XalanVector< Type, ConstructionTraits >::getMemoryManager ( )
inline

Definition at line 885 of file XalanVector.hpp.

◆ insert() [1/3]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::insert ( iterator  thePosition,
const_iterator  theFirst,
const_iterator  theLast 
)
inline

Definition at line 299 of file XalanVector.hpp.

◆ insert() [2/3]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::insert ( iterator  thePosition,
size_type  theCount,
const value_type theData 
)
inline

Definition at line 418 of file XalanVector.hpp.

◆ insert() [3/3]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
iterator XalanVector< Type, ConstructionTraits >::insert ( iterator  thePosition,
const value_type theData 
)
inline

Definition at line 519 of file XalanVector.hpp.

◆ max_size()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
size_type XalanVector< Type, ConstructionTraits >::max_size ( ) const
inline

Definition at line 582 of file XalanVector.hpp.

◆ operator=()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
ThisType& XalanVector< Type, ConstructionTraits >::operator= ( const ThisType theRHS)
inline

Definition at line 806 of file XalanVector.hpp.

◆ operator[]() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
reference XalanVector< Type, ConstructionTraits >::operator[] ( size_type  theIndex)
inline

Definition at line 776 of file XalanVector.hpp.

◆ operator[]() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
const_reference XalanVector< Type, ConstructionTraits >::operator[] ( size_type  theIndex) const
inline

Definition at line 784 of file XalanVector.hpp.

◆ pop_back()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::pop_back ( )
inline

Definition at line 259 of file XalanVector.hpp.

◆ push_back()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::push_back ( const value_type data)
inline

Definition at line 249 of file XalanVector.hpp.

◆ rbegin() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
reverse_iterator XalanVector< Type, ConstructionTraits >::rbegin ( )
inline

Definition at line 721 of file XalanVector.hpp.

◆ rbegin() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
const_reverse_iterator XalanVector< Type, ConstructionTraits >::rbegin ( ) const
inline

Definition at line 729 of file XalanVector.hpp.

◆ rend() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
reverse_iterator XalanVector< Type, ConstructionTraits >::rend ( )
inline

Definition at line 737 of file XalanVector.hpp.

◆ rend() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
const_reverse_iterator XalanVector< Type, ConstructionTraits >::rend ( ) const
inline

Definition at line 745 of file XalanVector.hpp.

◆ reserve()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::reserve ( size_type  theSize)
inline

Definition at line 648 of file XalanVector.hpp.

◆ resize() [1/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::resize ( size_type  theSize)
inline

Definition at line 590 of file XalanVector.hpp.

◆ resize() [2/2]

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::resize ( size_type  theSize,
const value_type theValue 
)
inline

Definition at line 598 of file XalanVector.hpp.

◆ size()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
size_type XalanVector< Type, ConstructionTraits >::size ( ) const
inline

Definition at line 574 of file XalanVector.hpp.

◆ swap()

template<class Type, class ConstructionTraits = MemoryManagedConstructionTraits<Type>>
void XalanVector< Type, ConstructionTraits >::swap ( ThisType theOther)
inline

Definition at line 854 of file XalanVector.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