public

Inheritance Graph

graph BT
	StringIdentifier
	click StringIdentifier "classUtil_1_1StringIdentifier"

Description

String identifiers map a string to a number. This mapping is guaranteed to be unique during one execution of the program.

Author: Claudius Jähn, Benjamin Eikel

Public Functions

   
   
  StringIdentifier()
   
  StringIdentifier(uint32_t _id)
   
  StringIdentifier(const std::string & str)
   
uint32_t getValue() const
   
std::string toString() const
   
StringIdentifier & operator=(const std::string & str)
   
bool empty() const
   
bool operator==(const StringIdentifier & other) const
   
bool operator!=(const StringIdentifier & other) const
   
bool operator<(const StringIdentifier & other) const

Documentation

function
Util::StringIdentifier::StringIdentifier

public inline
   
   
StringIdentifier( )

Defined in Util/StringIdentifier.h:33


function
Util::StringIdentifier::StringIdentifier

public inline explicit
     
     
StringIdentifier( uint32_t _id )

Defined in Util/StringIdentifier.h:34


function
Util::StringIdentifier::StringIdentifier

public inline
     
     
StringIdentifier( const std::string & str )

Defined in Util/StringIdentifier.h:35


function
Util::StringIdentifier::getValue

public const inline
   
   
uint32_t getValue( ) const

Defined in Util/StringIdentifier.h:37


function
Util::StringIdentifier::toString

public const
   
   
std::string toString( ) const

Defined in Util/StringIdentifier.h:38


function
Util::StringIdentifier::operator=

public inline
     
     
StringIdentifier & operator=( const std::string & str )

Defined in Util/StringIdentifier.h:40


function
Util::StringIdentifier::empty

public const inline
   
   
bool empty( ) const

Defined in Util/StringIdentifier.h:44


function
Util::StringIdentifier::operator==

public const inline
     
     
bool operator==( const StringIdentifier & other ) const

Defined in Util/StringIdentifier.h:46


function
Util::StringIdentifier::operator!=

public const inline
     
     
bool operator!=( const StringIdentifier & other ) const

Defined in Util/StringIdentifier.h:47


function
Util::StringIdentifier::operator<

public const inline
     
     
bool operator<( const StringIdentifier & other ) const

Defined in Util/StringIdentifier.h:48