Gecode::ViewTraceInfo Class Reference
View trace information. More...
#include <core.hpp>
Public Types | |
| enum | What { PROPAGATOR = 0, BRANCHER = 1, POST = 2, OTHER = 3 } |
What is currently executing. More... | |
Public Member Functions | |
| What | what (void) const |
| Return what is currently executing. | |
| const Propagator & | propagator (void) const |
| Return currently executing propagator. | |
| const Brancher & | brancher (void) const |
| Return currently executing brancher. | |
| PropagatorGroup | post (void) const |
| Return propagator group of currently executing post function. | |
Protected Member Functions | |
| void | propagator (Propagator &p) |
| Record that propagator p is executing. | |
| void | brancher (Brancher &b) |
| Record that brancher b is executing. | |
| void | post (PropagatorGroup g) |
| Record that a post function with propagator group g is executing. | |
| void | other (void) |
| Record that nothing is known at this point. | |
Protected Attributes | |
| ptrdiff_t | who |
| Encoding a tagged pointer or a tagged group id. | |
Related Functions | |
(Note that these are not member functions.) | |
| template<class Char , class Traits > | |
| std::basic_ostream< Char, Traits > & | operator<< (std::basic_ostream< Char, Traits > &os, const ViewTraceInfo &vti) |
| Print view trace information. | |
Detailed Description
View trace information.
Definition at line 974 of file core.hpp.
Member Enumeration Documentation
Member Function Documentation
| void Gecode::ViewTraceInfo::propagator | ( | Propagator & | p | ) | [inline, protected] |
| void Gecode::ViewTraceInfo::brancher | ( | Brancher & | b | ) | [inline, protected] |
| void Gecode::ViewTraceInfo::post | ( | PropagatorGroup | g | ) | [inline, protected] |
| void Gecode::ViewTraceInfo::other | ( | void | ) | [inline, protected] |
| ViewTraceInfo::What Gecode::ViewTraceInfo::what | ( | void | ) | const [inline] |
| const Propagator & Gecode::ViewTraceInfo::propagator | ( | void | ) | const [inline] |
| const Brancher & Gecode::ViewTraceInfo::brancher | ( | void | ) | const [inline] |
| PropagatorGroup Gecode::ViewTraceInfo::post | ( | void | ) | const [inline] |
Friends And Related Function Documentation
template<class Char , class Traits >
| std::basic_ostream< Char, Traits > & operator<< | ( | std::basic_ostream< Char, Traits > & | os, | |
| const ViewTraceInfo & | vti | |||
| ) | [related] |
Print view trace information.
Definition at line 49 of file trace-print.hpp.
Member Data Documentation
ptrdiff_t Gecode::ViewTraceInfo::who [protected] |
The documentation for this class was generated from the following files:
- gecode/kernel/core.hpp (Revision: 15597)
- gecode/kernel/trace-print.hpp (Revision: 15597)
