V-Gears 0
Free Final Fantasy VII engine.
Logger.h File Reference
#include <OgreString.h>
#include <OgreUTFString.h>
Include dependency graph for Logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Logger
 Application logger utility. More...
 

Functions

Ogre::String HexToString (int value, unsigned short width, char fill)
 Converts an hexadecimal value to a string. More...
 
Ogre::String BoolToString (bool value)
 Converts a boolean value to a string. More...
 
Ogre::String IntToString (int value)
 Converts an integer value to a string. More...
 
Ogre::String FloatToString (float value)
 Converts a real value to a string. More...
 

Variables

LoggerLOGGER
 Application logger. More...
 

Function Documentation

◆ BoolToString()

Ogre::String BoolToString ( bool  value)

Converts a boolean value to a string.

Parameters
[in]valueThe value to convert.
Returns
String representation of the value. 'true' if the value is true, 'false' otherwise.

◆ FloatToString()

Ogre::String FloatToString ( float  value)

Converts a real value to a string.

Parameters
[in]valueThe value to convert.
Returns
String representation of the value.

◆ HexToString()

Ogre::String HexToString ( int  value,
unsigned short  width,
char  fill 
)

Converts an hexadecimal value to a string.

Parameters
[in]valueThe value to convert.
[in]widthWord width.
[in]fillFilling character for word alignment.
Returns
String representation of the value.

◆ IntToString()

Ogre::String IntToString ( int  value)

Converts an integer value to a string.

Parameters
[in]valueThe value to convert.
Returns
String representation of the value.

Variable Documentation

◆ LOGGER

Logger* LOGGER
extern

Application logger.

To be used application-wide.