30         CollectionInterfacePrx entityCollection,
 
   34         PersistentPredictionDataSegmentBase()
 
   38     PredictionEntityBaseList
 
   41         PredictionEntityBaseList entities;
 
   47             if (entity->ice_isA(PredictionEntityBase::ice_staticId()))
 
   49                 entities.push_back(PredictionEntityBasePtr::dynamicCast(entity));
 
   56     memoryx::PredictionTaskEntityBaseList
 
   59         PredictionTaskEntityBaseList entities;
 
   61         for (
const std::string& 
id : getAllEntityIds())
 
   63             EntityBasePtr entity = getEntityById(
id);
 
   65             if (entity->ice_isA(PredictionTaskEntityBase::ice_staticId()))
 
   67                 entities.push_back(PredictionTaskEntityBasePtr::dynamicCast(entity));