randomname Class Reference

file : ../lua/lib.randomname.lua (this is just a pseudo class used for grouping global functions) More...

List of all members.

Static Public Member Functions

static mixed RndNameApplyRule (mixed s, mixed grammar)
static mixed RndNameGenerate (mixed minsize, mixed maxsize, mixed grammar)
 generates a random name between min and max size
static mixed CapitalizeName (mixed name)
 changes the first letter to uppercase


Detailed Description

file : ../lua/lib.randomname.lua (this is just a pseudo class used for grouping global functions)

Definition at line 3347 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed randomname::RndNameApplyRule ( mixed  s,
mixed  grammar 
) [inline, static]

replace every occurance of a patter one time apply this multiple times to "recursivly" replace patterns if grammar is nil all then each pattern is replace by a empty string

Definition at line 3352 of file lua_pseudo_code.cpp.

static mixed randomname::RndNameGenerate ( mixed  minsize,
mixed  maxsize,
mixed  grammar 
) [inline, static]

generates a random name between min and max size

Definition at line 3355 of file lua_pseudo_code.cpp.

static mixed randomname::CapitalizeName ( mixed  name  )  [inline, static]

changes the first letter to uppercase

Definition at line 3358 of file lua_pseudo_code.cpp.


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

Generated on Fri Mar 29 05:41:10 2013 for lua by  doxygen 1.5.6