Commit bf05518d authored by Julien Michel's avatar Julien Michel

Revert "STY: Use default constructor/destructor"

This reverts commit 73b61450.
parent 73b61450
......@@ -133,10 +133,10 @@ public:
protected:
/** Constructor */
Parameter() = default;
Parameter();
/** Destructor */
~Parameter() override = default;
~Parameter() override;
/** Name of the parameter */
std::string m_Name;
......
......@@ -26,6 +26,25 @@ namespace otb
{
namespace Wrapper
{
// TODO: Constructor/destructor
Parameter::Parameter() :
m_Name(),
m_Description(),
m_Key(),
m_Mandatory( true ),
m_Active( false ),
m_UserValue( false ),
m_UserLevel( UserLevel_Basic ),
m_Role( Role_Input ),
m_Root( this )
{}
/** Destructor */
Parameter::~Parameter() {}
/** Set/get the parameter name */
void Parameter::SetName(const std::string& name)
{
......
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