Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
contract_table_objects.hpp File Reference
#include <sysio/chain/database_utils.hpp>
#include <sysio/chain/contract_types.hpp>
#include <sysio/chain/multi_index_includes.hpp>
#include <array>
#include <type_traits>
Include dependency graph for contract_table_objects.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sysio::chain::table_id_object
 The table_id_object class tracks the mapping of (scope, code, table) to an opaque identifier. More...
 
struct  sysio::chain::key_value_object
 
struct  sysio::chain::secondary_index< SecondaryKey, ObjectTypeId, SecondaryKeyLess >
 
struct  sysio::chain::secondary_index< SecondaryKey, ObjectTypeId, SecondaryKeyLess >::index_object
 
struct  sysio::chain::soft_double_less
 
struct  sysio::chain::soft_long_double_less
 
struct  sysio::chain::secondary_key_traits< T >
 
struct  sysio::chain::secondary_key_traits< std::array< uint128_t, N > >
 
struct  sysio::chain::secondary_key_traits< float64_t >
 
struct  sysio::chain::secondary_key_traits< float128_t >
 
struct  sysio::chain::config::billable_size< table_id_object >
 
struct  sysio::chain::config::billable_size< key_value_object >
 
struct  sysio::chain::config::billable_size< index64_object >
 
struct  sysio::chain::config::billable_size< index128_object >
 
struct  sysio::chain::config::billable_size< index256_object >
 
struct  sysio::chain::config::billable_size< index_double_object >
 
struct  sysio::chain::config::billable_size< index_long_double_object >
 

Namespaces

namespace  sysio
 
namespace  sysio::chain
 
namespace  sysio::chain::config
 

Macros

#define DECLARE_TABLE_ID_TAG(object, tag)
 
#define REFLECT_SECONDARY(type)
 

Typedefs

using sysio::chain::table_id_multi_index
 
using sysio::chain::table_id = table_id_object::id_type
 
using sysio::chain::key_value_index
 
typedef secondary_index< uint64_t, index64_object_type >::index_object sysio::chain::index64_object
 
typedef secondary_index< uint64_t, index64_object_type >::index_index sysio::chain::index64_index
 
typedef secondary_index< uint128_t, index128_object_type >::index_object sysio::chain::index128_object
 
typedef secondary_index< uint128_t, index128_object_type >::index_index sysio::chain::index128_index
 
typedef std::array< uint128_t, 2 > sysio::chain::key256_t
 
typedef secondary_index< key256_t, index256_object_type >::index_object sysio::chain::index256_object
 
typedef secondary_index< key256_t, index256_object_type >::index_index sysio::chain::index256_index
 
typedef secondary_index< float64_t, index_double_object_type, soft_double_less >::index_object sysio::chain::index_double_object
 
typedef secondary_index< float64_t, index_double_object_type, soft_double_less >::index_index sysio::chain::index_double_index
 
typedef secondary_index< float128_t, index_long_double_object_type, soft_long_double_less >::index_object sysio::chain::index_long_double_object
 
typedef secondary_index< float128_t, index_long_double_object_type, soft_long_double_less >::index_index sysio::chain::index_long_double_index
 
template<typename T >
using sysio::chain::object_to_table_id_tag_t = typename object_to_table_id_tag<T>::tag_type
 

Macro Definition Documentation

◆ DECLARE_TABLE_ID_TAG

#define DECLARE_TABLE_ID_TAG ( object,
tag )
Value:
template<> \
struct object_to_table_id_tag<object> { \
using tag_type = tag;\
};
yh_object_descriptor object

Definition at line 224 of file contract_table_objects.hpp.

224#define DECLARE_TABLE_ID_TAG( object, tag ) \
225 template<> \
226 struct object_to_table_id_tag<object> { \
227 using tag_type = tag;\
228 };

◆ REFLECT_SECONDARY

#define REFLECT_SECONDARY ( type)
Value:
FC_REFLECT(type, (primary_key)(payer)(secondary_key) )
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Definition reflect.hpp:311