Go to the documentation of this file.Go to the SVN repository for this file.
43 #define NCBI_USE_ERRCODE_X ObjMgr_ScopeTrans
52 x_Set( *
impl.CreateTransaction() );
59 }
catch (exception& ex) {
IScopeTransaction_Impl & x_GetImpl()
~CScopeTransaction()
Destractor.
void Commit()
Finish the editing operation.
void x_Set(IScopeTransaction_Impl &)
void AddScope(CScope &scope)
If the editing operation affects objects from another scope this scope should be added to the current...
void RollBack()
Undo all made modificatins.
virtual void RollBack()=0
virtual void AddScope(CScope_Impl &)=0
#define ERR_POST_X(err_subcode, message)
Error posting with default error code and given error subcode.
void Fatal(CExceptionArgs_Base &args)
CScope_Impl & GetImpl(void)
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
Definition of all error codes used in objmgr libraries (xobjmgr.lib, xobjutil.lib and others).