Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Web Service Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::SoapArray<T>

Group:  SOAP Utility

Local Index

Members

Header File

#include <rw/rwsf/soapworx/SoapArray.h> 

Description

An instance of rwsf::SoapArray is contained in rwsf::ArrayBody, from which all generated SOAP arrays derive. All methods from the generated array handle are passed to the rwsf::SoapArray body, and then on to the instance of rwsf::SoapArray that provides the typical container methods for the array.

The value type must have operator== defined. This requirement is imposed by the Standard C++ Library.

Related Classes

rwsf::ArrayHandle, rwsf::ArrayBody

Class vector<T,A> is the C++-standard collection that serves as the underlying implementation for this class.

Public Typedefs

typedef std::vector<T>                           container_type;
typedef typename container_type::iterator        iterator;
typedef typename container_type::const_iterator  const_iterator;
typedef typename container_type::size_type       size_type;
typedef typename container_type::value_type      value_type;
typedef typename container_type::reference       reference;
typedef typename container_type::const_reference const_reference;

Public Constructors

SoapArray<T>();
SoapArray<T>(const container_type& t);
SoapArray<T>(const SoapArray<T>& t);
SoapArray<T>(size_type n, const T& val);
SoapArray<T>(const T* first, const T* last);
SoapArray<T>(size_type n);

Public Destructor

~SoapArray<T>();

Public Member Operators

SoapArray<T>& 
operator=(const SoapArray<T>& rwc);
reference
operator()(size_type idx); 
const_reference 
operator() (size_type idx) const; 
reference
operator[](size_type idx)
const_reference 
operator[](size_type idx) const; 
bool
operator==(const SoapArray<T>& rwc) const; 
bool 
operator!=(const SoapArray<T>& rwc) const; 

Iterators

iterator
begin();
const_iterator
begin() const;
iterator
end();
const_iterator
end() const;
iterator
insert(iterator it, const_reference key);
iterator
insert(const_reference key); 

Public Member Functions

void
append(const_reference item); 
reference
at(size_type idx); 
const_reference
at(size_type idx) const;
reference
back()
const_reference 
back() const
void
clear();
bool
contains(const_reference key) const; 
bool
empty() const
size_type
entries() const; 
bool
find(const_reference key, value_type& val) const; 
reference
first();
const_reference
first() const;
container_type&
impl()
const container_type&
impl() const
size_type
index(const_reference key) const; 
void
insertAt(size_type index, const_reference item); 
bool
isEmpty() const; 
reference
last();
const_reference
last() const;
size_type
length() const; 
size_type 
occurrencesOf(const_reference key) const;  
void
prepend(const_reference item); 
void
push_back(const_reference item)
bool
remove(const_reference key); 
size_type
removeAll(const_reference key); 
value_type
removeAt(size_type index); 
value_type
removeFirst();
value_type
removeLast();
size_type
replaceAll(const_reference oldVal, const_reference newVal); 
void
resize(size_t n); 
size_type
size() const


Previous fileTop of DocumentContentsIndex pageNext file

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.