Global Class Reference

This class is used to contain otherwise global variables and methods. More...

#include <Global.h>

Inheritance diagram for Global:

Inheritance graph
[legend]

List of all members.

Public Member Functions

std::string sprintf (const char *format,...)
 Returns the formatted data.
std::string sprint (va_list &args, const char *format)
 Returns the formatted data.
void bug (const char *msg)
 Prints the data as a bug.
void bugf (const char *format,...)
 Prints the formatted data as a bug.
void log (const char *msg)
 Logs the data as a bug.
void logf (const char *format,...)
 Logs the formatted data as a bug.

Public Attributes

std::string EmptyString
 The 'empty' string.
char OOCIdentifier
 The character that identifies an OOC command.

Static Public Attributes

static const int MAXSIZE = (1<<16)
 The maximum character buffer size.

Friends

class Singleton< Global >


Detailed Description

This class is used to contain otherwise global variables and methods.

Definition at line 35 of file Global.h.


Member Function Documentation

std::string Global::sprintf ( const char *  format,
  ... 
)

Returns the formatted data.

std::string Global::sprint ( va_list &  args,
const char *  format 
)

Returns the formatted data.

void Global::bug ( const char *  msg  ) 

Prints the data as a bug.

void Global::bugf ( const char *  format,
  ... 
)

Prints the formatted data as a bug.

void Global::log ( const char *  msg  ) 

Logs the data as a bug.

void Global::logf ( const char *  format,
  ... 
)

Logs the formatted data as a bug.


Member Data Documentation

const int Global::MAXSIZE = (1<<16) [static]

The maximum character buffer size.

Definition at line 39 of file Global.h.

std::string Global::EmptyString

The 'empty' string.

Definition at line 42 of file Global.h.

char Global::OOCIdentifier

The character that identifies an OOC command.

Definition at line 45 of file Global.h.


Generated for UnsignedByte by  doxygen 1.5.3
SourceForge.net Logo