FId< T, InternedId, HELPER > Class Template Reference

#include <fid.h>

Inheritance diagram for FId< T, InternedId, HELPER >:

Public Types

using FidType = T
 

Public Member Functions

constexpr FId (const Char *)
 
 operator const InternedId & () const
 
 operator const Id & () const
 
 operator Member () const
 
Bool operator== (const InternedId &other) const
 
Bool operator!= (const InternedId &other) const
 
Bool operator< (const InternedId &other) const
 

Static Public Member Functions

static MAXON_ATTRIBUTE_FORCE_INLINE const InternedIdGet ()
 
static MAXON_ATTRIBUTE_FORCE_INLINE const IdGetId ()
 
static const DataTypeGetType ()
 
static Member GetMember ()
 
template<size_t N>
static constexpr LiteralId PrivateGetLiteralId (const char(&str)[N])
 
static HashInt GetHashCode ()
 
static const UniqueHashGetUniqueHashCode ()
 
static const CharGetCString ()
 
static Int GetCStringLength ()
 
static String ToString (const FormatStatement *formatStatement=nullptr)
 

Member Typedef Documentation

◆ FidType

using FidType = T

Constructor & Destructor Documentation

◆ FId()

constexpr FId ( const Char )
explicitconstexpr

Member Function Documentation

◆ Get()

static MAXON_ATTRIBUTE_FORCE_INLINE const InternedId& Get ( )
static

◆ GetId()

static MAXON_ATTRIBUTE_FORCE_INLINE const Id& GetId ( )
static

◆ GetType()

static const DataType& GetType ( )
static

◆ GetMember()

static Member GetMember ( )
static

◆ operator const InternedId &()

operator const InternedId & ( ) const

◆ operator const Id &()

operator const Id & ( ) const
explicit

◆ operator Member()

operator Member ( ) const

◆ PrivateGetLiteralId()

static constexpr LiteralId PrivateGetLiteralId ( const char(&)  str[N])
staticconstexpr

◆ GetHashCode()

static HashInt GetHashCode ( )
static

◆ GetUniqueHashCode()

static const UniqueHash& GetUniqueHashCode ( )
static

Returns the 128-bit hash value of this @CLASS. The implementation ensures uniform distribution, so for practical purposes you can safely assume that two objects are equal if their hash values are equal.

Returns
Hash value of this @CLASS.

◆ GetCString()

static const Char* GetCString ( )
static

◆ GetCStringLength()

static Int GetCStringLength ( )
static

◆ ToString()

static String ToString ( const FormatStatement formatStatement = nullptr)
static

◆ operator==()

Bool operator== ( const InternedId other) const

◆ operator!=()

Bool operator!= ( const InternedId other) const

◆ operator<()

Bool operator< ( const InternedId other) const