Пример #1
0
 /**
  * @brief Sets the data and increases the used chunk data by one.
  *
  * This method should only be called if 'reserveItems' was called
  * beforehand with enough items to accommodate to all calls to this
  * method.
  *
  * @param data  The data set to the current position in the chunk.
  */
 inline void setDataAndMove(const typename ChunkData::DataValues& data) {
   // this method should only be called if reserveItems has been called
   curChunk->setDataAndMove(data);
 }
Пример #2
0
 CODI_INLINE void setDataAndMove(const Data& ... data) {
   // this method should only be called if reserveItems has been called
   curChunk->setDataAndMove(data...);
 }