Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

An::Formula::ParseResult Struct Reference

#include <Formula.h>

List of all members.


Detailed Description

Result returned by Formula::parse, including error description.


Public Types

enum  Result { SUCCESS = 0, UNDEFINED_VARIABLE, SYNTAX_ERROR }
 Result. More...

Public Member Functions

 ParseResult ()
 Constructor, set to success.
 operator bool () const
 Cast to bool, return true on success.

Public Attributes

enum An::Formula::ParseResult::Result result
 Result.
size_t errorPos
 error position in formula text


Member Enumeration Documentation

enum An::Formula::ParseResult::Result
 

Result.

Enumeration values:
SUCCESS  parsing was a success
UNDEFINED_VARIABLE  some variable are used but not defined
SYNTAX_ERROR  a syntax error has occured


The documentation for this struct was generated from the following file:
Generated on Mon Oct 24 17:30:34 2005 for liban by  doxygen 1.4.2