Gecode::Support::Symbol Class Reference
List of all members.
Detailed Description
Immutable Symbols.
Definition at line 49 of file symbol.icc.
Constructor & Destructor Documentation
Gecode::Support::Symbol::Symbol |
( |
void |
|
) |
|
Gecode::Support::Symbol::Symbol |
( |
const char * |
s0, |
|
|
bool |
copy = false | |
|
) |
| | |
Construct Symbol from s0, make a copy if copy is true.
Definition at line 129 of file symbol.cc.
Gecode::Support::Symbol::Symbol |
( |
int |
i |
) |
|
Gecode::Support::Symbol::Symbol |
( |
unsigned int |
i |
) |
|
Gecode::Support::Symbol::Symbol |
( |
const Symbol & |
s0 |
) |
|
Gecode::Support::Symbol::~Symbol |
( |
void |
|
) |
|
Member Function Documentation
const Symbol & Gecode::Support::Symbol::operator= |
( |
const Symbol & |
s0 |
) |
|
Assignment operator.
Definition at line 155 of file symbol.cc.
bool Gecode::Support::Symbol::operator== |
( |
const Symbol & |
s0 |
) |
const |
bool Gecode::Support::Symbol::operator== |
( |
const char * |
s0 |
) |
const |
bool Gecode::Support::Symbol::empty |
( |
void |
|
) |
const |
Symbol Gecode::Support::Symbol::copy |
( |
void |
|
) |
const |
Symbol & Gecode::Support::Symbol::operator+= |
( |
const Symbol & |
s |
) |
|
Concatenate with s.
Definition at line 187 of file symbol.cc.
int Gecode::Support::Symbol::hash |
( |
int |
m |
) |
const |
Hash value according to modulo M.
Definition at line 199 of file symbol.cc.
std::ostream & Gecode::Support::Symbol::print |
( |
std::ostream & |
os |
) |
const |
std::string Gecode::Support::Symbol::toString |
( |
void |
|
) |
const |
The documentation for this class was generated from the following files: