OpenMW
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
components
misc
messageformatparser.hpp
Go to the documentation of this file.
1
#ifndef OPENMW_COMPONENTS_MISC_MESSAGEFORMATPARSER_H
2
#define OPENMW_COMPONENTS_MISC_MESSAGEFORMATPARSER_H
3
4
#include <string>
5
6
namespace
Misc
7
{
8
class
MessageFormatParser
9
{
10
protected
:
11
enum
Placeholder
12
{
13
StringPlaceholder
,
14
IntegerPlaceholder
,
15
FloatPlaceholder
16
};
17
18
virtual
void
visitedPlaceholder
(
Placeholder
placeholder,
char
padding,
int
width,
int
precision) = 0;
19
virtual
void
visitedCharacter
(
char
c) = 0;
20
21
public
:
22
virtual
~MessageFormatParser
();
23
24
virtual
void
process
(
const
std::string&
message
);
25
};
26
}
27
28
#endif
Misc::MessageFormatParser::~MessageFormatParser
virtual ~MessageFormatParser()
Definition:
messageformatparser.cpp:5
Compiler::Generator::message
void message(CodeContainer &code, Literals &literals, const std::string &message, int buttons)
Definition:
generator.cpp:537
Misc::MessageFormatParser::Placeholder
Placeholder
Definition:
messageformatparser.hpp:11
Misc::MessageFormatParser::process
virtual void process(const std::string &message)
Definition:
messageformatparser.cpp:7
Misc::MessageFormatParser::StringPlaceholder
Definition:
messageformatparser.hpp:13
Misc::MessageFormatParser::FloatPlaceholder
Definition:
messageformatparser.hpp:15
Misc::MessageFormatParser::visitedCharacter
virtual void visitedCharacter(char c)=0
Misc::MessageFormatParser::visitedPlaceholder
virtual void visitedPlaceholder(Placeholder placeholder, char padding, int width, int precision)=0
Misc::MessageFormatParser
Definition:
messageformatparser.hpp:8
Misc::MessageFormatParser::IntegerPlaceholder
Definition:
messageformatparser.hpp:14
Generated on Tue Jan 24 2017 02:05:52 for OpenMW by
1.8.6