Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
12-8
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Chapter 12 Helper Classes
Arg Class
Return Values
Others: Returns the enumerated value that identifies the data type stored in the
Arg (see
Arg (see
),
GetValue Methods
The GetValue method returns the value stored in the object. To extract a specific
type of data you invoke the method designated for it. For more detail on
GetValueArray, GetValueInt, and GetValueString, see the corresponding methods
described in
type of data you invoke the method designated for it. For more detail on
GetValueArray, GetValueInt, and GetValueString, see the corresponding methods
described in
Syntax
C++:
int GetValueInt();
unsigned int GetValueUInt();
unsigned shortGetValueUShort();
short GetValueShort();
string& GetValueString();
bool GetValueBool();
bool GetValueInt(int * value);
bool GetValueUInt(unsigned int * value);
Table 12-2 enumArgTypes
Argument Type
Description
ARG_NOTSET
Argument type not determined
ARG_INT
Signed integer
ARG_UINT
Unsigned integer
ARG_USHORT
2 bytes unsigned integer
ARG_SHORT
2 bytes signed integer
ARG_BOOL
1 byte integer
ARG_STRING
Character string
ARG_ARGARRAY
Variable length Arguments array