std::vector<std::string> & RelativePositionDataBase::GetListOfPatients(const IndexType & index) const
{
const MapByPatientType & o = GetMapByPatient(index);
- MapByPatientType::const_iterator iter = o.begin();
std::vector<std::string> * v = new std::vector<std::string>;
MapToVecFirst(o, *v);
return *v;
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;
return true;
}
//--------------------------------------------------------------------
-
+
+ //--------------------------------------------------------------------
+ std::ostream& operator<<(std::ostream & os, const clitk::RelativePositionInformationType & rp)
+ {
+ rp.Print(os);
+ return os;
+ }
+ //--------------------------------------------------------------------
} // end namespace clitk
//--------------------------------------------------------------------