HydraExpress™ C++ 2020 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
Implements multidimensional SOAP-encoded arrays. More...
#include <rwsf/webservice/ArrayHandle.h>
Public Member Functions | |
ArrayHandle (const ArrayHandle< T > &other) | |
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 |
const_reference | operator() (size_type idx) const |
reference | operator() (size_type idx) |
const_reference | operator[] (size_type idx) const |
reference | operator[] (size_type idx) |
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 |
Public Member Functions inherited from rwsf::XmlBindingHandle | |
XmlBindingHandle () | |
XmlBindingHandle (const XmlBindingHandle &other) | |
XmlBindingHandle | clone () const |
bool | equals (const rwsf::XmlBindingHandle &second) const |
bool | getXsiNil () const |
std::string | getXsiNoNamespaceSchemaLocation () const |
std::string | getXsiSchemaLocation () const |
bool | isA (const rwsf::XmlBindingHandle &other) const |
bool | isHandleValid () const |
bool | isMarshalXsiTypeSet () const |
bool | isXsiNilSet () const |
bool | isXsiNoNamespaceSchemaLocationSet () const |
bool | isXsiSchemaLocationSet () const |
void | marshal (rwsf::XmlWriter &writer, bool includeChildTypeAttributes, const rwsf::XmlName &, bool includeSelfTypeAttribute, bool nilValue) const |
bool | operator!= (const rwsf::XmlBindingHandle &second) const |
bool | operator== (const rwsf::XmlBindingHandle &second) const |
void | setMarshalXsiType (bool setValue) |
void | setXsiNil (bool XsiNil) |
void | setXsiNilSet (bool setValue) |
void | setXsiNoNamespaceSchemaLocation (const std::string &loc) |
void | setXsiNoNamespaceSchemaLocationSet (bool setValue) |
void | setXsiSchemaLocation (const std::string &loc) |
void | setXsiSchemaLocationSet (bool setValue) |
std::string | typeId () const |
const char * | typeIdChar () const |
std::string | xsiType () const |
const char * | xsiTypeChar () const |
Public Member Functions inherited from rwsf::XmlBindingHandleBase | |
XmlBindingHandleBase (const XmlBindingHandleBase &other) | |
bool | isSimple () const |
void | marshal (rwsf::XmlWriter &writer, bool includeChildTypeAttributes, const rwsf::XmlName &, bool includeSelfTypeAttribute, bool nilValue) const |
std::string | typeId () const |
const char * | typeIdChar () const |
rwsf::XmlName | xmlType () const |
Public Member Functions inherited from rwsf::HandleBase | |
bool | isValid (void) const |
bool | operator!= (const HandleBase &second) const |
bool | operator== (const HandleBase &second) const |
Additional Inherited Members | |
Protected Member Functions inherited from rwsf::HandleBase | |
HandleBase (void) | |
HandleBase (StaticCtor) | |
HandleBase (BodyBase *body) | |
HandleBase (const HandleBase &second) | |
virtual | ~HandleBase (void) |
BodyBase & | body (void) const |
HandleBase & | operator= (const HandleBase &second) |
All generated SOAP-Encoded arrays are derived from rwsf::ArrayHandler<T> , instantiated on the type of element contained in the array.
Note that this class uses reference semantics in which an instance of this class represents a reference to an implementation class.
For more information on SOAP-Encoded arrays, see the appendix in Web Service Development Guide.
|
inline |
Copy constructor. Constructs a new handle from handle other.
|
inline |
Adds item to the end of the collection body.
|
inline |
Returns a reference to the idxth
element of the body. Index idx must be between 0
and one less then the number of entries in self, otherwise the function throws an exception of type rwsf::OutOfBoundsException.
|
inline |
Returns a reference to the idxth
element of the body. Index idx must be between 0
and one less then the number of entries in self, otherwise the function throws an exception of type rwsf::OutOfBoundsException.
|
inline |
Returns a reference to the last element.
|
inline |
Returns a reference to the last element.
|
inline |
Returns an iterator positioned at the first element of the body.
|
inline |
Returns an iterator positioned at the first element of the body.
|
inline |
Clears the collection by removing all items from the body. Each item has its destructor called.
|
inline |
Returns true
if key exists in the collection, otherwise returns false
.
|
inline |
Returns true
if there are no items in the collection, false
otherwise.
|
inline |
Returns a past-the-end valued iterator of the body.
|
inline |
Returns a past-the-end valued iterator of the body.
|
inline |
Returns the number of elements in the body.
|
inline |
Returns true
if key exists in the collection, and assigns key to val. Otherwise, returns false
and leaves the value of val unchanged.
|
inline |
Returns a reference to the first element of the body.
|
inline |
Returns a reference to the first element of the body.
|
inline |
Returns a vector containing the size of each dimension in the array. If the array is int
[2,3,4], then the returned vector contains 2, 3 and 4 in that order. Any dimension without a size is set to 0. For example, a one-dimension array returns a vector with a single element whose value is the upper bound of the array or 0 if there is no upper bound (defined as int
[]).
|
inline |
Returns a vector containing the size of each dimension in the array. If the array is int
[2,3,4], then the returned vector contains 2, 3 and 4 in that order. Any dimension without a size is set to 0. For example, a one-dimension array returns a vector with a single element whose value is the upper bound of the array or 0 if there is no upper bound (defined as int
[]).
|
inline |
Returns the position of the first item that matches key, or returns RWSF_NPOS
if no such item exists.
|
inline |
Adds the new item key before the item at position it.
|
inline |
Adds the item key to the end of the collection.
|
inline |
Inserts item in front of the item at position index in self. This position must be between 0
and the number of entries in the collection, otherwise the function throws an exception of type rwsf::OutOfBoundsException.
|
inline |
Returns true
if there are no items in the collection, false
otherwise.
|
inline |
Returns a reference to the last element.
|
inline |
Returns a reference to the last element.
|
inline |
Returns the number of elements in the body.
|
inline |
Returns the number of times key occurs in the collection.
|
inline |
Returns a reference to the idxth
element of the body. Index idx should be between 0
and one less then the number of entries, otherwise the results are undefined. No bounds checking is performed.
|
inline |
Returns a reference to the idxth
element of the body. Index idx should be between 0
and one less then the number of entries, otherwise the results are undefined. No bounds checking is performed.
|
inline |
Returns a reference to the idxth
element of the body. Index idx must be between 0
and one less then the number of entries in self, otherwise the function throws an exception of type rwsf::OutOfBoundsException.
|
inline |
Returns a reference to the idxth
element of the body. Index idx must be between 0
and one less then the number of entries in self, otherwise the function throws an exception of type rwsf::OutOfBoundsException.
|
inline |
Parses the dimension string in the XML SOAP Array definition and sets the array dimensions in "this".
|
inline |
Adds the item item to the beginning of the collection.
|
inline |
Adds item to the end of the collection body.
|
inline |
Removes the first occurrence of key in the array and returns true
. If key is not found, returns false
.
|
inline |
Removes all occurrences of key in the collection and returns the number of items removed.
|
inline |
Removes and returns the item at position index in self. This position must be between 0
and one less then the number of entries in the collection, otherwise the function throws an exception of type rwsf::OutOfBoundsException.
|
inline |
Removes and returns the first item in the collection.
|
inline |
Removes and returns the last item in the collection.
|
inline |
Replaces all elements t
in self with newVal such that the expression (t == oldVal)
is true. Returns the number of items replaced.
|
inline |
Modifies the capacity of the vector to be at least as large as n. This function has no effect if the capacity is already as large as n.
|
inline |
Returns the number of elements in the body.
Copyright © 2020 Rogue Wave Software, Inc. All Rights Reserved. |