File Information
Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/XSDVector.h
Description
Class XSDVector is the root class for all simple list types.
Member Summary
Member Functions: back, begin, capacity, clear, empty, end, erase, front, insert, maxSize, operator <, operator ==, operator [], popBack, pushBack, rbegin, rend, reserve, resize, size
Types
ConstIterator
typedef typename std::vector < T >::const_iterator ConstIterator;
ConstReference
typedef typename std::vector < T >::const_reference ConstReference;
ConstReverseIterator
typedef typename std::vector < T >::const_reverse_iterator ConstReverseIterator;
Iterator
typedef typename std::vector < T >::iterator Iterator;
Reference
typedef typename std::vector < T >::reference Reference;
ReverseIterator
typedef typename std::vector < T >::reverse_iterator ReverseIterator;
SizeType
typedef typename std::vector < T >::size_type SizeType;
Constructors
XSDVector
XSDVector();
Creates the XSDVector.
XSDVector
Creates the XSDVector with n elements
XSDVector
XSDVector(
SizeType n,
const T & val
);
Creates the XSDVector with n copies of val
XSDVector
template < typename InputIterator > XSDVector(
InputIterator beg,
InputIterator end
);
Creates the XSDVector with a copy of a range.
Destructor
~XSDVector
virtual ~XSDVector();
Destroys the XSDVector.
Member Functions
back
Reference back();
back
ConstReference back() const;
begin
Iterator begin();
Returns the begin iterator
begin
ConstIterator begin() const;
Returns the begin iterator
capacity
SizeType capacity() const;
clear
void clear();
empty
bool empty() const;
end
Iterator end();
Returns the end iterator
end
const Iterator end() const;
Returns the end iterator
erase
Iterator erase(
Iterator pos
);
erase
Iterator erase(
Iterator first,
Iterator last
);
front
Reference front();
front
ConstReference front() const;
insert
Iterator insert(
Iterator pos,
const T & val
);
insert
template < typename InputIterator > void insert(
Iterator pos,
InputIterator first,
InputIterator last
);
insert
void insert(
Iterator pos,
SizeType n,
const T & val
);
maxSize
SizeType maxSize() const;
operator <
bool operator < (
const XSDVector < T > & other
) const;
operator ==
bool operator == (
const XSDVector < T > & other
) const;
operator []
Reference operator[] (
const SizeType n
);
operator []
ConstReference operator[] (
const SizeType n
) const;
popBack
void popBack();
pushBack
void pushBack(
const T & t
);
rbegin
ReverseIterator rbegin();
Returns the begin iterator
rbegin
ConstReverseIterator rbegin() const;
Returns the begin iterator
rend
ReverseIterator rend();
Returns the end iterator
rend
ConstReverseIterator rend() const;
Returns the end iterator
reserve
void reserve(
SizeType n
);
resize
void resize(
SizeType n,
const T & def = T ()
);
size
SizeType size() const;