Class and interface summary

PowerBuilder Native Interface

Class and interface summary

This table lists the classes and interfaces that make up PBNI. After the table, the classes and interfaces are listed in alphabetical order. The methods for each class are listed in alphabetical order after the class description.

Several additional helper classes that are defined in pbni.h are not listed in the table. These helper classes include:

  • PBArrayInfoHolder and PBCallInfoHolder – used to hold a PBArrayInfo or PBCallInfo variable and release it when it is out of scope

  • PBEventTrigger, PBObjectFunctionInvoker, and PBGlobalFunctionInvoker – used to trigger events and call object and global functions

Table 7-1: PBNI class and interface summary

Object

Description

Defined in

IPB_Arguments interface

Used to access the arguments of the PBCallInfo structure.

pbni.h

IPB_ResultSetAccessor interface

Used to access data in a DataWindow or DataStore.

pbrsa.h

IPB_RSItemData interface

Used to set data values in a result set from a DataWindow or DataStore.

pbrsa.h

IPB_Session interface

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.

pbni.h

IPB_Value interface

Used to hold PowerBuilder data, IPB_Value contains information about each variable, including its type, null flag, access privileges, array or simple type, and reference type.

pbni.h

IPB_VM interface

Used to load PowerBuilder applications in third-party applications and interoperate with the PowerBuilder virtual machine (PBVM).

pbni.h

PBArrayInfo structure

Used to hold information about arrays.

pbni.h

PBCallInfo structure

Used to hold arguments and return type information in function calls between PBNI and PowerBuilder.

pbni.h

PB_DateData structure

Used to pass data of type Date in the SetData function in the IPB_RSItemData interface.

pbrsa.h

PB_DateTimeData structure

Used to pass data of type DateTime in the SetData function in the IPB_RSItemData interface.

pbrsa.h

PB_TimeData structure

Used to pass data of type Time in the SetData function in the IPB_RSItemData interface.

pbrsa.h

PBX_DrawItemStruct structure

Used to hold the properties of an external visual control that you want to draw using the PBX_DrawVisualObject function.

pbext.h

PBArrayAccessor template class

Used to access items in an array.

pbarray.h

PBObjectArrayAccessor class

Used to access items in an object array.

pbarray.h

PBBoundedArrayCreator template class

Used to create bounded arrays.

pbarray.h

PBBoundedObjectArrayCreator class

Used to create bounded object arrays.

pbarray.h

PBBoundedObjectArrayCreator class

Used to create unbounded arrays.

pbarray.h

PBUnboundedObjectArrayCreator class

Used to create unbounded object arrays.

pbarray.h

IPBX_Marshaler interface

Used to invoke remote methods and convert PowerBuilder data formats to the user's communication protocol. A marshaler extension is a PowerBuilder extension that acts as the bridge between PowerBuilder and other components, such as EJBs, Java classes, CORBA objects, Web services, and so on.

pbext.h

IPBX_NonVisualObject interface

Inherits from IPBX_UserObject and is the direct ancestor class of nonvisual PowerBuilder native classes.

pbext.h

IPBX_UserObject interface

The ancestor class of PowerBuilder native classes. It has two functions, Destroy and Invoke.

pbext.h

IPBX_VisualObject interface

Inherits from IPBX_UserObject and is the direct ancestor class of visual PowerBuilder native classes.

pbext.h

Exported methods

Some exported methods must be implemented in PowerBuilder extension modules.

pbext.h

Method exported by PowerBuilder VM

The PB_GetVM method is exported by the PowerBuilder VM and is used to pass the IPB_VM interface to the user.

pbni.h