Om
1.0.0
A universal framework for multimedia simulation
|
A class that encapsulates information about a compilation error. More...
#include <omScriptingError.h>
Public Member Functions | |
Error (const Position &newPosition) | |
Create a new error object with no error string. More... | |
Error (const Position &newPosition, const Char *newDescription) | |
Create a new error object with the specified error string. More... | |
Error (const Position &newPosition, const UTF8String &newDescription) | |
Create a new error object with the specified error string. More... | |
const Position & | getPosition () const |
Return a reference to an object representing the position where this error occurred. More... | |
const UTF8String & | getDescription () const |
Return a reference to a string describing the error that occurred. More... | |
Bool | operator< (const Error &other) const |
Return whether or not this position is earlier than another. More... | |
Bool | operator<= (const Error &other) const |
Return whether or not this position is earlier or the same as another. More... | |
Bool | operator> (const Error &other) const |
Return whether or not this position is later than another. More... | |
Bool | operator>= (const Error &other) const |
Return whether or not this position is later or the same as another. More... | |
A class that encapsulates information about a compilation error.
|
inline |
Create a new error object with no error string.
|
inline |
Create a new error object with the specified error string.
|
inline |
Create a new error object with the specified error string.
|
inline |
Return a reference to an object representing the position where this error occurred.
|
inline |
Return a reference to a string describing the error that occurred.
Return whether or not this position is earlier than another.
Return whether or not this position is earlier or the same as another.
Return whether or not this position is later than another.
Return whether or not this position is later or the same as another.