Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::cb_details::capacity_control< Size > Class Template Reference

Capacity controller of the space optimized circular buffer. More...

#include <details.hpp>

Inheritance diagram for boost::cb_details::capacity_control< Size >:

Public Member Functions

 capacity_control (Size buffer_capacity, Size min_buffer_capacity=0)
 Constructor. More...
 
Size capacity () const
 Get the capacity of the space optimized circular buffer. More...
 
Size min_capacity () const
 Get the minimal capacity of the space optimized circular buffer. More...
 
 operator Size () const
 Size operator - returns the capacity of the space optimized circular buffer. More...
 

Detailed Description

template<class Size>
class boost::cb_details::capacity_control< Size >

Capacity controller of the space optimized circular buffer.

Constructor & Destructor Documentation

template<class Size>
boost::cb_details::capacity_control< Size >::capacity_control ( Size  buffer_capacity,
Size  min_buffer_capacity = 0 
)
inline

Constructor.

Member Function Documentation

template<class Size>
Size boost::cb_details::capacity_control< Size >::capacity ( ) const
inline

Get the capacity of the space optimized circular buffer.

template<class Size>
Size boost::cb_details::capacity_control< Size >::min_capacity ( ) const
inline

Get the minimal capacity of the space optimized circular buffer.

template<class Size>
boost::cb_details::capacity_control< Size >::operator Size ( ) const
inline

Size operator - returns the capacity of the space optimized circular buffer.


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