CreateDataSourcePicker Constructor

WRAPPER_API static DataSourcePicker *CreateDataSourcePicker(const GEOCALCPBW_NAMESPACE::DataSource *dataSource, GEOCALCPBW_NAMESPACE::DataSource::ObjectType classType, QWidget *parent = 0, const BmgChar *name = 0, SearchPredicate isMatch = 0, const BmgChar *defaultIssuer = 0, const BmgChar *defaultCode = 0, const GEOCALCPBW_NAMESPACE::DataSource::ObjectType defaultType = GEOCALCPBW_NAMESPACE::DataSource::NoType)

 

(Windows Only)WRAPPER_API static DataSourcePicker *CreateDataSourcePicker(const GEOCALCPBW_NAMESPACE::DataSource *dataSource, GEOCALCPBW_NAMESPACE::DataSource::ObjectType classType, HWND parent, const BmgChar *name = 0, SearchPredicate isMatch = 0, const BmgChar *defaultIssuer = 0, const BmgChar *defaultCode = 0, const GEOCALCPBW_NAMESPACE::DataSource::ObjectType defaultType = GEOCALCPBW_NAMESPACE::DataSource::NoType)

 

Description

The CreateDataSourcePicker constructor creates a new instance of the DataSourcePicker class.  There are only two required arguments for this constructor, which give the DataSource from which objects will be selected, and the ObjectType for the objects that should be displayed in the dialog.  The remaining parameters can be used to specify the parent window for the dialog, the name of the dialog, and the issuer, code, and ObjectType that identify the object that should be selected when the dialog is initially displayed.  This constructor will not display the dialog.

}