hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::SetSettingValue Class Referencefinal

#include "proto_set_setting_value.hpp"

Inheritance diagram for shared_model::proto::SetSettingValue:
Inheritance graph
Collaboration diagram for shared_model::proto::SetSettingValue:
Collaboration graph

Public Member Functions

 SetSettingValue (iroha::protocol::Command &command)
 
const interface::types::SettingKeyTypekey () const override
 
const interface::types::SettingValueTypevalue () const override
 
- Public Member Functions inherited from shared_model::interface::SetSettingValue
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< SetSettingValue >
virtual bool operator== (const ModelType &rhs) const=0
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< SetSettingValue >
using ModelType = SetSettingValue
 

Constructor & Destructor Documentation

◆ SetSettingValue()

shared_model::proto::SetSettingValue::SetSettingValue ( iroha::protocol::Command &  command)
explicit

Member Function Documentation

◆ key()

const interface::types::SettingKeyType & shared_model::proto::SetSettingValue::key ( ) const
overridevirtual
Returns
key of data to store in settings

Implements shared_model::interface::SetSettingValue.

◆ value()

const interface::types::SettingValueType & shared_model::proto::SetSettingValue::value ( ) const
overridevirtual
Returns
setting value to store by given key

Implements shared_model::interface::SetSettingValue.


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