From 0b0cf06f9e543d2257e894851f5f9e88e770ff4c Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Mon, 22 Mar 2010 21:24:07 +0800 Subject: [PATCH] BUG: remove unused, empty and untested class --- Code/IO/otbVectorDataBase.cxx | 43 --------------------- Code/IO/otbVectorDataBase.h | 71 ----------------------------------- 2 files changed, 114 deletions(-) delete mode 100644 Code/IO/otbVectorDataBase.cxx delete mode 100644 Code/IO/otbVectorDataBase.h diff --git a/Code/IO/otbVectorDataBase.cxx b/Code/IO/otbVectorDataBase.cxx deleted file mode 100644 index 827560af57..0000000000 --- a/Code/IO/otbVectorDataBase.cxx +++ /dev/null @@ -1,43 +0,0 @@ -/*========================================================================= - - Program: ORFEO Toolbox - Language: C++ - Date: $Date$ - Version: $Revision$ - - - Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. - See OTBCopyright.txt for details. - - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - -=========================================================================*/ - -#include "otbVectorDataBase.h" - - -namespace otb -{ - -VectorDataBase::VectorDataBase() -{ -} - -VectorDataBase::~VectorDataBase() -{ - -} - - -void -VectorDataBase::PrintSelf(std::ostream& os, itk::Indent indent) const -{ - Superclass::PrintSelf(os, indent); - os << indent << "VectorDataBase" << std::endl; -} - - -} // end namespace otb diff --git a/Code/IO/otbVectorDataBase.h b/Code/IO/otbVectorDataBase.h deleted file mode 100644 index 74cdf7a958..0000000000 --- a/Code/IO/otbVectorDataBase.h +++ /dev/null @@ -1,71 +0,0 @@ -/*========================================================================= - - Program: ORFEO Toolbox - Language: C++ - Date: $Date$ - Version: $Revision$ - - - Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. - See OTBCopyright.txt for details. - - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - -=========================================================================*/ - -#ifndef __otbVectorDataBase_h -#define __otbVectorDataBase_h - -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif - -#include "itkDataObject.h" -#include "itkObjectFactory.h" -#include "itkMacro.h" - -namespace otb -{ -/** \class VectorDataBase - * \brief Base class for templated image classes. - * - * ImageBase is the base class for the templated VectorDataBase - * classes. VectorDataBase does not store any of the vector data values. - * - */ - -class ITK_EXPORT VectorDataBase : public itk::DataObject -{ -public: - - /** Standard class typedefs. */ - typedef VectorDataBase Self; - typedef itk::DataObject Superclass; - typedef itk::SmartPointer<Self> Pointer; - typedef itk::SmartPointer<const Self> ConstPointer; - - /** Method for creation through the object factory. */ - itkNewMacro(Self); - - /** Run-time type information (and related methods). */ - itkTypeMacro(VectorDataBase, itk::DataObject); - - void PrintSelf(std::ostream& os, itk::Indent indent) const; - -protected: - VectorDataBase(); - ~VectorDataBase(); - -private: - VectorDataBase(const Self&); //purposely not implemented - void operator=(const Self&); //purposely not implemented - -}; - -} // end namespace otb - -#endif // __otbVectorDataBase_h - -- GitLab