Gecode::Gist::Print< S > Class Template Reference
An inspector for printing simple text output. More...
#include <gecode/gist.hh>
Public Member Functions | |
| Print (const std::string &name) | |
| Constructor. | |
| virtual void | inspect (const Space &node) |
| Use the print method of the template class S to print a space. | |
| virtual std::string | name (void) |
| Return name. | |
| virtual void | finalize (void) |
| Clean up when Gist exits. | |
| Public Member Functions inherited from Gecode::Gist::TextOutput | |
| TextOutput (const std::string &name) | |
| Constructor. | |
| void | finalize (void) |
| Clean up when Gist exits. | |
| virtual | ~TextOutput (void) |
| Destructor. | |
| Public Member Functions inherited from Gecode::Gist::Inspector | |
| virtual | ~Inspector (void) |
| Destructor. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Gecode::Gist::TextOutput | |
| void | init (void) |
| Initialize the implementation object. | |
| std::ostream & | getStream (void) |
| Get the stream that is used to output text. | |
| void | flush (void) |
| Flush stream. | |
| void | addHtml (const char *s) |
| Add html text s to the output. | |
Detailed Description
template<class S>
class Gecode::Gist::Print< S >
class Gecode::Gist::Print< S >
An inspector for printing simple text output.
Constructor & Destructor Documentation
◆ Print()
template<class S>
| Gecode::Gist::Print< S >::Print | ( | const std::string & | name | ) |
Member Function Documentation
◆ inspect()
template<class S>
|
virtual |
Use the print method of the template class S to print a space.
Implements Gecode::Gist::Inspector.
◆ name()
template<class S>
|
virtual |
◆ finalize()
template<class S>
|
virtual |
Clean up when Gist exits.
Reimplemented from Gecode::Gist::Inspector.
The documentation for this class was generated from the following files:
