Added a mthod to remove one of the combined things (from Ramón Casero Cañas)

This commit is contained in:
evomarc 2003-02-08 05:36:01 +00:00
commit a339a548c3

View file

@ -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 )