Orfeo Toolbox  4.0
otbWrapperOutputFilenameParameter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ORFEO Toolbox
4  Language: C++
5  Date: $Date$
6  Version: $Revision$
7 
8 
9  Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
10  See OTBCopyright.txt for details.
11 
12 
13  This software is distributed WITHOUT ANY WARRANTY; without even
14  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  PURPOSE. See the above copyright notices for more information.
16 
17 =========================================================================*/
18 #ifndef __otbWrapperOutputFilenameParameter_h
19 #define __otbWrapperOutputFilenameParameter_h
20 
21 #include <string>
23 
24 namespace otb
25 {
26 namespace Wrapper
27 {
28 
33  : public Parameter
34 {
35 public:
41 
43  itkNewMacro(Self);
44 
46  itkTypeMacro(OutputFilenameParameter, Parameter);
47 
48 
49  bool HasValue() const
50  {
51  return m_StringParam->HasValue();
52  }
53 
54  // Get Value
55  otbGetObjectMemberMacro(StringParam, Value , std::string);
56 
57  // Set Value
58  virtual void SetValue(const std::string value)
59  {
60  itkDebugMacro("setting member m_StringParam to " << value);
61  this->m_StringParam->SetValue(value);
62  SetActive(true);
63  this->Modified();
64  }
65 
66  // Clear Value
67  void ClearValue()
68  {
69  m_StringParam->ClearValue();
70  }
71 
72 protected:
75  {
76  // Initialize the String Parameter
78 
79 
80  }
81 
84  {}
85 
86 private:
87  OutputFilenameParameter(const OutputFilenameParameter &); //purposely not implemented
88  void operator =(const OutputFilenameParameter&); //purposely not
89  //implemented
90 
92 
93 }; // End class Parameter
94 
95 } // End namespace Wrapper
96 } // End namespace otb
97 
98 #endif

Generated at Sat Mar 8 2014 16:28:49 for Orfeo Toolbox with doxygen 1.8.3.1