get_IsLoaded Method

WRAPPER_API bool get_IsLoaded() const

 

Description

The get_IsLoaded method indicates if there is a data source file loaded into this DataSource.

 

Example

void DataSource_getIsLoaded(GEOCALCPBW_NAMESPACE::DataSource & data)

{

if(data.get_IsLoaded() && data.get_Editable())

{

GEOCALCPBW_NAMESPACE::AngularUnit au;

au.get_Identifiers().Add(_towchar("GC"), _towchar("A_Super_Great_AngularUnit"));

 

if(! data.PutAngularUnit(au, TRUE))

{

AfxMessageBox("PutAngularUnit failed");

}

}

}