CCF
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
tx_status.h File Reference
#include "ccf/ds/json.h"
#include "ccf/tx_id.h"

Go to the source code of this file.

Namespaces

namespace  ccf
 

Enumerations

enum class  ccf::TxStatus { ccf::Unknown , ccf::Pending , ccf::Committed , ccf::Invalid }
 

Functions

constexpr char const * ccf::tx_status_to_str (TxStatus status)
 
 ccf::DECLARE_JSON_ENUM (TxStatus, {{TxStatus::Unknown, tx_status_to_str(TxStatus::Unknown)}, {TxStatus::Pending, tx_status_to_str(TxStatus::Pending)}, {TxStatus::Committed, tx_status_to_str(TxStatus::Committed)}, {TxStatus::Invalid, tx_status_to_str(TxStatus::Invalid)}})