![Symbian OS Library](../../../../a_stock/mainheading.gif)
![]() |
![]() |
|
Location:
e32cmn.h
class TIpcArgs;
A Version 2 client/server class that clients use to package the arguments to be sent to a server.
The object can package up to 4 arguments together with information about each argument's type, width and accessibility; it is also possible for the package to contain zero arguments. In addition to the default constructor, the class has four templated constructors, allowing an object of this type to be constructed for 0, 1, 2, 3 or 4 arguments.
Internally, the arguments are stored in a simple TInt array. Consecutive arguments in a constructor's parameter list are put
into consecutive slots in the array. The Set()
overloaded functions can be used to set argument values into specific slots within this array.
Defined in TIpcArgs
:
ENothing
, Set()
, Set()
, Set()
, Set()
, Set()
, Set()
, Set()
, Set()
, TIpcArgs()
, TIpcArgs()
, TIpcArgs()
, TIpcArgs()
, TIpcArgs()
, TNothing
, iArgs
, iFlags
inline TIpcArgs();
Default constructor.
An argument package constructed using this constructor has no arguments; however, arguments can subsequently be set into this
argument package object using the Set()
member functions.
inline TIpcArgs(T0 a0);
A templated constructor that constructs the argument package; it takes 1 argument.
|
inline TIpcArgs(T0 a0, T1 a1);
A templated constructor that constructs the argument package; it takes 2 arguments.
|
inline TIpcArgs(T0 a0, T1 a1, T2 a2);
A templated constructor that constructs the argument package; it takes 3 arguments.
|
inline TIpcArgs(T0 a0, T1 a1, T2 a2, T3 a3);
A templated constructor that constructs the argument package; it takes 4 arguments.
|
inline void Set(TInt aIndex, TNothing);
Sets an argument to default value and type.
|
inline void Set(TInt aIndex, TInt aValue);
Sets an argument value of TInt type.
|
inline void Set(TInt aIndex, const TAny *aValue);
Sets an argument value of TAny* type.
|
inline void Set(TInt aIndex, RHandleBase aValue);
Sets an argument value of RHandleBase
type.
|
inline void Set(TInt aIndex, const TDesC8 *aValue);
Sets an argument value TDesC8* type.
|
inline void Set(TInt aIndex, const TDesC16 *aValue);
Sets an argument value of TDesC16* type.
|
inline void Set(TInt aIndex, TDes8 *aValue);
Sets an argument value of TDes8* type.
|
inline void Set(TInt aIndex, TDes16 *aValue);
Sets an argument value of TDes16* type.
|
TNothing
Indicates a Null argument.
|
TInt iArgs;
The location where the message arguments are stored.
There is no reason to access this data member directly and it should be considered as internal.
TInt iFlags;
The location where the flag bits describing the argument types are stored.
The symbolic values describing the argument types are internal to Symbian, and there is therefore no reason to access this data member directly. It should be considered as internal.