#include <int.hh>
List of all members.
Detailed Description
Regular expressions
Definition at line 626 of file int.hh.
|
Public Member Functions |
| REG (const REG &r) |
| Initialize from regular expression r.
|
const REG & | operator= (const REG &r) |
| Initialize from regular expression r.
|
| REG (void) |
| Initialize as empty sequence.
|
| REG (int) |
| Initialize as single integer.
|
REG | operator() (unsigned int n, unsigned int m) |
| Return expression for: this expression at least n times, at most m times.
|
REG | operator() (unsigned int n) |
| Return expression for: this expression at least n times.
|
REG | operator| (const REG &r) |
| Return expression for: this expression or r.
|
REG | operator+ (const REG &r) |
| Return expression for: this expression followed by r.
|
REG | operator * (void) |
| Repeat expression for this expression arbitrarily often (Kleene star).
|
REG | operator+ (void) |
| Repeat expression for this expression arbitrarily often, but at least once.
|
std::ostream & | print (std::ostream &) const |
| Print expression.
|
| ~REG (void) |
| Destructor.
|
Related Functions |
(Note that these are not member functions.)
|
std::ostream & | operator<< (std::ostream &, const Gecode::REG &r) |
Classes |
class | Exp |
| Implementation of the actual expression tree. More...
|
Constructor & Destructor Documentation
Gecode::REG::REG |
( |
const REG & |
r |
) |
|
Initialize from regular expression r.
Definition at line 177 of file reg.cc.
Gecode::REG::REG |
( |
void |
|
) |
|
Initialize as empty sequence.
Definition at line 175 of file reg.cc.
Initialize as single integer.
Definition at line 200 of file reg.cc.
Gecode::REG::~REG |
( |
void |
|
) |
|
Destructor.
Definition at line 196 of file reg.cc.
Member Function Documentation
const REG & Gecode::REG::operator= |
( |
const REG & |
r |
) |
|
Initialize from regular expression r.
Definition at line 187 of file reg.cc.
REG Gecode::REG::operator() |
( |
unsigned int |
n, |
|
|
unsigned int |
m | |
|
) |
| | |
Return expression for: this expression at least n times, at most m times.
Definition at line 249 of file reg.cc.
REG Gecode::REG::operator() |
( |
unsigned int |
n |
) |
|
Return expression for: this expression at least n times.
Definition at line 280 of file reg.cc.
REG Gecode::REG::operator| |
( |
const REG & |
r |
) |
|
Return expression for: this expression or r.
Definition at line 208 of file reg.cc.
REG Gecode::REG::operator+ |
( |
const REG & |
r |
) |
|
Return expression for: this expression followed by r.
Definition at line 222 of file reg.cc.
REG Gecode::REG::operator * |
( |
void |
|
) |
|
Repeat expression for this expression arbitrarily often (Kleene star).
Definition at line 236 of file reg.cc.
REG Gecode::REG::operator+ |
( |
void |
|
) |
|
Repeat expression for this expression arbitrarily often, but at least once.
Definition at line 296 of file reg.cc.
std::ostream & Gecode::REG::print |
( |
std::ostream & |
|
) |
const |
Print expression.
Definition at line 182 of file reg.cc.
Friends And Related Function Documentation
std::ostream & operator<< |
( |
std::ostream & |
, |
|
|
const Gecode::REG & |
r | |
|
) |
| | [related] |
Print regular expression r
Definition at line 732 of file reg.cc.
The documentation for this class was generated from the following files: