2015/utils/brep/samples/brepsamp/brdbutl.cpp
// Note: This function conditionally closes a transaction.

This function conditionally closes a transaction.
This function conditionally closes a transaction .
Acad::ErrorStatus
dbCloseTransaction(Adesk::Boolean& ownTransaction)
{
	Acad::ErrorStatus acadReturnValue = Acad::eOk;
    if (ownTransaction)
		acadReturnValue = actrTransactionManager->endTransaction();
	return acadReturnValue;
}
Acad :: ErrorStatus dbCloseTransaction ( Adesk :: Boolean & ownTransaction ) { Acad :: ErrorStatus acadReturnValue = Acad :: eOk ; if ( ownTransaction ) acadReturnValue = actrTransactionManager -> endTransaction ( ) ; return acadReturnValue ; }
Note: This function conditionally closes a transaction.
Note : This function conditionally closes a transaction .
// Close only in the case where we own the transaction.
