X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkAtomicBlackBoxGetSetFunctor.h;h=b9aeff8ac9c84d99d4505e3e6c1093aedff17260;hb=e6b2de923e0e69c303c7d18fb8a5c1970541bb3a;hp=e67b76f1d30e8d3c1f96ef6794a17ad884233916;hpb=6f678e6883d4d2734c81492412903c701c8e1f3c;p=bbtk.git diff --git a/kernel/src/bbtkAtomicBlackBoxGetSetFunctor.h b/kernel/src/bbtkAtomicBlackBoxGetSetFunctor.h index e67b76f..b9aeff8 100644 --- a/kernel/src/bbtkAtomicBlackBoxGetSetFunctor.h +++ b/kernel/src/bbtkAtomicBlackBoxGetSetFunctor.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkAtomicBlackBoxGetSetFunctor.h,v $ Language: C++ - Date: $Date: 2008/02/07 11:06:37 $ - Version: $Revision: 1.1 $ + Date: $Date: 2008/07/23 11:46:10 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -52,6 +52,8 @@ namespace bbtk public: /// Default constructor AtomicBlackBoxGetFunctor() {} + /// Dtor + virtual ~AtomicBlackBoxGetFunctor() {} /// Abstract method which applies the "Get" function of AtomicBlackBox o virtual Data Get(AtomicBlackBox* o) = 0; /// @@ -73,6 +75,8 @@ namespace bbtk public: /// Default constructor AtomicBlackBoxSetFunctor() {} + /// Dtor + virtual ~AtomicBlackBoxSetFunctor() {} /// Abstract method which applies the "Set" function of AtomicBlackBox o virtual void Set(AtomicBlackBox* o, const Data&) = 0; /// @@ -131,11 +135,7 @@ namespace bbtk /// virtual bool IsPointerType() const { -#ifdef _USE_BOOST_ - return boost::is_pointer::value; -#else - return false; -#endif + return boost::is_pointer::value; } private: