impl.hpp File Reference
Go to the source code of this file.
Classes | |
| class | Gecode::Instance::Seq< T > |
| Growable array on the Gecode heap. More... | |
| class | Gecode::Instance::ShapeError |
| Error about the shape or type of a value, located by the caller. More... | |
| class | Gecode::Instance::Value |
| A value: scalar or nested (possibly ragged) array. More... | |
| class | Gecode::Instance::Column |
| Array built row by row from the values of a repeated statement. More... | |
| class | Gecode::Instance::Entry |
| A named value. More... | |
| class | Gecode::Instance::DataImpl |
| Implementation of Data. More... | |
| class | Gecode::Instance::ParamsImpl |
| Implementation of Params. More... | |
| class | Gecode::Instance::Expr |
| Expression. More... | |
| class | Gecode::Instance::Record |
| A record name of a check. More... | |
| class | Gecode::Instance::Type |
| Type of the values that a declaration or a capture reads. More... | |
| class | Gecode::Instance::Pattern |
| Line pattern such as "DIMENSION : {n:int}". More... | |
| class | Gecode::Instance::Pattern::Item |
| Pattern item. More... | |
| class | Gecode::Instance::Arm |
| Arm of a sections statement. More... | |
| class | Gecode::Instance::Stmt |
| Statement. More... | |
| class | Gecode::Instance::Decl |
| A name that a block may define, with the type and depth of its values. More... | |
| class | Gecode::Instance::SpecImpl |
| Implementation of Spec. More... | |
Namespaces | |
| namespace | Gecode |
| Gecode toplevel namespace | |
| namespace | Gecode::Instance |
| Reading instance files described by reader specs. | |
Typedefs | |
| typedef Seq< std::unique_ptr< Stmt > > | Gecode::Instance::Block |
| Sequence of statements. | |
Enumerations | |
| enum class | Gecode::Instance::ReadType { Gecode::Instance::INT , Gecode::Instance::FLOAT , Gecode::Instance::NUM , Gecode::Instance::WORD , Gecode::Instance::REST , Gecode::Instance::SYMBOL } |
| What a declaration or a capture reads. More... | |
Functions | |
| bool | Gecode::Instance::is_digit (char c) |
| Test whether c is a digit. | |
| bool | Gecode::Instance::is_letter (char c) |
| Test whether c is a letter. | |
| bool | Gecode::Instance::is_alnum (char c) |
| Test whether c can occur in a name. | |
| bool | Gecode::Instance::is_space (char c) |
| Test whether c is white space. | |
| bool | Gecode::Instance::is_blank (char c) |
| Test whether c is white space within a line. | |
| bool | Gecode::Instance::is_sign (char c) |
| Test whether c is a sign. | |
| bool | Gecode::Instance::is_exponent (char c) |
| Test whether c starts the exponent of a float. | |
| size_t | Gecode::Instance::number_end (const std::string &s, size_t p, bool sign, bool real) |
| Return where the number starting at position p of s ends. | |
| bool | Gecode::Instance::parse_int (const std::string &t, long long int &v) |
| Parse decimal integer t into v, and return whether it is one. | |
| bool | Gecode::Instance::parse_float (const std::string &t, double &v) |
| Parse decimal float t into v, and return whether it is one. | |
| std::string | Gecode::Instance::record_starts (int id) |
| Return the name of the record starts of the repeat numbered id. | |
| bool | Gecode::Instance::is_internal (const std::string &n) |
| Test whether n is a name used internally (see record_starts). | |
| void | Gecode::Instance::declared (const Block &b, Seq< Decl > &out) |
| Add the names that block b may define to out. | |
| void | Gecode::Instance::fail_at (const std::string &origin, int line, const std::string &m) |
| Throw an error with message m for line line of the spec from origin. | |
| void | Gecode::Instance::resolve (Block &b, const std::string &origin) |
| Resolve the names in the expressions of b, the body of a spec from origin. | |
| std::string | Gecode::Instance::read_file (const std::string &path) |
| Read file path into a string. | |
