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

#include "proto_compare_and_set_account_detail.hpp"

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

Public Member Functions

 CompareAndSetAccountDetail (iroha::protocol::Command &command)
 
const interface::types::AccountIdTypeaccountId () const override
 
const interface::types::AccountDetailKeyTypekey () const override
 
const interface::types::AccountDetailValueTypevalue () const override
 
const boost::optional< interface::types::AccountDetailValueTypeoldValue () const override
 
- Public Member Functions inherited from shared_model::interface::CompareAndSetAccountDetail
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< CompareAndSetAccountDetail >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

const interface::types::AccountIdType & shared_model::proto::CompareAndSetAccountDetail::accountId ( ) const
overridevirtual
Returns
Identity of user to set account detail to

Implements shared_model::interface::CompareAndSetAccountDetail.

const interface::types::AccountDetailKeyType & shared_model::proto::CompareAndSetAccountDetail::key ( ) const
overridevirtual
Returns
key of data to store in the account

Implements shared_model::interface::CompareAndSetAccountDetail.

const boost::optional< interface::types::AccountDetailValueType > shared_model::proto::CompareAndSetAccountDetail::oldValue ( ) const
overridevirtual
Returns
the value expected before the change

Implements shared_model::interface::CompareAndSetAccountDetail.

const interface::types::AccountDetailValueType & shared_model::proto::CompareAndSetAccountDetail::value ( ) const
overridevirtual
Returns
detail value to store by given key

Implements shared_model::interface::CompareAndSetAccountDetail.


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