From 95a7c4d6a28061d32e51b0e5581ab938498dc3f4 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Tue, 21 Sep 2010 11:00:49 +0800 Subject: [PATCH] BUG: remove unused and untested TileRecord class --- Code/IO/otbTileRecord.cxx | 52 ---------------------------------- Code/IO/otbTileRecord.h | 59 --------------------------------------- 2 files changed, 111 deletions(-) delete mode 100644 Code/IO/otbTileRecord.cxx delete mode 100644 Code/IO/otbTileRecord.h diff --git a/Code/IO/otbTileRecord.cxx b/Code/IO/otbTileRecord.cxx deleted file mode 100644 index 67b84ca49d..0000000000 --- a/Code/IO/otbTileRecord.cxx +++ /dev/null @@ -1,52 +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 "otbTileRecord.h" - -namespace otb -{ -TileRecord::TileRecord() -{ - m_FileName = ""; - m_Date = time(NULL); -} - -TileRecord::~TileRecord() -{ -} - -void TileRecord::SetFileName(std::string _arg) -{ - m_FileName = _arg; -} - -std::string TileRecord::GetFileName() -{ - return m_FileName; -} - -void TileRecord::SetDate() -{ - m_Date = time(NULL); -} - -time_t TileRecord::GetDate() -{ - return m_Date; -} -} diff --git a/Code/IO/otbTileRecord.h b/Code/IO/otbTileRecord.h deleted file mode 100644 index 3a393875e9..0000000000 --- a/Code/IO/otbTileRecord.h +++ /dev/null @@ -1,59 +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 __otbTileRecord_h -#define __otbTileRecord_h - -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif - -#include "otbImage.h" -#include "time.h" - -namespace otb -{ -/** \class TileRecord - * \brief Manages Tiles from OSM. - * - */ -class ITK_EXPORT TileRecord -{ -public: - /** Standard typedefs */ - typedef TileRecord Self; - - /** Constructor */ - TileRecord(); - ~TileRecord(); - - /** Accessors */ - void SetFileName(std::string _arg); - std::string GetFileName(); - - void SetDate(); - time_t GetDate(); - -private: - /** File name */ - std::string m_FileName; - - /** Date time */ - time_t m_Date; -}; -} -#endif -- GitLab