nil::crypto3::codec::detail::basic_base_policy< 58 > Class Reference

#include <base_policy.hpp>

+ Inheritance diagram for nil::crypto3::codec::detail::basic_base_policy< 58 >:
+ Collaboration diagram for nil::crypto3::codec::detail::basic_base_policy< 58 >:

Public Types

typedef boost::uint_t< CHAR_BIT >::exact byte_type
 
typedef std::array< encoded_value_type, constants_sizeconstants_type
 
typedef boost::container::small_vector< decoded_value_type, decoded_block_valuesdecoded_block_type
 
typedef byte_type decoded_value_type
 
typedef boost::container::small_vector< encoded_value_type, encoded_block_valuesencoded_block_type
 
typedef byte_type encoded_value_type
 
typedef std::array< decoded_value_type, inverted_constants_sizeinverted_constants_type
 

Public Member Functions

 CRYPTO3_INLINE_VARIABLE (constants_type, constants,({ '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}))
 
 CRYPTO3_INLINE_VARIABLE (inverted_constants_type, inverted_constants,({0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x80, 0x11, 0x12, 0x13, 0x14, 0x15, 0x80, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2A, 0x2B, 0x80, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80}))
 

Static Public Attributes

constexpr static const std::size_t constants_size = 58
 
constexpr static const std::size_t decoded_block_bits = decoded_block_values * decoded_value_bits
 
constexpr static const std::size_t decoded_block_values = 1
 
constexpr static const std::size_t decoded_value_bits = CHAR_BIT
 
constexpr static const std::size_t encoded_block_bits = encoded_block_values * encoded_value_bits
 
constexpr static const std::size_t encoded_block_values = 1
 
constexpr static const std::size_t encoded_value_bits = CHAR_BIT
 
constexpr static const std::size_t inverted_constants_size = 256
 

Member Typedef Documentation

◆ byte_type

typedef boost::uint_t<CHAR_BIT>::exact nil::crypto3::codec::detail::basic_base_policy< 58 >::byte_type

◆ constants_type

◆ decoded_block_type

◆ decoded_value_type

◆ encoded_block_type

◆ encoded_value_type

◆ inverted_constants_type

Member Function Documentation

◆ CRYPTO3_INLINE_VARIABLE() [1/2]

nil::crypto3::codec::detail::basic_base_policy< 58 >::CRYPTO3_INLINE_VARIABLE ( constants_type  ,
constants  ,
({ '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'})   
)

◆ CRYPTO3_INLINE_VARIABLE() [2/2]

nil::crypto3::codec::detail::basic_base_policy< 58 >::CRYPTO3_INLINE_VARIABLE ( inverted_constants_type  ,
inverted_constants  ,
({0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x80, 0x11, 0x12, 0x13, 0x14, 0x15, 0x80, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2A, 0x2B, 0x80, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80})   
)

Member Data Documentation

◆ constants_size

constexpr static const std::size_t nil::crypto3::codec::detail::basic_base_policy< 58 >::constants_size = 58
staticconstexpr

◆ decoded_block_bits

constexpr static const std::size_t nil::crypto3::codec::detail::basic_base_policy< 58 >::decoded_block_bits = decoded_block_values * decoded_value_bits
staticconstexpr

◆ decoded_block_values

constexpr static const std::size_t nil::crypto3::codec::detail::basic_base_policy< 58 >::decoded_block_values = 1
staticconstexpr

◆ decoded_value_bits

constexpr static const std::size_t nil::crypto3::codec::detail::basic_base_policy< 58 >::decoded_value_bits = CHAR_BIT
staticconstexpr

◆ encoded_block_bits

constexpr static const std::size_t nil::crypto3::codec::detail::basic_base_policy< 58 >::encoded_block_bits = encoded_block_values * encoded_value_bits
staticconstexpr

◆ encoded_block_values

constexpr static const std::size_t nil::crypto3::codec::detail::basic_base_policy< 58 >::encoded_block_values = 1
staticconstexpr

◆ encoded_value_bits

constexpr static const std::size_t nil::crypto3::codec::detail::basic_base_policy< 58 >::encoded_value_bits = CHAR_BIT
staticconstexpr

◆ inverted_constants_size

constexpr static const std::size_t nil::crypto3::codec::detail::basic_base_policy< 58 >::inverted_constants_size = 256
staticconstexpr

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