Pioneer
Loading...
Searching...
No Matches
Classes | Public Member Functions | Friends | List of all members
StringName Class Reference

#include <StringName.h>

Collaboration diagram for StringName:
Collaboration graph
[legend]

Public Member Functions

 StringName ()
 
 StringName (std::string_view s, uint32_t hash=0)
 
 StringName (const StringName &rhs)
 
StringNameoperator= (const StringName &rhs)
 
 StringName (StringName &&rhs)
 
StringNameoperator= (StringName &&rhs)
 
 ~StringName ()
 
uint32_t hash () const
 
size_t size () const
 
const char * c_str () const
 
std::string_view sv () const
 
 operator std::string_view () const
 
 operator bool () const
 
bool operator== (std::string_view rhs) const
 
bool operator!= (std::string_view rhs) const
 
bool operator< (std::string_view rhs) const
 
bool operator== (const StringName &rhs) const
 
bool operator!= (const StringName &rhs) const
 
bool operator< (const StringName &rhs) const
 

Friends

class StringTable
 

Constructor & Destructor Documentation

◆ StringName() [1/4]

StringName::StringName ( )
inline

◆ StringName() [2/4]

StringName::StringName ( std::string_view  s,
uint32_t  hash = 0 
)
Here is the call graph for this function:

◆ StringName() [3/4]

StringName::StringName ( const StringName rhs)
inline

◆ StringName() [4/4]

StringName::StringName ( StringName &&  rhs)
inline

◆ ~StringName()

StringName::~StringName ( )
inline

Member Function Documentation

◆ c_str()

const char * StringName::c_str ( ) const
inline

◆ hash()

uint32_t StringName::hash ( ) const
inline

◆ operator bool()

StringName::operator bool ( ) const
inline

◆ operator std::string_view()

StringName::operator std::string_view ( ) const
inline
Here is the call graph for this function:

◆ operator!=() [1/2]

bool StringName::operator!= ( const StringName rhs) const
inline

◆ operator!=() [2/2]

bool StringName::operator!= ( std::string_view  rhs) const
inline

◆ operator<() [1/2]

bool StringName::operator< ( const StringName rhs) const
inline
Here is the call graph for this function:

◆ operator<() [2/2]

bool StringName::operator< ( std::string_view  rhs) const
inline
Here is the call graph for this function:

◆ operator=() [1/2]

StringName & StringName::operator= ( const StringName rhs)

◆ operator=() [2/2]

StringName & StringName::operator= ( StringName &&  rhs)

◆ operator==() [1/2]

bool StringName::operator== ( const StringName rhs) const
inline
Here is the call graph for this function:

◆ operator==() [2/2]

bool StringName::operator== ( std::string_view  rhs) const
inline
Here is the call graph for this function:

◆ size()

size_t StringName::size ( ) const
inline

◆ sv()

std::string_view StringName::sv ( ) const
inline
Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ StringTable

friend class StringTable
friend

Member Data Documentation

◆ data

char StringName::data[16]

◆ ptr

StringData* StringName::ptr

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