Gecode::SymmetryHandle Class Reference
[Branching]
A reference-counted pointer to a SymmetryObject. More...
#include <int.hh>
Public Member Functions | |
void | increment (void) |
Increment counter. | |
void | decrement (void) |
Decrement counter. | |
SymmetryHandle (void) | |
Default constructor. | |
SymmetryHandle (Int::LDSB::SymmetryObject *o) | |
Initialies with a SymmetryObject. | |
SymmetryHandle (const SymmetryHandle &h) | |
Copy constructor. | |
const SymmetryHandle & | operator= (const SymmetryHandle &h) |
Assignment operator. | |
~SymmetryHandle (void) | |
Destructor. | |
Public Attributes | |
Int::LDSB::SymmetryObject * | ref |
Symmetry object that this handle refers to. |
Detailed Description
A reference-counted pointer to a SymmetryObject.
Definition at line 4263 of file int.hh.
Constructor & Destructor Documentation
Gecode::SymmetryHandle::SymmetryHandle | ( | void | ) |
Default constructor.
Definition at line 41 of file sym-obj.cpp.
Gecode::SymmetryHandle::SymmetryHandle | ( | Int::LDSB::SymmetryObject * | o | ) |
Initialies with a SymmetryObject.
Definition at line 43 of file sym-obj.cpp.
Gecode::SymmetryHandle::SymmetryHandle | ( | const SymmetryHandle & | h | ) |
Copy constructor.
Definition at line 45 of file sym-obj.cpp.
Gecode::SymmetryHandle::~SymmetryHandle | ( | void | ) |
Destructor.
Definition at line 61 of file sym-obj.cpp.
Member Function Documentation
void Gecode::SymmetryHandle::increment | ( | void | ) |
Increment counter.
Definition at line 66 of file sym-obj.cpp.
void Gecode::SymmetryHandle::decrement | ( | void | ) |
Decrement counter.
Definition at line 70 of file sym-obj.cpp.
const SymmetryHandle & Gecode::SymmetryHandle::operator= | ( | const SymmetryHandle & | h | ) |
Assignment operator.
Definition at line 51 of file sym-obj.cpp.
Member Data Documentation
The documentation for this class was generated from the following files:
- gecode/int.hh (Revision: 14362)
- gecode/int/ldsb/sym-obj.cpp (Revision: 13458)