Logo Search packages:      
Sourcecode: einstein version File versions  Download package

Formatter Class Reference

#include <formatter.h>

Inherited by MsgFormatter.

List of all members.


Detailed Description

Localized message formatter.

Definition at line 14 of file formatter.h.


Public Types

enum  CmdType {
  EMPTY_CMD = 0, TEXT_COMMAND, INT_ARG, STRING_ARG,
  DOUBLE_ARG, FLOAT_ARG
}

Public Member Functions

virtual void format (const std::wstring &fileName, Buffer &output)=0
std::wstring format (va_list ap) const
 Formatter (unsigned char *data, int offset)
std::wstring getMessage () const
 Get message text.

Private Member Functions

std::wstring format (std::vector< ArgValue * > &argValues) const

Private Attributes

CmdType * args
int argsCnt
Command * commands
int commandsCnt

Classes

struct  Command

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

Generated by  Doxygen 1.6.0   Back to index