Qt-based BB10 API Examples Documentation

Contents

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

QtSoapSimpleType ()
QtSoapSimpleType ( const QtSoapSimpleType & copy )
QtSoapSimpleType ( const QtSoapQName & name )
QtSoapSimpleType ( const QtSoapQName & name, int n )
QtSoapSimpleType ( const QtSoapQName & name, bool n, int dummy )
QtSoapSimpleType ( const QtSoapQName & name, const QString & n )
~QtSoapSimpleType ()
QtSoapSimpleType & operator= ( const QtSoapSimpleType & copy )

Reimplemented Public Functions

virtual void clear ()
virtual bool isValid () const
virtual bool parse ( QDomNode node )
virtual bool toBool () const
virtual QDomElement toDomElement ( QDomDocument doc ) const
virtual int toInt () const
virtual QString toString () const
virtual QVariant value () const

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]

Reimplemented from QtSoapType::clear().

Erases the value of this QtSoapSimpleType.

bool QtSoapSimpleType::isValid () const [virtual]

Reimplemented from QtSoapType::isValid().

bool QtSoapSimpleType::parse ( QDomNode node ) [virtual]

Reimplemented from QtSoapType::parse().

Inspects node and constructs the QtSoapSimpleType content if node qualifies as a SOAP simple type. Returns true if it does; otherwise returns false.

bool QtSoapSimpleType::toBool () const [virtual]

Reimplemented from QtSoapType::toBool().

Returns the value of the simple type as a bool.

QDomElement QtSoapSimpleType::toDomElement ( QDomDocument doc ) const [virtual]

Reimplemented from QtSoapType::toDomElement().

Returns the QDomElement representation of this QtSoapSimpleType. The returned QDomElement is created using doc.

int QtSoapSimpleType::toInt () const [virtual]

Reimplemented from QtSoapType::toInt().

Returns the value of the simple type as an int.

QString QtSoapSimpleType::toString () const [virtual]

Reimplemented from QtSoapType::toString().

Returns the value of the simple type as a QString.

QVariant QtSoapSimpleType::value () const [virtual]

Reimplemented from QtSoapType::value().

Returns the QVariant value of this QtSoapSimpleType.

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

Makes this QtSoapSimpleType a copy of copy.