2015/utils/brep/samples/brepsamp/brdbutl.cpp
// Note: This function conditionally aborts a transaction, which invokes UNDO.

This function conditionally aborts a transaction, which invokes UNDO.
This function conditionally aborts a transaction which invokes UNDO .
Acad::ErrorStatus
dbAbortTransaction(Adesk::Boolean& ownTransaction)
{
	Acad::ErrorStatus acadReturnValue = Acad::eOk;
	if (ownTransaction)
		acadReturnValue = actrTransactionManager->abortTransaction();
	return acadReturnValue;
}
Acad :: ErrorStatus dbAbortTransaction ( Adesk :: Boolean & ownTransaction ) { Acad :: ErrorStatus acadReturnValue = Acad :: eOk ; if ( ownTransaction ) acadReturnValue = actrTransactionManager -> abortTransaction ( ) ; return acadReturnValue ; }
Note: This function conditionally aborts a transaction, which invokes UNDO.
Note : This function conditionally aborts a transaction which invokes UNDO .
// Abort only in the case where we own the transaction.
