ldpk
Public Types | Public Member Functions | Public Attributes | List of all members
ldpk::line_ref< T > Class Template Reference

In Multithreading, more than one thread may work on the same line reading and writing, however resizing is not allowed. More...

#include <ldpk_line_cache.h>

Collaboration diagram for ldpk::line_ref< T >:
Collaboration graph
[legend]

Public Types

typedef cache_line_buffer< T > cache_line_buffer_type
 

Public Member Functions

 line_ref (cache_line_buffer_type &b)
 
int a () const
 
int b () const
 
const T & operator[] (int i) const
 
T & operator[] (int i)
 
bool exists (int i) const
 
 operator bool () const
 Exists or not?
 

Public Attributes

cache_line_buffer_type_buffer
 

Detailed Description

template<class T>
class ldpk::line_ref< T >

In Multithreading, more than one thread may work on the same line reading and writing, however resizing is not allowed.


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