Aseba  1.5.5
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Aseba::TranslatableError Struct Reference
Inheritance diagram for Aseba::TranslatableError:
Aseba::Error

Public Member Functions

 TranslatableError (const SourcePos &pos, ErrorCode error)
 
TranslatableErrorarg (int value, int fieldWidth=0, int base=10, wchar_t fillChar= ' ')
 
TranslatableErrorarg (long int value, int fieldWidth=0, int base=10, wchar_t fillChar= ' ')
 
TranslatableErrorarg (unsigned value, int fieldWidth=0, int base=10, wchar_t fillChar= ' ')
 
TranslatableErrorarg (float value, int fieldWidth=0, int precision=6, wchar_t fillChar= ' ')
 
TranslatableErrorarg (const std::wstring &value)
 
Error toError (void)
 
- Public Member Functions inherited from Aseba::Error
 Error (const SourcePos &pos, const std::wstring &message)
 Create an error at pos.
 
 Error ()
 Create an empty error.
 
std::wstring toWString () const
 Return a string describing the error. More...
 

Static Public Member Functions

static void setTranslateCB (ErrorMessages::ErrorCallback newCB)
 

Public Attributes

WFormatableString message
 
- Public Attributes inherited from Aseba::Error
SourcePos pos
 position of error in source string
 
std::wstring message
 message
 

Static Public Attributes

static ErrorMessages::ErrorCallback translateCB = NULL
 

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