WRAPPER_API bool get_IsLoaded() const
The get_IsLoaded method indicates if there is a data source file loaded into this DataSource.
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");
}
}
}