TQueryArgs Class Reference

#include <mw/ineturilistdef.h>

class TQueryArgs
Public Member Enumerations
enumanonymous { KBitsPerType }
enumanonymous { KMaxArguments }
enumTArgType { EUri, EServiceType, EListType, EURIMatch }
Public Member Functions
TQueryArgs()
TQueryArgs(T0)
TQueryArgs(T0, T1)
TQueryArgs(T0, T1, T2)
TQueryArgs(T0, T1, T2, T3)
TInt Get(TArgType)
TBool IsSet(TArgType)

Detailed Description

This class defines the argument parameters for the query operation. It is possible to set the arguments in various combinations. The argument types can be ServiceType, ListType, URI in TDesC8 form, and URIMatch.

Member Enumeration Documentation

Enum anonymous

Bit width of the type.

EnumeratorValueDescription
KBitsPerType3

Enum anonymous

Maximum number of arguments. Currently set as 4.

EnumeratorValueDescription
KMaxArguments4

Enum TArgType

The argument types.

EnumeratorValueDescription
EUri1
EServiceType
EListType
EURIMatch

Constructor & Destructor Documentation

TQueryArgs ( )

TQueryArgs()[inline]

Default constructor

TQueryArgs ( T0 )

TQueryArgs(T0a0)[inline, explicit]

A templated constructor that constructs the query argument. It takes one argument.

TQueryArgs ( T0, T1 )

TQueryArgs(T0a0,
T1a1
)[inline]

A templated constructor that constructs the query argument. It takes two arguments.

TQueryArgs ( T0, T1, T2 )

TQueryArgs(T0a0,
T1a1,
T2a2
)[inline]

A templated constructor that constructs the query argument. It takes three arguments.

TQueryArgs ( T0, T1, T2, T3 )

TQueryArgs(T0a0,
T1a1,
T2a2,
T3a3
)[inline]

A templated constructor that constructs the query argument. It takes four arguments.

Member Function Documentation

Get ( TArgType )

TInt Get(TArgTypeaType)const [inline]

Returns the argument if set, otherwise returns KErrNotFound.

IsSet ( TArgType )

TBool IsSet(TArgTypeaType)const [inline]

Checks whether the flag is set for the given argument type.