ldpk
Public Types | Public Member Functions | List of all members
ldpk::cache_line_buffer< T > Class Template Reference
Inheritance diagram for ldpk::cache_line_buffer< T >:
Inheritance graph
[legend]
Collaboration diagram for ldpk::cache_line_buffer< T >:
Collaboration graph
[legend]

Public Types

typedef cache_line_buffer this_type
 
typedef extendible_vector< T > base_type
 
- Public Types inherited from ldpk::extendible_vector< T >
typedef extendible_vector this_type
 
typedef std::vector< T > vec_type
 
typedef vec_type::const_iterator const_iterator
 
typedef vec_type::const_reverse_iterator const_reverse_iterator
 

Public Member Functions

 cache_line_buffer (const this_type &c)
 
- Public Member Functions inherited from ldpk::extendible_vector< T >
 extendible_vector (const this_type &c)
 
void clear ()
 
this_typeresize (int a, int b)
 After this call (*this)[i] is valid for a <= i < b. Expensive. This method will only do something if [a,b[ does not lie within [_a,_b[. If [a,b[ is larger than _val.size(), resize() is invoked for _val.
 
void extend (int i)
 After this call (*this)[i] is valid.
 
int a () const
 Minimum and maximum values ever set with resize() since object was created.
 
int b () const
 
const T & operator[] (int i) const
 Since resize() will move elements around, the access methods are fast.
 
T & operator[] (int i)
 
const T & at (int i) const
 
T & at (int i)
 
const_iterator begin () const
 Iterate over the entire container, not just [a,b[.
 
const_iterator end () const
 
bool empty () const
 
int size () const
 Entire size, not just [a,b[.
 

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