Пример #1
0
 static bool Place( Vector &canvasVector, const typename Content<_T>::Vector &contentVector, typename Content<_T>::Vector &remainder ) {
   
   typename Content<_T>::Vector todo = contentVector;
       
   for( typename Vector::iterator itor = canvasVector.begin(); itor != canvasVector.end(); itor++ ) {
    
     Canvas <_T> &canvas = *itor;
     
     remainder.clear();
     canvas.Place(todo, remainder);
     todo = remainder;
   }
   
   if(remainder.size()==0)
     return true;
   
   return false;
 }
Пример #2
0
 bool HasContent() const {
  
   return ( contentVector.size() > 0) ;
 }