CUpnpArgument Class Reference
class CUpnpArgument : public CBase
|
Used to make a common body for actions. This class is only used when an action is sent or received. This class makes a common body for actions, which can then be modified by user.
Constructor & Destructor Documentation
CUpnpArgument(CUpnpService &)
CUpnpArgument
|
(
|
CUpnpService &
|
aParentService
|
)
|
[private]
|
Parameters
CUpnpService & aParentService
|
Parent service.
|
~CUpnpArgument()
~CUpnpArgument
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CheckErrorL(TInt, const TDesC8 &)
void
|
CheckErrorL
|
(
|
TInt
|
aError,
|
|
const
TDesC8
&
|
aValue
|
|
)
|
[private]
|
Checks the error code for the SetValue method and leaves if needed.
ConstructL(CUpnpArgument &)
By default Symbian 2nd phase constructor is private. Adds the arguments and their default values according to the XML node
DeleteAndNullValue()
void
|
DeleteAndNullValue
|
(
|
)
|
[private]
|
Delete and null iValue member.
Direction()
IMPORT_C
TInt
|
Direction
|
(
|
)
|
const
|
Returns direction of the argument.
-
Since
-
Series60 2.6
Name()
Returns the name of the argument.
-
Since
-
Series60 2.6
NewL(CUpnpService &)
Parameters
CUpnpService & aParentService
|
|
NewL(CUpnpArgument &, CUpnpService &)
Two-phased constructor for building from a XML node. Internally uses the function NewL(CSereneElement*)
RelatedStateVariable()
IMPORT_C
TDesC8
&
|
RelatedStateVariable
|
(
|
)
|
|
Returns related state variable.
-
Since
-
Series60 2.6
SetDirectionL(TInt)
void
|
SetDirectionL
|
(
|
TInt
|
aDirection
|
)
|
|
SetNameL(const TDesC8 &)
void
|
SetNameL
|
(
|
const
TDesC8
&
|
aDirection
|
)
|
|
SetRelatedStateVarL(const TDesC8 &)
void
|
SetRelatedStateVarL
|
(
|
const
TDesC8
&
|
aRelatedStateVar
|
)
|
|
Parameters
const
TDesC8
& aRelatedStateVar
|
|
SetType(TInt)
void
|
SetType
|
(
|
TInt
|
aType
|
)
|
|
SetValueL(const TDesC8 &)
IMPORT_C void
|
SetValueL
|
(
|
const
TDesC8
&
|
aValue
|
)
|
|
Sets the value of argument.
-
Since
-
Series60 2.6 (If the value is inproper, the method leaves with EInvalidArgs, which is the internal upnp error code used by UPnP Stack)
Parameters
const
TDesC8
& aValue
|
Value that is to be set for this argument.
|
Type()
Returns type of the argument.
-
Since
-
Series60 2.6
Value()
Returns the value of the argument.
-
Since
-
Series60 2.6
Member Data Documentation
TInt
iDirection
TInt
|
iDirection
|
[private]
|
CUpnpService & iParentService
CUpnpService &
|
iParentService
|
[private]
|
HBufC8 * iRelatedStateVariable
HBufC8
*
|
iRelatedStateVariable
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.