X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=itk%2FclitkRelativePositionDataBase.cxx;h=9ae6dd9fbba5ae27d8c294d16f133cbfe4d21f1f;hb=2b4ec898fdd6dc8ea5780c0e30c7124272a4202e;hp=a9b73273387f9beafc94934425fc58649292500a;hpb=d8f6cf956310ff7b123df4ad82e20b61831d09ff;p=clitk.git diff --git a/itk/clitkRelativePositionDataBase.cxx b/itk/clitkRelativePositionDataBase.cxx index a9b7327..9ae6dd9 100644 --- a/itk/clitkRelativePositionDataBase.cxx +++ b/itk/clitkRelativePositionDataBase.cxx @@ -167,7 +167,6 @@ namespace clitk { std::vector & RelativePositionDataBase::GetListOfPatients(const IndexType & index) const { const MapByPatientType & o = GetMapByPatient(index); - MapByPatientType::const_iterator iter = o.begin(); std::vector * v = new std::vector; MapToVecFirst(o, *v); return *v; @@ -223,7 +222,7 @@ namespace clitk { bool RelativePositionDataBase::CheckIndex(const IndexType & index) const { try { - const RelativePositionInformationType & m = GetInformation(index); + /*const RelativePositionInformationType & m = */ GetInformation(index); } catch (clitk::ExceptionObject e) { // std::cout << e.what() << std::endl; return false; @@ -231,7 +230,14 @@ namespace clitk { return true; } //-------------------------------------------------------------------- - + + //-------------------------------------------------------------------- + std::ostream& operator<<(std::ostream & os, const clitk::RelativePositionInformationType & rp) + { + rp.Print(os); + return os; + } + //-------------------------------------------------------------------- } // end namespace clitk //--------------------------------------------------------------------