utils Namespace Reference


Classes

class  utils::Cipher
 A helper class for the encoding of strings using different algorithms. More...
class  utils::CountedPtr< T >
 Class for counted reference semantics. More...
class  utils::Logger
 A very simple logger that writes messages to a log file. More...
class  utils::Singleton< T >
 An abstract Meyer's singleton class. More...
class  utils::StringFilter
 Used to filter content containing bad words. More...
class  utils::Timer
 This class is for timing purpose as a replacement for SDL_TIMER. More...

Functions

std::string getMagicToken ()
 Returns a magic_token.


Function Documentation

std::string utils::getMagicToken  ) 
 

Returns a magic_token.

The tokens are used for spanning a user's session across multiple servers. NOTE: Uniqueness is not guaranteed, store the account- or characterId with the token if that is an issue. NOTE: Not passed-by-reference by design. NOTE: Store the token in a variable in this namespace if you want to avoid 1 copy operation per use.

Definition at line 27 of file tokendispenser.cpp.


Generated on Fri Mar 30 15:39:19 2007 for TMW Server by  doxygen 1.3.9.1