Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBID Class Reference

TBID is a wrapper for a uint32_t to be used as ID. More...

#include <tb_id.h>

Public Member Functions

 TBID (uint32_t id_=0)
 
 TBID (const char *string)
 
 TBID (const TBID &id_)
 
 TBID (const TBStr &id_)
 
void Set (uint32_t newid)
 
void Set (const char *string)
 
void Set (const TBID &newid)
 
void Set (const TBStr &str)
 
 operator uint32_t () const
 
const TBIDoperator= (const TBID &id)
 

Detailed Description

TBID is a wrapper for a uint32_t to be used as ID.

The uint32_t can be set directly to any uint32_t, or it can be set from a string which will be hashed into the uint32_t.


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