From a339a548c3e41f5836821abce1dc6debea54ceb1 Mon Sep 17 00:00:00 2001 From: evomarc Date: Sat, 8 Feb 2003 05:36:01 +0000 Subject: [PATCH] =?UTF-8?q?Added=20a=20mthod=20to=20remove=20one=20of=20th?= =?UTF-8?q?e=20combined=20things=20(from=20Ram=C3=B3n=20Casero=20Ca=C3=B1a?= =?UTF-8?q?s)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eo/src/eoCombinedContinue.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/eo/src/eoCombinedContinue.h b/eo/src/eoCombinedContinue.h index 2420288f..b6035ffe 100644 --- a/eo/src/eoCombinedContinue.h +++ b/eo/src/eoCombinedContinue.h @@ -34,6 +34,8 @@ 20/11/00 MS: Changed the 2-continuator construct to a vector > 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& _pop )