From b111bf01aa7e0ddd6c496c243d82b53def8aee68 Mon Sep 17 00:00:00 2001 From: marc Date: Mon, 13 Mar 2000 10:17:12 +0000 Subject: [PATCH] Put eoTerm into the eo hierarchy - it was in the air! Added the className method --- eo/src/eoTerm.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eo/src/eoTerm.h b/eo/src/eoTerm.h index 0910a19b9..ca73901a6 100644 --- a/eo/src/eoTerm.h +++ b/eo/src/eoTerm.h @@ -32,7 +32,7 @@ * false for termination */ template< class EOT> -class eoTerm { +class eoTerm : public eoObject { public: /// Ctors/dtors @@ -41,10 +41,13 @@ public: /** Returns false if the training has to stop, true if it continues \\ It is non-const since it might change the internal state - of the object, for instance, updating a counter + of the object, for instance, updating local data. */ virtual bool operator() ( const eoPop< EOT >& _pop ) = 0 ; + /// Class name. + virtual string className() const { return "eoTerm"; } + }; #endif