Choice that only signals failure or success. More...
Public Member Functions | |
Choice (const Brancher &b, bool fail0) | |
Initialize choice for brancher b. | |
virtual size_t | size (void) const |
Report size occupied. | |
virtual void | archive (Archive &e) const |
Archive into e. | |
Public Attributes | |
bool | fail |
Whether brancher should fail. |
Choice that only signals failure or success.
Radiotherapy::NestedSearch::Choice::Choice | ( | const Brancher & | b, |
bool | fail0 | ||
) | [inline] |
Initialize choice for brancher b.
Definition at line 226 of file radiotherapy.cpp.
virtual size_t Radiotherapy::NestedSearch::Choice::size | ( | void | ) | const [inline, virtual] |
virtual void Radiotherapy::NestedSearch::Choice::archive | ( | Archive & | e | ) | const [inline, virtual] |
Whether brancher should fail.
Definition at line 224 of file radiotherapy.cpp.