Skip to content
Snippets Groups Projects
Commit c39524e3 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Missing PrintSelf, adding const reference arguments to some methods

parent d3d3aeec
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ namespace otb
return m_OutputDictionary;
}
void SetOutputDictionary(itk::MetaDataDictionary & dictionary)
void SetOutputDictionary(const itk::MetaDataDictionary & dictionary)
{
m_OutputDictionary = dictionary;
this->Modified();
......@@ -202,6 +202,14 @@ namespace otb
m_TransformUpToDate = false;
}
void PrintSelf(std::ostream& os, itk::Indent indent) const
{
Superclass::PrintSelf(os,indent);
os<<indent<<"Up to date: "<<m_TransformUpToDate<<std::endl;
os<<indent<<"Input transform: "<<m_InputTransform<<std::endl;
os<<indent<<"Output transform: "<<m_OutputTransform<<std::endl;
}
private :
GenericRSTransform(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment