Wire Sysio Wire Sysion 1.0.0
|
#include <fixed_key.hpp>
Public Types | |
typedef uint128_t | word_t |
Public Member Functions | |
fixed_key () | |
Default constructor to fixed_key object. | |
fixed_key (const std::array< word_t, num_words()> &arr) | |
Constructor to fixed_key object from std::array of num_words() words. | |
Static Public Member Functions | |
static constexpr size_t | num_words () |
static constexpr size_t | padded_bytes () |
Public Attributes | |
template<typename Word , size_t NumWords> | |
arr_itr = num_sub_words | |
return | arr |
Friends | |
bool | operator== (const fixed_key< Size > &c1, const fixed_key< Size > &c2) |
Compares two fixed_key variables c1 and c2. | |
bool | operator!= (const fixed_key< Size > &c1, const fixed_key< Size > &c2) |
Compares two fixed_key variables c1 and c2. | |
bool | operator> (const fixed_key< Size > &c1, const fixed_key< Size > &c2) |
Compares two fixed_key variables c1 and c2. | |
bool | operator< (const fixed_key< Size > &c1, const fixed_key< Size > &c2) |
Compares two fixed_key variables c1 and c2. | |
Definition at line 34 of file fixed_key.hpp.
uint128_t sysio::fixed_key< Size >::word_t |
Definition at line 74 of file fixed_key.hpp.
|
inline |
Default constructor to fixed_key object which initializes all bytes to zero
Definition at line 84 of file fixed_key.hpp.
|
inline |
Constructor to fixed_key object from std::array of num_words() words
arr | data |
Definition at line 92 of file fixed_key.hpp.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
friend |
Lexicographically compares two fixed_key variables c1 and c2
Definition at line 193 of file fixed_key.hpp.
|
friend |
Lexicographically compares two fixed_key variables c1 and c2
Definition at line 215 of file fixed_key.hpp.
|
friend |
Lexicographically compares two fixed_key variables c1 and c2
Definition at line 182 of file fixed_key.hpp.
|
friend |
Lexicographically compares two fixed_key variables c1 and c2
Definition at line 204 of file fixed_key.hpp.
return sysio::fixed_key< Size >::arr |
Definition at line 158 of file fixed_key.hpp.
sysio::fixed_key< Size >::arr_itr = num_sub_words |
Definition at line 155 of file fixed_key.hpp.