Choice
More...
Public Member Functions |
| | Choice (const Brancher &b, unsigned int a, int pos0, int val0) |
| virtual size_t | size (void) const |
| | Report size occupied.
|
| virtual void | archive (Archive &e) const |
| | Archive into e.
|
| unsigned int | alternatives (void) const |
| | Return number of alternatives.
|
| virtual | ~Choice (void) |
| | Destructor.
|
Public Attributes |
| int | pos |
| | Position of variable.
|
| int | val |
| | Value of variable.
|
Additional Inherited Members |
| static void * | operator new (size_t) |
| | Allocate memory from heap.
|
| static void | operator delete (void *) |
| | Return memory to heap.
|
| | Choice (const Brancher &b, const unsigned int a) |
| | Initialize for particular brancher b and alternatives a.
|
Detailed Description
Choice
Definition at line 324 of file steel-mill.cpp.
Constructor & Destructor Documentation
| SteelMill::SteelMillBranch::Choice::Choice |
( |
const Brancher & |
b, |
|
|
unsigned int |
a, |
|
|
int |
pos0, |
|
|
int |
val0 |
|
) |
| |
|
inline |
Initialize choice for brancher b, number of alternatives a, position pos0, and value val0.
Definition at line 333 of file steel-mill.cpp.
Member Function Documentation
| virtual size_t SteelMill::SteelMillBranch::Choice::size |
( |
void |
| ) |
const |
|
inlinevirtual |
| virtual void SteelMill::SteelMillBranch::Choice::archive |
( |
Archive & |
e | ) |
const |
|
inlinevirtual |
Member Data Documentation
| int SteelMill::SteelMillBranch::Choice::pos |
| int SteelMill::SteelMillBranch::Choice::val |
The documentation for this class was generated from the following file: