Skip to content

Commit ab20c3e

Browse files
authored
Merge pull request #199 from jhlegarreta/UseNonBooleanIvarsAsPrintSelfExamples
DOC: Use non-boolean, built-in type ivars to illustrate `PrintSelf`
2 parents 8804cfe + 8f61111 commit ab20c3e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,13 +1689,13 @@ \section{Accessing Members}
16891689
\begin{minted}[baselinestretch=1,fontsize=\footnotesize,linenos=false,bgcolor=ltgray]{cpp}
16901690
template <typename TInputImage, typename TOutputImage>
16911691
void
1692-
BinaryContourImageFilter<InputImage, TOutputImage>::PrintSelf(
1692+
InterpolateImageFilter<InputImage, TOutputImage>::PrintSelf(
16931693
std::ostream & os,
16941694
Indent indent) const
16951695
{
16961696
Superclass::PrintSelf(os, indent);
16971697
1698-
os << indent << "FullyConnected: " << m_FullyConnected << std::endl;
1698+
os << indent << "Distance: " << m_Distance << std::endl;
16991699
...
17001700
}
17011701
\end{minted}
@@ -1707,13 +1707,13 @@ \section{Accessing Members}
17071707
\begin{minted}[baselinestretch=1,fontsize=\footnotesize,linenos=false,bgcolor=ltgray]{cpp}
17081708
template <typename TInputImage, typename TOutputImage>
17091709
void
1710-
BinaryContourImageFilter<TInputImage, TOutputImage>::PrintSelf(
1710+
InterpolateImageFilter<TInputImage, TOutputImage>::PrintSelf(
17111711
std::ostream & os,
17121712
Indent indent) const
17131713
{
17141714
Superclass::PrintSelf(os, indent);
17151715
1716-
os << indent << "FullyConnected: " << this->m_FullyConnected << std::endl;
1716+
os << indent << "Distance: " << m_Distance << std::endl;
17171717
...
17181718
}
17191719
\end{minted}

0 commit comments

Comments
 (0)