Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::field_def Struct Reference

#include <abi_def.hpp>

Public Member Functions

 field_def ()=default
 
 field_def (const field_name &name, const type_name &type)
 
bool operator== (const field_def &other) const
 

Public Attributes

field_name name
 
type_name type
 

Detailed Description

Definition at line 20 of file abi_def.hpp.

Constructor & Destructor Documentation

◆ field_def() [1/2]

sysio::chain::field_def::field_def ( )
default

◆ field_def() [2/2]

sysio::chain::field_def::field_def ( const field_name & name,
const type_name & type )
inline

Definition at line 22 of file abi_def.hpp.

23 :name(name), type(type)
24 {}

Member Function Documentation

◆ operator==()

bool sysio::chain::field_def::operator== ( const field_def & other) const
inline

Definition at line 29 of file abi_def.hpp.

29 {
30 return std::tie(name, type) == std::tie(other.name, other.type);
31 }

Member Data Documentation

◆ name

field_name sysio::chain::field_def::name

Definition at line 26 of file abi_def.hpp.

◆ type

type_name sysio::chain::field_def::type

Definition at line 27 of file abi_def.hpp.


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