Home

QtSoapSimpleType Class Reference

The QtSoapSimpleType class provides a container for all simple SOAP types, such as strings, integers and booleans. More...

 #include <QtSoapSimpleType>

Inherits QtSoapType.

Public Functions

Additional Inherited 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 QtSoapSimpleType & copy )

Constructs a QtSoapSimpleType that is a copy of copy.

QtSoapSimpleType::QtSoapSimpleType ( const QtSoapQName & name )

This is an overloaded function.

Constructs an empty QtSoapSimpleType, and sets its QName (qualified name) to name.

QtSoapSimpleType::QtSoapSimpleType ( const QtSoapQName & name, int n )

This is an overloaded 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 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 function.

Constructs a QtSoapSimpleType of type String. Sets its QName (qualified name) to name and its value to n.

QtSoapSimpleType::~QtSoapSimpleType ()

Destructs the QtSoapSimpleType.

void QtSoapSimpleType::clear ()   [virtual]

Erases the value of this QtSoapSimpleType.

Reimplemented from QtSoapType.

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.

QtSoapSimpleType & QtSoapSimpleType::operator= ( const QtSoapSimpleType & copy )

Makes this QtSoapSimpleType a copy of copy.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions