Gecode::Instance::SpecImpl Class Reference
Implementation of Spec. More...
#include <gecode/instance/impl.hpp>
Public Member Functions | |
| SpecImpl (const std::string &text, const std::string &origin) | |
| Parse text from origin. | |
| Data | read (const std::string &input, const std::string &origin, const Params &p, bool catalog) const |
| Read input from origin. | |
Public Attributes | |
| std::string | origin |
| Where the spec comes from. | |
| std::string | name |
| Format name. | |
| Block | body |
| Statements. | |
Detailed Description
Constructor & Destructor Documentation
◆ SpecImpl()
| Gecode::Instance::SpecImpl::SpecImpl | ( | const std::string & | text, |
| const std::string & | origin ) |
Member Function Documentation
◆ read()
| Data Gecode::Instance::SpecImpl::read | ( | const std::string & | input, |
| const std::string & | origin, | ||
| const Params & | p, | ||
| bool | catalog ) const |
Read input from origin.
With catalog, return the number of instances and their names instead of the data of one instance.
Definition at line 1250 of file reader.cpp.
Member Data Documentation
◆ origin
| std::string Gecode::Instance::SpecImpl::origin |
◆ name
◆ body
The documentation for this class was generated from the following files:
- gecode/instance/impl.hpp
- gecode/instance/reader.cpp
- gecode/instance/spec.cpp
