18 #ifndef __otbListSampleToListSample_txx
19 #define __otbListSampleToListSample_txx
25 namespace Statistics {
27 template <
class TInputSampleList,
class TOutputSampleList >
31 this->SetNumberOfRequiredInputs(1);
34 template <
class TInputSampleList,
class TOutputSampleList >
41 this->SetInput(inputPtr);
44 template <
class TInputSampleList,
class TOutputSampleList >
51 const_cast< InputSampleListObjectType* >( inputPtr ) );
54 template <
class TInputSampleList,
class TOutputSampleList >
56 ::InputSampleListObjectType *
60 if (this->GetNumberOfInputs() < 1)
69 template <
class TInputSampleList,
class TOutputSampleList >
71 ::InputSampleListType *
75 if (this->GetNumberOfInputs() < 1)
82 return dataObjectPointer->Get();
85 template <
class TInputSampleList,
class TOutputSampleList >
91 Superclass::PrintSelf(os, indent);