Added a mthod to remove one of the combined things (from Ramón Casero Cañas)
This commit is contained in:
parent
149ad68cb5
commit
a339a548c3
1 changed files with 10 additions and 0 deletions
|
|
@ -34,6 +34,8 @@
|
|||
20/11/00 MS: Changed the 2-continuator construct to a vector<eoContinue<EOT> >
|
||||
to be consistent with other Combined constructs
|
||||
and allow to easily handle more than 2 continuators
|
||||
|
||||
02/2003 Ramón Casero Cañas - added the removeLast() method
|
||||
*/
|
||||
|
||||
template< class EOT>
|
||||
|
|
@ -63,6 +65,14 @@ public:
|
|||
continuators.push_back(&_cont);
|
||||
}
|
||||
|
||||
///////////// RAMON'S CODE ///////////////
|
||||
void removeLast(void)
|
||||
{
|
||||
continuators.pop_back();
|
||||
}
|
||||
///////////// RAMON'S CODE (end) ///////////////
|
||||
|
||||
|
||||
/** Returns false when one of the embedded continuators say so (logical and)
|
||||
*/
|
||||
virtual bool operator() ( const eoPop<EOT>& _pop )
|
||||
|
|
|
|||
Reference in a new issue