Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

mpcl::util::strategy::TRandomStringGenerator Class Reference

#include <random_string_generator.hh>

List of all members.

Public Methods

 TRandomStringGenerator (const char *pkcALPHABET)
TString execute (const TString::size_type &kzSIZE)


Detailed Description

Random string generator. It generates a string of a supplied size using random characters from a supplied alphabet.

Definition at line 49 of file random_string_generator.hh.


Constructor & Destructor Documentation

mpcl::util::strategy::TRandomStringGenerator::TRandomStringGenerator const char *    pkcALPHABET [inline]
 

Builds a new instance with alphabet pkcALPHABET.

Definition at line 70 of file random_string_generator.hh.


Member Function Documentation

TString mpcl::util::strategy::TRandomStringGenerator::execute const TString::size_type &    kzSIZE [inline]
 

Generates a random string with size kzSIZE and formed using characters from the alphabet kyALPHABET.

Parameters:
kzSIZE  Length of the desired string.
Returns:
The random string.

Definition at line 80 of file random_string_generator.hh.

References mpcl::text::TString.


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 02:35:27 2003 for MPCL by doxygen1.2.18