Kagome
Polkadot Runtime Engine in C++17
kagome::primitives::detail::BlockInfoT< Tag > Struct Template Reference

#include <common.hpp>

Inheritance diagram for kagome::primitives::detail::BlockInfoT< Tag >:
Collaboration diagram for kagome::primitives::detail::BlockInfoT< Tag >:

Public Member Functions

 BlockInfoT ()=default
 
 BlockInfoT (const BlockNumber &n, const BlockHash &h)
 
 BlockInfoT (const BlockHash &h, const BlockNumber &n)
 
bool operator== (const BlockInfoT< Tag > &o) const
 
bool operator< (const BlockInfoT< Tag > &o) const
 

Public Attributes

BlockNumber number {}
 
BlockHash hash {}
 

Detailed Description

template<typename Tag>
struct kagome::primitives::detail::BlockInfoT< Tag >

Definition at line 26 of file common.hpp.

Constructor & Destructor Documentation

template<typename Tag>
kagome::primitives::detail::BlockInfoT< Tag >::BlockInfoT ( )
default
template<typename Tag>
kagome::primitives::detail::BlockInfoT< Tag >::BlockInfoT ( const BlockNumber n,
const BlockHash h 
)
inline

Definition at line 30 of file common.hpp.

template<typename Tag>
kagome::primitives::detail::BlockInfoT< Tag >::BlockInfoT ( const BlockHash h,
const BlockNumber n 
)
inline

Definition at line 33 of file common.hpp.

Member Function Documentation

template<typename Tag>
bool kagome::primitives::detail::BlockInfoT< Tag >::operator< ( const BlockInfoT< Tag > &  o) const
inline

Definition at line 43 of file common.hpp.

template<typename Tag>
bool kagome::primitives::detail::BlockInfoT< Tag >::operator== ( const BlockInfoT< Tag > &  o) const
inline

Definition at line 39 of file common.hpp.

Member Data Documentation

template<typename Tag>
BlockHash kagome::primitives::detail::BlockInfoT< Tag >::hash {}

Definition at line 37 of file common.hpp.

template<typename Tag>
BlockNumber kagome::primitives::detail::BlockInfoT< Tag >::number {}

Definition at line 36 of file common.hpp.


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