|
Limbo 3.5.4
|
namespace for LpParser More...
Classes | |
| class | Driver |
| class | LpDataBase |
| Base class for lp database. Only pure virtual functions are defined. User needs to inheritate this class and derive a custom database type with all callback functions defined. More... | |
| struct | Term |
| a term denotes coefficient times a variable More... | |
| class | vector |
Typedefs | |
| typedef std::vector< int64_t > | IntegerArray |
| integer array | |
| typedef std::vector< std::string > | StringArray |
| string array | |
| typedef std::vector< Term > | TermArray |
| array of terms | |
| typedef int | int32_t |
| typedef unsigned int | uint32_t |
| typedef long | int64_t |
Functions | |
| bool | read (LpDataBase &db, const string &lpFile) |
| API for LpParser. Read LP file and initialize database by calling user-defined callback functions. | |
namespace for LpParser
The example namespace is used to encapsulate the three parser classes example::Parser, example::Scanner and example::Driver
| typedef int LpParser::int32_t |
Definition at line 32 of file LpDataBase.h.
| typedef long LpParser::int64_t |
Definition at line 34 of file LpDataBase.h.
| typedef std::vector<int64_t> LpParser::IntegerArray |
integer array
Definition at line 38 of file LpDataBase.h.
| typedef std::vector<std::string> LpParser::StringArray |
string array
Definition at line 40 of file LpDataBase.h.
| typedef std::vector<Term> LpParser::TermArray |
array of terms
Definition at line 105 of file LpDataBase.h.
| typedef unsigned int LpParser::uint32_t |
Definition at line 33 of file LpDataBase.h.
| bool LpParser::read | ( | LpDataBase & | db, |
| const string & | lpFile ) |
API for LpParser. Read LP file and initialize database by calling user-defined callback functions.
| db | database which is derived from LpParser::LpDataBase |
| lpFile | LP file |