GetNumberOfModifications Method

WRAPPER_API long GetNumberOfModifications(void) const

 

Description

The GetNumberOfModifications method returns the number of modifications that have been made to the DataSource since it was loaded with a call to LoadFile. This includes changes to both base and custom objects.

 

Example

void DataSource_GetNumberOfModifications(GEOCALCPBW_NAMESPACE::DataSource & data)

{

if(data.GetNumberOfModifications() > 0)

{

data.CommitToFile();

}

}