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

#include "data_model_python.hpp"

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

Classes

struct  Impl
 

Public Member Functions

 DataModelPython (std::vector< std::string > python_paths, std::string const &module_name, std::string const &initialization_argument)
 
 ~DataModelPython ()
 
CommandResult execute (shared_model::proto::CallModel const &cmd) override
 
void commitTransaction () override
 
void commitBlock () override
 
void rollbackTransaction () override
 
void rollbackBlock () override
 
std::vector< shared_model::interface::DataModelIdgetSupportedDataModelIds () const override
 
- Public Member Functions inherited from iroha::ametsuchi::DataModel
virtual ~DataModel ()=default
 

Constructor & Destructor Documentation

◆ DataModelPython()

DataModelPython::DataModelPython ( std::vector< std::string >  python_paths,
std::string const &  module_name,
std::string const &  initialization_argument 
)

◆ ~DataModelPython()

DataModelPython::~DataModelPython ( )

Member Function Documentation

◆ commitBlock()

void DataModelPython::commitBlock ( )
overridevirtual

◆ commitTransaction()

void DataModelPython::commitTransaction ( )
overridevirtual

◆ execute()

CommandResult DataModelPython::execute ( shared_model::proto::CallModel const &  cmd)
overridevirtual

Implements iroha::ametsuchi::DataModel.

Here is the call graph for this function:

◆ getSupportedDataModelIds()

std::vector< shared_model::interface::DataModelId > DataModelPython::getSupportedDataModelIds ( ) const
overridevirtual

◆ rollbackBlock()

void DataModelPython::rollbackBlock ( )
overridevirtual

◆ rollbackTransaction()

void DataModelPython::rollbackTransaction ( )
overridevirtual

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