Nemiver  0.3
Public Member Functions | Public Attributes | List of all members
nemiver::common::TransactionAutoHelper Struct Reference

#include <nmv-transaction.h>

Public Member Functions

 TransactionAutoHelper (common::Transaction &a_trans, const common::UString &a_name="generic-transaction", bool a_ignore=false)
 
void end (const common::UString &a_name="generic-transaction")
 
 operator common::Transaction & ()
 
common::Transactionget ()
 
 ~TransactionAutoHelper ()
 

Public Attributes

Transactionm_trans
 
bool m_is_started
 
bool m_ignore
 

Constructor & Destructor Documentation

◆ TransactionAutoHelper()

nemiver::common::TransactionAutoHelper::TransactionAutoHelper ( common::Transaction a_trans,
const common::UString a_name = "generic-transaction",
bool  a_ignore = false 
)
inline

◆ ~TransactionAutoHelper()

nemiver::common::TransactionAutoHelper::~TransactionAutoHelper ( )
inline

Member Function Documentation

◆ end()

void nemiver::common::TransactionAutoHelper::end ( const common::UString a_name = "generic-transaction")
inline

◆ get()

common::Transaction& nemiver::common::TransactionAutoHelper::get ( )
inline

References m_trans.

◆ operator common::Transaction &()

nemiver::common::TransactionAutoHelper::operator common::Transaction & ( )
inline

References m_trans.

Member Data Documentation

◆ m_ignore

bool nemiver::common::TransactionAutoHelper::m_ignore

◆ m_is_started

bool nemiver::common::TransactionAutoHelper::m_is_started

◆ m_trans

Transaction& nemiver::common::TransactionAutoHelper::m_trans

The documentation for this struct was generated from the following file: