hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::ametsuchi::DataModel Class Referenceabstract

#include "data_model.hpp"

Inheritance diagram for iroha::ametsuchi::DataModel:
Inheritance graph
Collaboration diagram for iroha::ametsuchi::DataModel:
Collaboration graph

Public Member Functions

virtual ~DataModel ()=default
 
virtual CommandResult execute (shared_model::proto::CallModel const &cmd)=0
 
virtual void commitTransaction ()=0
 
virtual void commitBlock ()=0
 
virtual void rollbackTransaction ()=0
 
virtual void rollbackBlock ()=0
 
virtual std::vector< shared_model::interface::DataModelIdgetSupportedDataModelIds () const =0
 

Constructor & Destructor Documentation

◆ ~DataModel()

virtual iroha::ametsuchi::DataModel::~DataModel ( )
virtualdefault

Member Function Documentation

◆ commitBlock()

virtual void iroha::ametsuchi::DataModel::commitBlock ( )
pure virtual

◆ commitTransaction()

virtual void iroha::ametsuchi::DataModel::commitTransaction ( )
pure virtual

◆ execute()

virtual CommandResult iroha::ametsuchi::DataModel::execute ( shared_model::proto::CallModel const &  cmd)
pure virtual

◆ getSupportedDataModelIds()

virtual std::vector<shared_model::interface::DataModelId> iroha::ametsuchi::DataModel::getSupportedDataModelIds ( ) const
pure virtual

◆ rollbackBlock()

virtual void iroha::ametsuchi::DataModel::rollbackBlock ( )
pure virtual

◆ rollbackTransaction()

virtual void iroha::ametsuchi::DataModel::rollbackTransaction ( )
pure virtual

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