Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

Id

 

class Id : private Moveable<Id

Id is simple wrapper over String class intended as "identifier" text. The main purpose for wrapping is overloading resolution in places where the distinction between text value and identifier is required.

 

 

Public Method List

 

const String& ToString() const

Returns contained text.

 


 

dword GetHashValue() const

Returns hashing value.

 


 

bool IsNull() const

Returns true if empty.

 


 

operator const String&() const

Same as ToString().

 


 

const String& operator~() const

Same as ToString().

 


 

operator Value() const

Converts Id to String Value.

 


 

bool operator==(const Id& bconst

Returns true if both Id contain the same text.

 


 

bool operator!=(const Id& bconst

Same as !operator==(b).

 


 

operator bool() const

Same as !IsNull().

 


 

Id()

Constructs Id with empty text.

 


 

Id(const String& s)

Id(const char *s)

Constructs Id with text s.

 

Last edit by cxl on 10/11/2017. Do you want to contribute?. T++