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

ZE Namespace Reference


Detailed Description

Namespace for ZEngine classes and utility functions.


Compounds

class  ZConfigFile
 ZConfigFile Class for use in ZEngine. More...

class  ZCF_Variable
 ZConfigFile Variable class. More...

class  ZCF_Section
 ZConfigFile Section class. More...

class  ZEngine
 Main ZEngine Singleton Class. More...

class  ZFont
 ZFont class for basic Font use. More...

class  ZImage
 ZImage class for basic Image use. More...

class  ZMusic
 ZMusic class for playing full length music (eg. ogg or wav). More...

class  ZObject
 ZObject base class for other ZEngine objects. More...

class  ZRect
 ZEngine class for simplified rectangle use. More...

class  ZSound
 ZSound class for playing sound effects. (WAV). More...

class  ZTimer
 ZTimer class for Timer use. More...


Functions

string _GetError (int line, string file, string str)
 Error handling Utiltity function.

void _LogError (int line, string file, string str)
 Error handling Utiltity function.

string FormatStr (const char *fmtstr,...)
 Parses a string and interprets variable arguments, similar to sprintf.


Function Documentation

string ZE::_GetError int    line,
string    file,
string    str
 

Get string describing error given appropriate details.

Parameters:
line Line error occured on.
file Name of file error occured in.
str More detail on error.
Returns:
String describing error.

void ZE::_LogError int    line,
string    file,
string    str
 

Log error to stderr, describing error given appropriate details.

Parameters:
line Line error occured on.
file Name of file error occured in.
str More detail on error.

string ZE::FormatStr const char *    fmtstr,
...   
 

Takes identifiers out of fmtstr and parses them, replacing them with cooresponding values in the variable arguments list. For more detail view stdarg documentation.

Parameters:
fmtstr defines format of resulting string
... variable number of arguments after fmtstr
Returns:
string of parsed and combined string


Generated on Wed Dec 4 19:16:09 2002 for ZEngine by doxygen1.3-rc1