Skip to content

Class zmbt::entity_id

ClassList > zmbt > entity_id

Base class for annotated key objects.

  • #include <entity_id.hpp>

Inherited by the following classes: zmbt::interface_id, zmbt::object_id

Public Functions

Type Name
boost::json::string_view annotation () const
entity_id () = default
entity_id (boost::json::string_view key, std::type_index type_index)
entity_id (boost::json::string_view key, std::size_t type_index_hash)
entity_id (boost::json::array const & str)
entity_id (boost::json::value const & val)
entity_id (entity_id const &) = default
entity_id (entity_id &&) = default
boost::json::string_view key () const
bool operator!= (entity_id const & other) const
entity_id & operator= (entity_id const &) = default
entity_id & operator= (entity_id &&) = default
entity_id & operator= (boost::json::value const & v)
entity_id & operator= (boost::json::value && v)
bool operator== (entity_id const & other) const
boost::json::string_view str () const
virtual ~entity_id () = default

Public Functions Documentation

function annotation

boost::json::string_view zmbt::entity_id::annotation () const

function entity_id [1/7]

zmbt::entity_id::entity_id () = default

function entity_id [2/7]

zmbt::entity_id::entity_id (
    boost::json::string_view key,
    std::type_index type_index
) 

function entity_id [3/7]

zmbt::entity_id::entity_id (
    boost::json::string_view key,
    std::size_t type_index_hash
) 

function entity_id [4/7]

explicit zmbt::entity_id::entity_id (
    boost::json::array const & str
) 

function entity_id [5/7]

explicit zmbt::entity_id::entity_id (
    boost::json::value const & val
) 

function entity_id [6/7]

zmbt::entity_id::entity_id (
    entity_id const &
) = default

function entity_id [7/7]

zmbt::entity_id::entity_id (
    entity_id &&
) = default

function key

inline boost::json::string_view zmbt::entity_id::key () const

function operator!=

inline bool zmbt::entity_id::operator!= (
    entity_id const & other
) const

function operator=

entity_id & zmbt::entity_id::operator= (
    entity_id const &
) = default

function operator=

entity_id & zmbt::entity_id::operator= (
    entity_id &&
) = default

function operator=

inline entity_id & zmbt::entity_id::operator= (
    boost::json::value const & v
) 

function operator=

inline entity_id & zmbt::entity_id::operator= (
    boost::json::value && v
) 

function operator==

inline bool zmbt::entity_id::operator== (
    entity_id const & other
) const

function str

boost::json::string_view zmbt::entity_id::str () const

function ~entity_id

virtual zmbt::entity_id::~entity_id () = default

Friends Documentation

friend hash_value

Boost.Hash customization point.

inline std::size_t zmbt::entity_id::hash_value (
    entity_id const & v
) 


friend operator<<

inline std::ostream & zmbt::entity_id::operator<< (
    std::ostream & os,
    entity_id const & id
) 


The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/core/entity_id.hpp