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

#include <s_root_extension.hpp>

Collaboration diagram for sysio::chain::s_root_extension:

Public Member Functions

 s_root_extension ()=default
 
 s_root_extension (const s_header &header)
 

Static Public Member Functions

static constexpr uint16_t extension_id ()
 
static constexpr bool enforce_unique ()
 

Public Attributes

s_header s_header_data
 

Friends

bool operator== (const s_root_extension &a, const s_root_extension &b)
 

Detailed Description

Definition at line 44 of file s_root_extension.hpp.

Constructor & Destructor Documentation

◆ s_root_extension() [1/2]

sysio::chain::s_root_extension::s_root_extension ( )
default

◆ s_root_extension() [2/2]

sysio::chain::s_root_extension::s_root_extension ( const s_header & header)
inlineexplicit

Definition at line 51 of file s_root_extension.hpp.

Member Function Documentation

◆ enforce_unique()

static constexpr bool sysio::chain::s_root_extension::enforce_unique ( )
inlinestaticconstexpr

Definition at line 46 of file s_root_extension.hpp.

46{ return true; } // Enforces that each block can only have one such extension

◆ extension_id()

static constexpr uint16_t sysio::chain::s_root_extension::extension_id ( )
inlinestaticconstexpr

Definition at line 45 of file s_root_extension.hpp.

45{ return 2; } // Unique ID for the extension
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const s_root_extension & a,
const s_root_extension & b )
friend

Definition at line 54 of file s_root_extension.hpp.

54 {
55 return a.s_header_data == b.s_header_data;
56 }
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition pointer.h:1181

Member Data Documentation

◆ s_header_data

s_header sysio::chain::s_root_extension::s_header_data

Definition at line 48 of file s_root_extension.hpp.


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