Gecode::BrancherPrint< View, Val > Class Template Reference
Class storing a print function. More...
#include <print.hpp>
Public Types | |
typedef View::VarType | Var |
The corresponding variable type. | |
Public Member Functions | |
BrancherPrint (VarValPrint< Var, Val > vvp) | |
Initialize. | |
BrancherPrint (BrancherPrint &bp) | |
Initialize during cloning. | |
operator bool (void) const | |
Whether printing is enabled. | |
void | operator() (const Space &home, const Brancher &b, unsigned int a, View x, int i, const Val &m, std::ostream &o) const |
Invoke print function. | |
bool | notice (void) const |
Whether dispose must always be called (that is, notice is needed). | |
void | dispose (Space &home) |
Delete. | |
Protected Attributes | |
SharedData< VarValPrint< Var, Val > > | p |
Detailed Description
template<class View, class Val>
class Gecode::BrancherPrint< View, Val >
Class storing a print function.
Definition at line 47 of file print.hpp.
Member Typedef Documentation
template<class View, class Val>
typedef View::VarType Gecode::BrancherPrint< View, Val >::Var |
Constructor & Destructor Documentation
template<class View , class Val >
Gecode::BrancherPrint< View, Val >::BrancherPrint | ( | VarValPrint< Var, Val > | vvp | ) | [inline] |
template<class View , class Val >
Gecode::BrancherPrint< View, Val >::BrancherPrint | ( | BrancherPrint< View, Val > & | bp | ) | [inline] |
Member Function Documentation
template<class View , class Val >
Gecode::BrancherPrint< View, Val >::operator bool | ( | void | ) | const [inline] |
template<class View , class Val >
void Gecode::BrancherPrint< View, Val >::operator() | ( | const Space & | home, | |
const Brancher & | b, | |||
unsigned int | a, | |||
View | x, | |||
int | i, | |||
const Val & | m, | |||
std::ostream & | o | |||
) | const [inline] |
template<class View , class Val >
bool Gecode::BrancherPrint< View, Val >::notice | ( | void | ) | const [inline] |
template<class View , class Val >
void Gecode::BrancherPrint< View, Val >::dispose | ( | Space & | home | ) | [inline] |
Member Data Documentation
template<class View, class Val>
SharedData<VarValPrint<Var,Val> > Gecode::BrancherPrint< View, Val >::p [protected] |
The documentation for this class was generated from the following file:
- gecode/kernel/branch/print.hpp