Skip to content
Snippets Groups Projects
Commit 369117bc authored by Caroline Ruffel's avatar Caroline Ruffel
Browse files

nomsg

parent 58328cfb
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
#pragma warning ( disable : 4786 )
#endif
#include "itkObject.h"
#include "itkDataObject.h"
#include "itkLineSpatialObject.h"
#include <list>
......@@ -26,16 +26,15 @@ namespace otb
/** \class LineSpatialObjectList
*/
class ITK_EXPORT LineSpatialObjectList : public std::list< itk::LineSpatialObject<2>::Pointer >
//public itk::Object
class ITK_EXPORT LineSpatialObjectList : public std::list< itk::LineSpatialObject<2>::Pointer >,
public itk::DataObject
{
public:
/** Standard class typedefs. */
typedef LineSpatialObjectList Self;
// typedef itk::Object Superclass;
typedef std::list< itk::LineSpatialObject<2>::Pointer > Superclass;
typedef itk::DataObject Superclass;
#if 0
typedef itk::SmartPointer<Self> Pointer;
typedef itk::SmartPointer<const Self> ConstPointer;
......@@ -43,16 +42,16 @@ public:
itkNewMacro(Self);
/** Run-time type information (and related methods). */
itkTypeMacro(LineSpatialObjectList,itk::Object);
#endif
itkTypeMacro(LineSpatialObjectList,itk::DataObject);
/** Some convenient typedefs. */
typedef itk::LineSpatialObject<2> LineType;
protected :
LineSpatialObjectList(){};
~LineSpatialObjectList() {};
};
};
} // end namespace otb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment