hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::validation::CommandValidatorVisitor< FieldValidator > Class Template Reference

#include "transaction_validator.hpp"

Inheritance diagram for shared_model::validation::CommandValidatorVisitor< FieldValidator >:
Inheritance graph
Collaboration diagram for shared_model::validation::CommandValidatorVisitor< FieldValidator >:
Collaboration graph

Public Member Functions

 CommandValidatorVisitor (const CommandValidatorVisitor &)=delete
 
CommandValidatorVisitoroperator= (const CommandValidatorVisitor &)=delete
 
 CommandValidatorVisitor (std::shared_ptr< ValidatorsConfig > config)
 
ReasonsGroupType operator() (const interface::AddAssetQuantity &aaq) const
 
ReasonsGroupType operator() (const interface::AddPeer &ap) const
 
ReasonsGroupType operator() (const interface::AddSignatory &as) const
 
ReasonsGroupType operator() (const interface::AppendRole &ar) const
 
ReasonsGroupType operator() (const interface::CreateAccount &ca) const
 
ReasonsGroupType operator() (const interface::CreateAsset &ca) const
 
ReasonsGroupType operator() (const interface::CreateDomain &cd) const
 
ReasonsGroupType operator() (const interface::CreateRole &cr) const
 
ReasonsGroupType operator() (const interface::DetachRole &dr) const
 
ReasonsGroupType operator() (const interface::GrantPermission &gp) const
 
ReasonsGroupType operator() (const interface::RemovePeer &rp) const
 
ReasonsGroupType operator() (const interface::RemoveSignatory &rs) const
 
ReasonsGroupType operator() (const interface::RevokePermission &rp) const
 
ReasonsGroupType operator() (const interface::SetAccountDetail &sad) const
 
ReasonsGroupType operator() (const interface::SetQuorum &sq) const
 
ReasonsGroupType operator() (const interface::SubtractAssetQuantity &saq) const
 
ReasonsGroupType operator() (const interface::TransferAsset &ta) const
 
ReasonsGroupType operator() (const interface::CompareAndSetAccountDetail &casad) const
 
ReasonsGroupType operator() (const interface::SetSettingValue &ssv) const
 

Detailed Description

template<typename FieldValidator>
class shared_model::validation::CommandValidatorVisitor< FieldValidator >

Visitor used by transaction validator to validate each command

Template Parameters
FieldValidator- field validator type
Note
this class is not thread safe and never going to be so copy constructor and assignment operator are disabled explicitly

Constructor & Destructor Documentation

◆ CommandValidatorVisitor() [1/2]

◆ CommandValidatorVisitor() [2/2]

template<typename FieldValidator >
shared_model::validation::CommandValidatorVisitor< FieldValidator >::CommandValidatorVisitor ( std::shared_ptr< ValidatorsConfig config)
inline

Member Function Documentation

◆ operator()() [1/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::AddAssetQuantity aaq) const
inline
Here is the call graph for this function:

◆ operator()() [2/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::AddPeer ap) const
inline
Here is the call graph for this function:

◆ operator()() [3/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::AddSignatory as) const
inline
Here is the call graph for this function:

◆ operator()() [4/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::AppendRole ar) const
inline
Here is the call graph for this function:

◆ operator()() [5/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::CreateAccount ca) const
inline
Here is the call graph for this function:

◆ operator()() [6/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::CreateAsset ca) const
inline
Here is the call graph for this function:

◆ operator()() [7/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::CreateDomain cd) const
inline
Here is the call graph for this function:

◆ operator()() [8/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::CreateRole cr) const
inline
Here is the call graph for this function:

◆ operator()() [9/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::DetachRole dr) const
inline
Here is the call graph for this function:

◆ operator()() [10/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::GrantPermission gp) const
inline
Here is the call graph for this function:

◆ operator()() [11/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::RemovePeer rp) const
inline
Here is the call graph for this function:

◆ operator()() [12/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::RemoveSignatory rs) const
inline
Here is the call graph for this function:

◆ operator()() [13/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::RevokePermission rp) const
inline
Here is the call graph for this function:

◆ operator()() [14/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::SetAccountDetail sad) const
inline
Here is the call graph for this function:

◆ operator()() [15/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::SetQuorum sq) const
inline
Here is the call graph for this function:

◆ operator()() [16/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::SubtractAssetQuantity saq) const
inline
Here is the call graph for this function:

◆ operator()() [17/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::TransferAsset ta) const
inline
Here is the call graph for this function:

◆ operator()() [18/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::CompareAndSetAccountDetail casad) const
inline
Here is the call graph for this function:

◆ operator()() [19/19]

template<typename FieldValidator >
ReasonsGroupType shared_model::validation::CommandValidatorVisitor< FieldValidator >::operator() ( const interface::SetSettingValue ssv) const
inline

◆ operator=()


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