Skip to content

Commit 8f61111

Browse files
committed
DOC: Use non-boolean, built-in type ivars to illustrate PrintSelf
Use non-boolean, built-in ivar type ivars to illustrate the `PrintSelf` method, as the style for printing boolean ivars is not yet consistent across the ITK code base.
1 parent a7f818b commit 8f61111

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
@@ -1676,13 +1676,13 @@ \section{Accessing Members}
16761676
\begin{minted}[baselinestretch=1,fontsize=\footnotesize,linenos=false,bgcolor=ltgray]{cpp}
16771677
template <typename TInputImage, typename TOutputImage>
16781678
void
1679-
BinaryContourImageFilter<InputImage, TOutputImage>::PrintSelf(
1679+
InterpolateImageFilter<InputImage, TOutputImage>::PrintSelf(
16801680
std::ostream & os,
16811681
Indent indent) const
16821682
{
16831683
Superclass::PrintSelf(os, indent);
16841684
1685-
os << indent << "FullyConnected: " << m_FullyConnected << std::endl;
1685+
os << indent << "Distance: " << m_Distance << std::endl;
16861686
...
16871687
}
16881688
\end{minted}
@@ -1694,13 +1694,13 @@ \section{Accessing Members}
16941694
\begin{minted}[baselinestretch=1,fontsize=\footnotesize,linenos=false,bgcolor=ltgray]{cpp}
16951695
template <typename TInputImage, typename TOutputImage>
16961696
void
1697-
BinaryContourImageFilter<TInputImage, TOutputImage>::PrintSelf(
1697+
InterpolateImageFilter<TInputImage, TOutputImage>::PrintSelf(
16981698
std::ostream & os,
16991699
Indent indent) const
17001700
{
17011701
Superclass::PrintSelf(os, indent);
17021702
1703-
os << indent << "FullyConnected: " << this->m_FullyConnected << std::endl;
1703+
os << indent << "Distance: " << m_Distance << std::endl;
17041704
...
17051705
}
17061706
\end{minted}

0 commit comments

Comments
 (0)