10namespace sysio {
namespace chain {
26 struct by_code_scope_table;
31 ordered_unique<tag<by_id>,
32 member<table_id_object, table_id_object::id_type, &table_id_object::id>
34 ordered_unique<tag<by_code_scope_table>,
36 member<table_id_object, account_name, &table_id_object::code>,
37 member<table_id_object, scope_name, &table_id_object::scope>,
38 member<table_id_object, table_name, &table_id_object::table>
46 struct by_scope_primary;
47 struct by_scope_secondary;
48 struct by_scope_tertiary;
68 ordered_unique<tag<by_scope_primary>,
81 template<typename SecondaryKey,
uint64_t ObjectTypeId, typename SecondaryKeyLess =
std::less<SecondaryKey> >
92 SecondaryKey secondary_key;
96 typedef
chainbase::shared_multi_index_container<
100 ordered_unique<tag<by_primary>,
131 return f64_lt( lhs, rhs );
160 using value_type = std::enable_if_t<std::is_integral<T>::value,
T>;
162 static_assert( std::numeric_limits<value_type>::is_specialized,
"value_type does not have specialized numeric_limits" );
171 static constexpr uint128_t max_uint128 = (
static_cast<uint128_t>(std::numeric_limits<uint64_t>::max()) << 64) | std::numeric_limits<uint64_t>::max();
172 static_assert( std::numeric_limits<uint128_t>::max() == max_uint128,
"numeric_limits for uint128_t is not properly defined" );
184 for(
auto& v : arr ) {
185 v = std::numeric_limits<uint128_t>::max();
224#define DECLARE_TABLE_ID_TAG( object, tag ) \
226 struct object_to_table_id_tag<object> { \
227 using tag_type = tag;\
243 static const uint64_t overhead = overhead_per_row_per_index_ram_bytes * 2;
249 static const uint64_t overhead = overhead_per_row_per_index_ram_bytes * 2;
255 static const uint64_t overhead = overhead_per_row_per_index_ram_bytes * 3;
261 static const uint64_t overhead = overhead_per_row_per_index_ram_bytes * 3;
267 static const uint64_t overhead = overhead_per_row_per_index_ram_bytes * 3;
273 static const uint64_t overhead = overhead_per_row_per_index_ram_bytes * 3;
279 static const uint64_t overhead = overhead_per_row_per_index_ram_bytes * 3;
299#define REFLECT_SECONDARY(type)\
300 FC_REFLECT(type, (primary_key)(payer)(secondary_key) )
#define CHAINBASE_SET_INDEX_TYPE(OBJECT_TYPE, INDEX_TYPE)
The table_id_object class tracks the mapping of (scope, code, table) to an opaque identifier.
#define REFLECT_SECONDARY(type)
#define DECLARE_TABLE_ID_TAG(object, tag)
boost::multi_index_container< Object, Args..., chainbase::node_allocator< Object > > shared_multi_index_container
secondary_index< uint128_t, index128_object_type >::index_index index128_index
std::array< uint128_t, 2 > key256_t
typename object_to_table_id_tag< T >::tag_type object_to_table_id_tag_t
secondary_index< float64_t, index_double_object_type, soft_double_less >::index_index index_double_index
secondary_index< uint64_t, index64_object_type >::index_index index64_index
unsigned __int128 uint128_t
secondary_index< key256_t, index256_object_type >::index_index index256_index
chainbase::shared_multi_index_container< key_value_object, indexed_by< ordered_unique< tag< by_id >, member< key_value_object, key_value_object::id_type, &key_value_object::id > >, ordered_unique< tag< by_scope_primary >, composite_key< key_value_object, member< key_value_object, table_id, &key_value_object::t_id >, member< key_value_object, uint64_t, &key_value_object::primary_key > >, composite_key_compare< std::less< table_id >, std::less< uint64_t > > > > > key_value_index
chainbase::shared_multi_index_container< table_id_object, indexed_by< ordered_unique< tag< by_id >, member< table_id_object, table_id_object::id_type, &table_id_object::id > >, ordered_unique< tag< by_code_scope_table >, composite_key< table_id_object, member< table_id_object, account_name, &table_id_object::code >, member< table_id_object, scope_name, &table_id_object::scope >, member< table_id_object, table_name, &table_id_object::table > > > > > table_id_multi_index
secondary_index< float128_t, index_long_double_object_type, soft_long_double_less >::index_index index_long_double_index
#define T(meth, val, expected)
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
bool f128_lt(float128_t a, float128_t b)
bool f64_lt(float64_t a, float64_t b)
float128_t f128_positive_infinity()
float64_t f64_positive_infinity()
float64_t f64_negative_infinity()
float128_t f128_negative_infinity()
unsigned __int64 uint64_t
oid< table_id_object > id_type
static const int number_of_keys
Immutable except for fc::from_variant.
SecondaryKey secondary_key_type
chainbase::shared_multi_index_container< index_object, indexed_by< ordered_unique< tag< by_id >, member< index_object, typename index_object::id_type, &index_object::id > >, ordered_unique< tag< by_primary >, composite_key< index_object, member< index_object, table_id, &index_object::t_id >, member< index_object, uint64_t, &index_object::primary_key > >, composite_key_compare< std::less< table_id >, std::less< uint64_t > > >, ordered_unique< tag< by_secondary >, composite_key< index_object, member< index_object, table_id, &index_object::t_id >, member< index_object, SecondaryKey, &index_object::secondary_key >, member< index_object, uint64_t, &index_object::primary_key > >, composite_key_compare< std::less< table_id >, SecondaryKeyLess, std::less< uint64_t > > > > > index_index
static value_type true_highest()
static value_type true_lowest()
static value_type true_highest()
static value_type true_lowest()
static value_type true_lowest()
std::array< uint128_t, N > value_type
static value_type true_highest()
std::enable_if_t< std::is_integral< T >::value, T > value_type
static constexpr value_type true_lowest()
static constexpr value_type true_highest()
bool operator()(const float64_t &lhs, const float64_t &rhs) const
bool operator()(const float128_t &lhs, const float128_t &rhs) const
yubihsm_pkcs11_object_template template