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

rwsf::ArrayBody

Group:  Web Services


rwsf::ArrayBodyrwsf::XmlBindingBody

Local Index

Members

Header File

#include rwsf/webservice/ArrayBody.h

Description

All generated SOAP array bodies derive from rwsf::ArrayBody<T> instantiated on the type of element contained in the array.

rwsf::ArrayBody implements multidimensional arrays by instantiating on a rwsf::SoapArray (for example, a two dimensional SoapArray has the structure rwsf::ArrayBody<rwsf::SoapArray<containedtype>> ) and maintaining dimension information internally.

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

Instances of rwsf::ArrayBody in turn pass methods to the rwsf::SoapArray instance.

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

Note

This class is not created directly, but instantiated through its handle rwsf::ArrayHandle.

Public Destructors

~ArrayBody();

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();
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
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;
XmlBindingBodyBase::XmlOLTypeCategory
XmlBindingBodyTypeCategory() const;

Protected Member Functions

std::vector< size_t > &
getDimensions();
const std::vector< size_t > &
getDimensions() const;
container_type &
impl();
const container_type &
impl() const;
void
parseDimensions(const std::string & arrayType);

Public Operators

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


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.