HydraExpress™ C++ 2020 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
Represents operation parameters. Generally not for direct use. More...
#include <rwsf/webservice/CallInfo.h>
Public Member Functions | |
ParameterObject () | |
ParameterObject (const rwsf::XmlName &name) | |
~ParameterObject () | |
void | appendValue (const std::string &value) |
std::string | getValue () |
std::list< std::string >::iterator | getValuesBegin () |
std::list< std::string >::iterator | getValuesEnd () |
bool | operator== (const ParameterObject &obj) const |
void | setValue (const std::string &value) |
std::string & | valueAt (size_t idx) |
size_t | valueEntries () |
Public Attributes | |
bool | isAttachment_ |
bool | isParameter_ |
bool | isSimple_ |
rwsf::XmlName | name_ |
rwsf::XmlReader | rdr_ |
std::string | type_ |
This class specifies the parameter names that request-response or solicit-response operations may require to capture the function signature. Generally, applications do not need to use this class directly.
rwsf::CallInfo::ParameterObject::ParameterObject | ( | ) |
Default constructor.
rwsf::CallInfo::ParameterObject::~ParameterObject | ( | ) |
Default destructor.
rwsf::CallInfo::ParameterObject::ParameterObject | ( | const rwsf::XmlName & | name | ) |
Constructs a parameter object with the value of name.
|
inline |
Appends value to the existing value(s) in this parameter object.
|
inline |
Returns the parameter object's value. With wrapped style, a vector of values is possible. In this case, the first value in the list is returned.
|
inline |
Returns an iterator to the beginning of the value list for this paramter object. Note that the existence of more than one value is possible only with the use of wrapped style in which the parameter is a vector of values.
|
inline |
Returns an iterator to one past the end of the value list for this paramter object.
bool rwsf::CallInfo::ParameterObject::operator== | ( | const ParameterObject & | obj | ) | const |
Returns true
if self compares equal to obj, otherwise false
.
|
inline |
Sets the value of this parameter object. With wrapped style, a vector of values is possible. In this case, sets the first value in the list.
|
inline |
Returns a value at position idx in the vector. If idx is greater than the vector size, an rwsf::OutOfBoundException is thrown.
|
inline |
Returns the number of values in the parameter object.
bool rwsf::CallInfo::ParameterObject::isAttachment_ |
Returns true
if attachment.
bool rwsf::CallInfo::ParameterObject::isParameter_ |
Returns true
if an actual parameter (not just a reference, for instance, in an array)
bool rwsf::CallInfo::ParameterObject::isSimple_ |
Returns true
if simple type.
rwsf::XmlName rwsf::CallInfo::ParameterObject::name_ |
Name of the parameter
rwsf::XmlReader rwsf::CallInfo::ParameterObject::rdr_ |
XmlReader instance for this parameter ready to read the element.
std::string rwsf::CallInfo::ParameterObject::type_ |
Type of parameter.
Copyright © 2020 Rogue Wave Software, Inc. All Rights Reserved. |