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

Utilities Namespace Reference


Functions

float RandPercent ()
float GaussRand (float mean, float sigma)
string itostr (int val)
string ftostr (float val)
string MkTempDir ()


Detailed Description

wrap some useful functions and classes not directly related to the core of Amygdala


Function Documentation

string ftostr float    val
 

Returns:
a string representation of a float

string itostr int    val
 

Returns:
a string representation of an integer

string MkTempDir  
 

creates a directory with a random name. The called must take care of deleting it later. This function exists because of portablity and other issues with the system functions

Returns:
the name of the directory created
Exceptions:
runtime_exception  in case the directory cannot be created

float RandPercent  
 

Returns:
a random number between 0. and 100.


Generated on Wed Sep 4 02:30:37 2002 for Amygdala by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002