xoreos  0.0.5
Namespaces | Functions
util.cpp File Reference

NWScript utility functions. More...

#include "src/common/strutil.h"
#include "src/aurora/nwscript/object.h"
#include "src/aurora/nwscript/functioncontext.h"
Include dependency graph for util.cpp:

Go to the source code of this file.

Namespaces

 Aurora
 
 Aurora::NWScript
 

Functions

Common::UString Aurora::NWScript::formatTag (const Object *object)
 Construct a string with the tag of this object. More...
 
void Aurora::NWScript::formatVariable (Common::UString &str, const Variable &var)
 Print a description of this variable into that string. More...
 
Common::UString Aurora::NWScript::formatParams (const FunctionContext &ctx)
 Construct a string describing parameters of this function. More...
 
Common::UString Aurora::NWScript::formatReturn (const FunctionContext &ctx)
 Construct a string describing the return value of this function. More...
 
Common::UString Aurora::NWScript::formatType (Type type)
 Construct a string describing this variable type. More...
 

Detailed Description

NWScript utility functions.

Definition in file util.cpp.