- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# item_buffer< T > Class Template Reference

Expandable buffer of items. The possible operations are push, pop,. More...

`#include <_item_buffer.h>`

Inheritance diagram for item_buffer< T >:

List of all members.

## Public Types
typedef T | input_type
typedef T | output_type
## Public Member Functions
| item_buffer ()
| Constructor.
## Protected Types
typedef size_t | size_type
typedef std::pair< T, bool > | item_type
## Protected Member Functions
bool | buffer_empty ()
item_type & | item (size_type i)
bool | item_valid (size_type i)
void | fetch_front (T &v)
void | fetch_back (T &v)
void | invalidate (size_type i)
void | validate (size_type i)
void | invalidate_front ()
void | validate_front ()
void | invalidate_back ()
size_type | size ()
size_type | capacity ()
bool | buffer_full ()
void | grow_my_array (size_t minimum_size)
| Grows the internal array.
bool | push_back (T &v)
bool | pop_back (T &v)
bool | pop_front (T &v)
## Protected Attributes
item_type * | my_array
size_type | my_array_size
size_type | my_head
size_type | my_tail
## Static Protected Attributes
static const size_type | initial_buffer_size = 4

## Detailed Description

### template<typename T>
class item_buffer< T >

Expandable buffer of items. The possible operations are push, pop,.

The documentation for this class was generated from the following file:

- _item_buffer.h

Copyright © 2005-2011 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.