]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/DataStructures/Graph.h
...
[cpPlugins.git] / lib / cpExtensions / DataStructures / Graph.h
index ed2d6ae337086d941fa19909d9eea3720d2935cd..d9e913d579b326a535d2ebcc8cb59261cea9874f 100644 (file)
@@ -5,7 +5,7 @@
 #include <map>
 #include <set>
 #include <vector>
-#include <itkLightObject.h>
+#include <itkDataObject.h>
 #include <itkObjectFactory.h>
 
 namespace cpExtensions
@@ -20,11 +20,11 @@ namespace cpExtensions
      */
     template< class _TVertex, class _TCost, class _TIndex = unsigned long, class _TIndexCompare = std::less< _TIndex > >
     class Graph
-      : public itk::LightObject
+      : public itk::DataObject
     {
     public:
       typedef Graph                           Self;
-      typedef itk::LightObject                Superclass;
+      typedef itk::DataObject                 Superclass;
       typedef itk::SmartPointer< Self >       Pointer;
       typedef itk::SmartPointer< const Self > ConstPointer;
 
@@ -41,7 +41,7 @@ namespace cpExtensions
 
     public:
       itkNewMacro( Self );
-      itkTypeMacro( Graph, itk::LightObject );
+      itkTypeMacro( Graph, itk::DataObject );
 
     public:
       /*! \brief Iterators over vertices.