18 #ifndef itkVectorContainerToListSampleAdaptor_h
19 #define itkVectorContainerToListSampleAdaptor_h
45 template <
typename TVectorContainer>
75 using typename Superclass::MeasurementType;
76 using typename Superclass::MeasurementVectorType;
77 using typename Superclass::AbsoluteFrequencyType;
78 using typename Superclass::TotalAbsoluteFrequencyType;
79 using typename Superclass::MeasurementVectorSizeType;
80 using typename Superclass::InstanceIdentifier;
92 Size()
const override;
103 GetTotalFrequency()
const override;
117 this->m_Iter = iter.
m_Iter;
126 this->m_Iter = iter.
m_Iter;
146 return this->m_InstanceIdentifier;
153 ++m_InstanceIdentifier;
160 return (this->m_Iter == it.
m_Iter);
170 this->m_InstanceIdentifier = iid;
204 this->ConstIterator::operator=(iter);
219 const_cast<VectorContainerType *>(this->m_VectorContainer.GetPointer());
220 Iterator iter(nonConstVectorDataContainer->Begin(), 0);
231 const_cast<VectorContainerType *>(this->m_VectorContainer.GetPointer());
233 Iterator iter(nonConstVectorDataContainer->End(), this->m_VectorContainer->Size());
242 const ConstIterator iter(this->m_VectorContainer->Begin(), 0);
251 const ConstIterator iter(this->m_VectorContainer->End(), this->m_VectorContainer->Size());
261 PrintSelf(std::ostream & os,
Indent indent)
const override;
269 #ifndef ITK_MANUAL_INSTANTIATION
270 # include "itkVectorContainerToListSampleAdaptor.hxx"