Skip to content

Class zmbt::object_id

ClassList > zmbt > object_id

Pointer-based object id with type annotation.

  • #include <object_id.hpp>

Inherits the following classes: zmbt::entity_id

Public Functions

Type Name
entity_id () = default
entity_id (boost::json::string_view key, boost::json::string_view type)
entity_id (boost::json::value const & val)
entity_id (entity_id const &) = default
entity_id (entity_id &&) = default
object_id (boost::json::string_view str)
object_id (std::string const & str)
object_id (char const * str)
object_id (T obj)
object_id (std::shared_ptr< T > const & ptr)
object_id (T const & ref)
bool operator!= (entity_id const & other) const
bool operator< (entity_id const & other) const
bool operator<= (entity_id const & other) const
bool operator== (entity_id const & other) const
bool operator> (entity_id const & other) const
bool operator>= (entity_id const & other) const

Public Functions inherited from zmbt::entity_id

See zmbt::entity_id

Type Name
boost::json::string annotation () const
entity_id () = default
entity_id (boost::json::string_view key, boost::json::string_view type)
entity_id (boost::json::value const & val)
entity_id (entity_id const &) = default
entity_id (entity_id &&) = default
boost::json::string key () const
bool operator!= (entity_id const & other) const
bool operator< (entity_id const & other) 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
bool operator> (entity_id const & other) const
bool operator>= (entity_id const & other) const
boost::json::string str () const
virtual ~entity_id () = default

Public Functions Documentation

function entity_id [1/5]

zmbt::object_id::entity_id () = default

function entity_id [2/5]

zmbt::object_id::entity_id (
    boost::json::string_view key,
    boost::json::string_view type
) 

function entity_id [3/5]

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

function entity_id [4/5]

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

function entity_id [5/5]

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

function object_id [1/6]

inline zmbt::object_id::object_id (
    boost::json::string_view str
) 

function object_id [2/6]

inline zmbt::object_id::object_id (
    std::string const & str
) 

function object_id [3/6]

inline zmbt::object_id::object_id (
    char const * str
) 

function object_id [4/6]

template<class T, is_ptr< T >>
inline zmbt::object_id::object_id (
    T obj
) 

function object_id [5/6]

template<class T>
inline zmbt::object_id::object_id (
    std::shared_ptr< T > const & ptr
) 

function object_id [6/6]

template<class T, is_not_ptr< T >>
inline zmbt::object_id::object_id (
    T const & ref
) 

function operator!=

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

function operator<

inline bool zmbt::object_id::operator< (
    entity_id const & other
) const

function operator<=

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

function operator==

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

function operator>

inline bool zmbt::object_id::operator> (
    entity_id const & other
) const

function operator>=

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

Friends Documentation

friend operator<<

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


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