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

rwsf::ArrayHandle

Group:  Web Services


rwsf::ArrayHandlerwsf::XmlBindingHandle

Local Index

Members

Header File

#include rwsf/webservice/ArrayHandle.h

Description

All generated SOAP-Encoded arrays are derived from rwsf::ArrayHandle<T> instantiated on the type of element contained in the array.

rwsf::ArrayHandle implements the handle/body idiom in which rwsf::ArrayBody is the body. The handle passes all methods to the body, which contains an instance of rwsf::SoapArray, the class that contains all the actual container functionality and to which the array body passes all its methods.

For more information on SOAP-Encoded arrays, see Section A.5.1, "SOAP-Encoded Arrays," in the HydraExpress Web Service Development Guide.

Note

For information on the parent class rwsf::XmlBindingHandle, see its entry in the HydraExpress XML Binding Reference Guide.

Handle methods that just call the corresponding method on the body are described only in the body class. For instance, if the handle class includes a method invoke() that calls the body's corresponding method doInvoke(), that method is documented only in the body class.

Public Constructors

ArrayHandle(ArrayBody< T > * body);
ArrayHandle(const ArrayHandle< T > & other);
ArrayHandle(const rwsf::SoapArray< T > & body);

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;
iterator
begin();
const_iterator
begin() const;
void
clear();
bool
contains(const_reference key) const;
bool
empty() const;
iterator
end();
const_iterator
end() const;
size_type
entries() const;
bool
find(const_reference key,
    value_type & val) const;
const_reference
first() const;
reference
first();
std::vector< size_t > &
getDimensions();
const std::vector< size_t > &
getDimensions() const;
size_type
index(const_reference key) const;
iterator
insert(iterator it,
    const_reference key);
iterator
insert(const_reference key);
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
parseDimensions(const std::string & arrayType);
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;

Protected Member Functions

body_type &
body();
const body_type &
body() const;

Public Operators

const_reference
operator()(size_type idx) const;
reference
operator()(size_type idx);
const_reference
operator[](size_type idx) const;
reference
operator[](size_type idx);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.