Generated on for Gecode by doxygen 1.17.0
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

Implementation of Spec.

Definition at line 709 of file impl.hpp.

Constructor & Destructor Documentation

◆ SpecImpl()

Gecode::Instance::SpecImpl::SpecImpl ( const std::string & text,
const std::string & origin )

Parse text from origin.

Definition at line 1253 of file spec.cpp.

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

Where the spec comes from.

Definition at line 712 of file impl.hpp.

◆ name

std::string Gecode::Instance::SpecImpl::name

Format name.

Definition at line 714 of file impl.hpp.

◆ body

Block Gecode::Instance::SpecImpl::body

Statements.

Definition at line 716 of file impl.hpp.


The documentation for this class was generated from the following files: