Honeycomb  0.1
Component-Model Framework
Public Member Functions | Friends | List of all members
honey::IdLiteral Class Reference

Id created from a string literal at compile-time. More...

#include <Id.h>

Public Member Functions

constexpr IdLiteral ()
 
constexpr IdLiteral (const char *str, szt len)
 
constexpr bool operator== (const IdLiteral &rhs) const
 
constexpr bool operator!= (const IdLiteral &rhs) const
 
constexpr bool operator< (const IdLiteral &rhs) const
 
constexpr bool operator> (const IdLiteral &rhs) const
 
constexpr bool operator<= (const IdLiteral &rhs) const
 
constexpr bool operator>= (const IdLiteral &rhs) const
 
bool operator== (const Id &rhs) const
 
bool operator!= (const Id &rhs) const
 
bool operator< (const Id &rhs) const
 
bool operator> (const Id &rhs) const
 
bool operator<= (const Id &rhs) const
 
bool operator>= (const Id &rhs) const
 
constexpr const char * name () const
 
constexpr szt hash () const
 
constexpr operator szt () const
 

Friends

class Id
 
ostream & operator<< (ostream &os, const IdLiteral &val)
 
ByteStreamoperator<< (ByteStream &os, const IdLiteral &val)
 Literal id to bytes. More...
 

Detailed Description

Id created from a string literal at compile-time.

See also
string literal operator _id

Constructor & Destructor Documentation

constexpr honey::IdLiteral::IdLiteral ( )
inline
constexpr honey::IdLiteral::IdLiteral ( const char *  str,
szt  len 
)
inline

Member Function Documentation

constexpr szt honey::IdLiteral::hash ( ) const
inline
constexpr const char* honey::IdLiteral::name ( ) const
inline
constexpr honey::IdLiteral::operator szt ( ) const
inline
constexpr bool honey::IdLiteral::operator!= ( const IdLiteral rhs) const
inline
bool honey::IdLiteral::operator!= ( const Id rhs) const
inline
constexpr bool honey::IdLiteral::operator< ( const IdLiteral rhs) const
inline
bool honey::IdLiteral::operator< ( const Id rhs) const
inline
constexpr bool honey::IdLiteral::operator<= ( const IdLiteral rhs) const
inline
bool honey::IdLiteral::operator<= ( const Id rhs) const
inline
constexpr bool honey::IdLiteral::operator== ( const IdLiteral rhs) const
inline
bool honey::IdLiteral::operator== ( const Id rhs) const
inline
constexpr bool honey::IdLiteral::operator> ( const IdLiteral rhs) const
inline
bool honey::IdLiteral::operator> ( const Id rhs) const
inline
constexpr bool honey::IdLiteral::operator>= ( const IdLiteral rhs) const
inline
bool honey::IdLiteral::operator>= ( const Id rhs) const
inline

Friends And Related Function Documentation

friend class Id
friend
ostream& operator<< ( ostream &  os,
const IdLiteral val 
)
friend
ByteStream& operator<< ( ByteStream os,
const IdLiteral val 
)
friend

Literal id to bytes.


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