Commit 9d205d17 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: follow otb naming, add copyright, use namespace, remove useless define and use const.

parent c56d5fcf
#define INDATASPEC_P5B_CXX_FILE
#include "dataSpec_P5B.h"
/*=========================================================================
dataSpec dataSpecP5B[] = {
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 "otbDataSpecP5B.h"
namespace otb
{
const dataSpec dataSpecP5B[] = {
{ 400, 1.4955, 2.676E-02, 2.895E-01, 5.272E-01, 5.800E-05, 1.097E+02, 5.910E-01, 2.413E+00, 2.377E-01, 3.208E-02 },
{ 401, 1.4958, 3.113E-02, 2.796E-01, 5.262E-01, 5.852E-05, 1.037E+02, 5.980E-01, 2.413E+00, 2.373E-01, 3.195E-02 },
......@@ -2107,3 +2127,4 @@ dataSpec dataSpecP5B[] = {
};
}
#ifndef __dataSpecP5B_h
#define __dataSpecP5B_h
/*=========================================================================
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 __otbDataSpecP5B_h
#define __otbDataSpecP5B_h
namespace otb
{
// ***********************************************************************
// dataSpec_P5.m - (february, 25th 2008)
......@@ -38,10 +58,8 @@ struct dataSpec {
double wetSoil;
};
#define DATASPECSIZE 2101
extern const dataSpec dataSpecP5B[2101];
#ifndef INDATASPEC_P5B_CXX_FILE
extern dataSpec dataSpecP5B[DATASPECSIZE];
#endif /* INDATASPEC_P5B_CXX_FILE */
}
#endif /* __dataSpecP5B_h */
#endif /* __otbDataSpecP5B_h */
......@@ -23,7 +23,7 @@
#include "itkObjectFactory.h"
#include "otbLeafParameters.h"
#include "dataSpec_P5B.h"
#include "otbDataSpecP5B.h"
#include "otbSimulationStep1Base.h"
namespace otb
......
......@@ -22,7 +22,7 @@
#include "itkProcessObject.h"
#include "itkObjectFactory.h"
#include "otbSpectralResponse.h"
#include "dataSpec_P5B.h"
#include "otbDataSpecP5B.h"
#include "otbSimulationStep2Base.h"
namespace otb
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment