]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkAtomicBlackBoxGetSetFunctor.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkAtomicBlackBoxGetSetFunctor.h
index e67b76f1d30e8d3c1f96ef6794a17ad884233916..b9aeff8ac9c84d99d4505e3e6c1093aedff17260 100644 (file)
@@ -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<T>::value;
-#else
-       return false;
-#endif
+      return boost::is_pointer<T>::value;
     }
 
   private: