Logo Search packages:      
Sourcecode: lttoolbox version File versions  Download package

template<class T>
void Buffer< T >::back ( unsigned int const   posback  )  [inline]

Gets back 'posback' positions in the buffer.

Parameters:
posback the amount of position to get back.

Definition at line 254 of file Buffer.H.

    {
      if(currentpos > posback)
      {
        currentpos-=posback;
      }
      else
      {
        currentpos = size - (posback-currentpos);
      }
    }


Generated by  Doxygen 1.6.0   Back to index