OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
Interpreter::RuntimeMessageFormatter Class Reference

#include <miscopcodes.hpp>

Inheritance diagram for Interpreter::RuntimeMessageFormatter:
Collaboration diagram for Interpreter::RuntimeMessageFormatter:

Public Member Functions

 RuntimeMessageFormatter (Runtime &runtime)
 
virtual void process (const std::string &message)
 
std::string getFormattedMessage () const
 
- Public Member Functions inherited from Misc::MessageFormatParser
virtual ~MessageFormatParser ()
 

Protected Member Functions

virtual void visitedPlaceholder (Placeholder placeholder, char padding, int width, int precision)
 
virtual void visitedCharacter (char c)
 

Private Attributes

std::string mFormattedMessage
 
RuntimemRuntime
 

Additional Inherited Members

- Protected Types inherited from Misc::MessageFormatParser
enum  Placeholder { StringPlaceholder, IntegerPlaceholder, FloatPlaceholder }
 

Constructor & Destructor Documentation

Interpreter::RuntimeMessageFormatter::RuntimeMessageFormatter ( Runtime runtime)
inline

Member Function Documentation

std::string Interpreter::RuntimeMessageFormatter::getFormattedMessage ( ) const
inline

Here is the caller graph for this function:

virtual void Interpreter::RuntimeMessageFormatter::process ( const std::string &  message)
inlinevirtual

Reimplemented from Misc::MessageFormatParser.

Here is the caller graph for this function:

virtual void Interpreter::RuntimeMessageFormatter::visitedCharacter ( char  c)
inlineprotectedvirtual
virtual void Interpreter::RuntimeMessageFormatter::visitedPlaceholder ( Placeholder  placeholder,
char  padding,
int  width,
int  precision 
)
inlineprotectedvirtual

Implements Misc::MessageFormatParser.

Here is the call graph for this function:

Member Data Documentation

std::string Interpreter::RuntimeMessageFormatter::mFormattedMessage
private
Runtime& Interpreter::RuntimeMessageFormatter::mRuntime
private

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