|
| queue (stream_size_type elements=std::numeric_limits< stream_size_type >::max(), double block_factor=1.0) |
| Constructor for Temporary Queue. More...
|
|
void | resize (stream_size_type) |
| Does nothing. More...
|
|
| queue (const std::string &basename, double block_factor=1.0) |
| Load or create a named queue. More...
|
|
| ~queue () |
| Destructor, closes the underlying stream. More...
|
|
bool | empty () |
| Check if the queue is empty. More...
|
|
| TPIE_DEPRECATED (bool is_empty()) |
|
stream_size_type | size () |
| Returns the number of items currently on the queue. More...
|
|
void | push (const T &t) |
| Enqueue an item. More...
|
|
| TPIE_DEPRECATED (ami::err enqueue(const T &t)) |
|
const T & | pop () |
| Dequeues an item. More...
|
|
| TPIE_DEPRECATED (ami::err dequeue(const T **t)) |
|
const T & | front () |
| Returns at the frontmost item in the queue. More...
|
|
| TPIE_DEPRECATED (ami::err peek(const T **t)) |
|
| TPIE_DEPRECATED (ami::err trim()) |
| Deprecated, does nothing. More...
|
|
| TPIE_DEPRECATED (void persist(persistence p)) |
| Set the persistence status of the (stacks underlying the) queue. More...
|
|
template<class T>
class tpie::queue< T >
Basic Implementation of I/O Efficient FIFO queue.
- Author
- The TPIE Project
Definition at line 42 of file queue.h.