IPB_Session interface
Description
The IPB_Session
interface is used to interoperate with PowerBuilder. An abstract
interface, it defines methods for accessing PowerScript data, calling PowerScript
functions, catching and throwing PowerScript exceptions, and setting
a marshaler to convert PowerBuilder data formats to the user’s communication
protocol.
Methods
This table lists functions by category. Full descriptions
in alphabetic order follow the table.
|
Purpose |
Method |
Description |
|---|---|---|
|
Managing sessions |
Releases this IPB session. The IPB_Session object |
|
|
Managing object references |
Adds a global reference to the specified PowerBuilder |
|
|
Adds a local reference to the specified PowerBuilder |
||
|
Creates a new object of the specified |
||
|
Pops the current local reference frame |
||
|
Pushes a local reference frame onto the |
||
|
Removes a global reference to the specified PowerBuilder |
||
|
Removes a local reference to the specified PowerBuilder |
||
|
Managing shared properties |
Retrieves a pointer to the data value |
|
|
Removes the specified variable from the |
||
|
Adds a new variable to the list of properties |
||
|
Handling the PowerBuilder message queue |
Checks the PowerBuilder message queue |
|
|
Handling exceptions |
Clears the current PowerBuilder exception object. |
|
|
Obtains the current thrown exception |
||
|
Checks for the existence of an exception |
||
|
Throws a PowerBuilder exception or inherited exception, |
||
|
Passing arguments |
Adds an argument in a variable argument PowerBuilder |
|
|
Frees memory allocated by InitCallInfo. |
||
|
Initializes the PBCallInfo structure. |
||
|
Finding PowerBuilder classes |
Searches for a group with a given name |
|
|
Searches for a class with a given name |
||
|
Searches for a class with a given name |
||
|
Returns the class handle of a PowerBuilder object. |
||
|
Returns the name of a class in lowercase. |
||
|
Returns the name of the current group. |
||
|
Returns the base class of a class, if |
||
|
Returns the system class handle of a PowerBuilder |
||
|
Returns the class that contains all the |
||
|
Returns true if the |
||
|
Working with functions and events |
Finds a function that has the specified |
|
|
Returns the ID of the requested function. |
||
|
Returns the ID of the function that has |
||
|
Invokes system or user global functions. |
||
|
Invokes a class member function. |
||
|
Triggers a PowerBuilder event. |
||
|
Working with enumerated variables |
Obtains the name of an enumerated variable. |
|
|
Obtains the value of an enumerated variable. |
||
|
Working with global variables |
Returns the name of a global variable. |
|
|
Returns the datatype of a global variable. |
||
|
Returns the value of a global variable |
||
|
Obtains the value of a global variable |
||
|
Returns true if the |
||
|
Returns true if the |
||
|
Returns true if the |
||
|
Sets the value of a global variable of |
||
|
Sets the value of a shared variable to null. |
||
|
Working with shared variables |
Returns the name of a shared variable. |
|
|
Returns the datatype of a shared variable. |
||
|
Returns the value of a shared variable |
||
|
Obtains the value of a shared variable |
||
|
Returns true if the |
||
|
Returns true if the |
||
|
Returns true if the |
||
|
Sets the value of a shared variable of |
||
|
Sets the value of a shared variable to null. |
||
|
Working with arrays |
Returns the value of an array item of |
|
|
Obtains information about an array. |
||
|
Obtains the datatype of an item in an |
||
|
Returns the length of an array. |
||
|
Obtains the value of an array item of |
||
|
Returns true if the |
||
|
Creates a bounded simple data array. |
||
|
Creates an unbounded simple data array. |
||
|
Creates a bounded PowerBuilder object |
||
|
Creates an unbounded PowerBuilder object |
||
|
Releases memory returned by GetArrayInfo. |
||
|
Sets the value of an array item of a |
||
|
Sets the value of an array item to null. |
||
|
Working with strings |
Returns the length of a string in bytes |
|
|
Returns a pointer to the string passed |
||
|
Creates a new string. |
||
|
Releases the memory used by a string. |
||
|
Frees an existing string and assigns |
||
|
Working with binary large objects |
Returns a pointer to the data buffer |
|
|
Returns the length in bytes of blob data |
||
|
Creates a new blob and duplicates a buffer |
||
|
Destroys the existing data in a blob |
||
|
Working with decimal values |
Converts decimal data in a pbdec object |
|
|
Allocates resources for a new decimal |
||
|
Frees the memory acquired using GetDecimalString. |
||
|
Converts a string to |
||
|
Working with date and time values |
Converts data in a pbdate object |
|
|
Converts data in a pbdatetime object |
||
|
Converts data in a pbtime object |
||
|
Creates a new pbdate data |
||
|
Creates a new pbdatetime data |
||
|
Creates a new pbtime data |
||
|
Frees the memory acquired using GetDateString. |
||
|
Frees the memory acquired using GetDateTimeString. |
||
|
Frees the memory acquired using GetTimeString. |
||
|
Resets the value of the specified pbdate object. |
||
|
Resets the value of the specified pbdatetime object. |
||
|
Resets the value of the specified pbtime object. |
||
|
Splits the specified pbdate object |
||
|
Splits the specified pbdatetime object |
||
|
Splits the specified pbtime object |
||
|
Working with data values |
Clones the data in the PBCallInfo structure |
|
|
Clones the data in the PBCallInfo structure |
||
|
Frees the value acquired by the AcquireValue or AcquireArrayItemValue method. |
||
|
Sets the value of one IPB_Value |
||
|
Working with fields |
Obtains the internal ID of a class instance variable. |
|
|
Obtains the name of the specified field. |
||
|
Obtains the datatype of a class instance |
||
|
Obtains the number of fields in the specified class. |
||
|
Obtains the value of a variable of type Any. |
||
|
Obtains a pointer to the instance variable |
||
|
Returns true if the |
||
|
Returns true if the |
||
|
Returns true if the |
||
|
A set of datatype-specific functions. |
||
|
A set of datatype-specific functions. |
||
|
Refreshes a visual property of a PowerBuilder object. |
||
|
Working with native classes |
Obtains a pointer to the interface of |
|
|
Determines whether a pbobject is an instance |
||
|
Accessing result sets from DataWindows |
Creates a result set object using a pointer |
|
|
Obtains an interface through which you |
||
|
Releases the pointer obtained using GetResultSetAccessor. |
||
|
Working with marshaler extensions |
Obtains the marshaler object associated |
|
|
Creates a proxy for a remote object. |
||
|
Sets a marshaler that will be used to |