QtSoapSimpleType Class Reference
The QtSoapSimpleType class provides a container for all
simple SOAP types, such as strings, integers and booleans.
More...
#include <qtsoap.h>
Inherits QtSoapType.
List of all member functions.
Public Members
Detailed Description
The QtSoapSimpleType class provides a container for all
simple SOAP types, such as strings, integers and booleans.
See also QtSoapType, QtSoapStruct, and QtSoapArray.
Member Function Documentation
QtSoapSimpleType::QtSoapSimpleType ()
Constructs an empty QtSoapSimpleType.
QtSoapSimpleType::QtSoapSimpleType ( const QtSoapQName & name )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Constructs an empty QtSoapSimpleType, and sets its QName
(qualified name) to name.
QtSoapSimpleType::QtSoapSimpleType ( const QtSoapQName & name, int n )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Constructs a QtSoapSimpleType of type Int. Sets its QName
(qualified name) to name and its value to n.
QtSoapSimpleType::QtSoapSimpleType ( const QtSoapQName & name, bool n, int dummy )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Constructs a QtSoapSimpleType of type Boolean. Sets its QName
(qualified name) to name and its value to n.
dummy is an unused variable that should be set to 0; it is
needed for older compilers that cannot distinguish between bool
and int.
QtSoapSimpleType::QtSoapSimpleType ( const QtSoapQName & name, const QString & n )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Constructs a QtSoapSimpleType of type String. Sets its QName
(qualified name) to name and its value to n.
QtSoapSimpleType::QtSoapSimpleType ( const QtSoapSimpleType & copy )
Constructs a QtSoapSimpleType that is a copy of copy.
QtSoapSimpleType::~QtSoapSimpleType ()
Destructs the QtSoapSimpleType.
void QtSoapSimpleType::clear () [virtual]
Erases the value of this QtSoapSimpleType.
Reimplemented from QtSoapType.
Makes this QtSoapSimpleType a copy of copy.
bool QtSoapSimpleType::parse ( QDomNode node ) [virtual]
Inspects node and constructs the QtSoapSimpleType content if node qualifies as a SOAP simple type. Returns true if it does;
otherwise returns false.
Reimplemented from QtSoapType.
bool QtSoapSimpleType::toBool () const [virtual]
Returns the value of the simple type as a bool.
Reimplemented from QtSoapType.
QDomElement QtSoapSimpleType::toDomElement ( QDomDocument doc ) const [virtual]
Returns the QDomElement representation of this QtSoapSimpleType.
The returned QDomElement is created using doc.
Reimplemented from QtSoapType.
int QtSoapSimpleType::toInt () const [virtual]
Returns the value of the simple type as an int.
Reimplemented from QtSoapType.
QString QtSoapSimpleType::toString () const [virtual]
Returns the value of the simple type as a QString.
Reimplemented from QtSoapType.
QVariant QtSoapSimpleType::value () const [virtual]
Returns the QVariant value of this QtSoapSimpleType.
Reimplemented from QtSoapType.
This file is part of the Qt Solutions.
Copyright © 2003-2006
Trolltech. All Rights Reserved.