BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Static Public Attributes | List of all members
graphene::db::abstract_object< DerivedClass, SpaceID, TypeID > Class Template Reference

#include <object.hpp>

Inheritance diagram for graphene::db::abstract_object< DerivedClass, SpaceID, TypeID >:
graphene::db::base_abstract_object< DerivedClass > graphene::db::object

Public Member Functions

 abstract_object ()
 
object_id< SpaceID, TypeID > get_id () const
 
- Public Member Functions inherited from graphene::db::base_abstract_object< DerivedClass >
std::unique_ptr< objectclone () const override
 
void move_from (object &obj) override
 
fc::variant to_variant () const override
 
std::vector< char > pack () const override
 
 object ()=default
 
 object (uint8_t space_id, uint8_t type_id)
 
- Public Member Functions inherited from graphene::db::object
 object ()=default
 
 object (uint8_t space_id, uint8_t type_id)
 
virtual ~object ()=default
 

Static Public Attributes

static constexpr uint8_t space_id = SpaceID
 
static constexpr uint8_t type_id = TypeID
 

Additional Inherited Members

- Public Attributes inherited from graphene::db::object
object_id_type id
 

Detailed Description

template<typename DerivedClass, uint8_t SpaceID, uint8_t TypeID>
class graphene::db::abstract_object< DerivedClass, SpaceID, TypeID >

Definition at line 107 of file object.hpp.

Constructor & Destructor Documentation

◆ abstract_object()

template<typename DerivedClass , uint8_t SpaceID, uint8_t TypeID>
graphene::db::abstract_object< DerivedClass, SpaceID, TypeID >::abstract_object ( )
inline

Definition at line 112 of file object.hpp.

Member Function Documentation

◆ get_id()

template<typename DerivedClass , uint8_t SpaceID, uint8_t TypeID>
object_id<SpaceID,TypeID> graphene::db::abstract_object< DerivedClass, SpaceID, TypeID >::get_id ( ) const
inline

Definition at line 113 of file object.hpp.

Member Data Documentation

◆ space_id

template<typename DerivedClass , uint8_t SpaceID, uint8_t TypeID>
constexpr uint8_t graphene::db::abstract_object< DerivedClass, SpaceID, TypeID >::space_id = SpaceID
staticconstexpr

Definition at line 110 of file object.hpp.

◆ type_id

template<typename DerivedClass , uint8_t SpaceID, uint8_t TypeID>
constexpr uint8_t graphene::db::abstract_object< DerivedClass, SpaceID, TypeID >::type_id = TypeID
staticconstexpr

Definition at line 111 of file object.hpp.


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