clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
bk_lib::detail::with_inline_buffer< L, R, cap > Struct Template Reference

#include <left_right_sequence.h>

Inheritance diagram for bk_lib::detail::with_inline_buffer< L, R, cap >:
Inheritance graph
Collaboration diagram for bk_lib::detail::with_inline_buffer< L, R, cap >:
Collaboration graph

Classes

union  X
 

Public Types

enum  { inline_raw_cap = cap }
 
typedef left_right_rep< L, R >
::buf_type 
buf_type
 
typedef left_right_rep< L, R >
::align_type 
align_type
 
- Public Types inherited from bk_lib::detail::left_right_rep< L, R >
enum  { block_size = ((sizeof(max_type)+(sizeof(align_type)-1)) / sizeof(align_type)) * sizeof(align_type) }
 
typedef L left_type
 
typedef R right_type
 
typedef unsigned int size_type
 
typedef L * left_iterator
 
typedef const L * const_left_iterator
 
typedef std::reverse_iterator
< R * > 
right_iterator
 
typedef std::reverse_iterator
< const R * > 
const_right_iterator
 
typedef
bk_lib::detail::align_of
< left_type >::type 
left_align_type
 
typedef
bk_lib::detail::align_of
< right_type >::type 
right_align_type
 
typedef right_type::type max_type
 
typedef right_align_type::type align_type
 

Public Member Functions

buf_typeextra ()
 
- Public Member Functions inherited from bk_lib::detail::left_right_rep< L, R >
 left_right_rep ()
 
bool empty () const
 
size_type left_size () const
 
size_type right_size () const
 
size_type size () const
 
size_type left_capacity () const
 
size_type right_capacity () const
 
const_left_iterator left_begin () const
 
const_left_iterator left_end () const
 
left_iterator left_begin ()
 
left_iterator left_end ()
 
const_right_iterator right_begin () const
 
const_right_iterator right_end () const
 
right_iterator right_begin ()
 
right_iterator right_end ()
 
const left_typeleft (size_type i) const
 
left_typeleft (size_type i)
 
void clear (bool releaseMem=false)
 
void push_left (const left_type &x)
 
void push_right (const right_type &x)
 
void pop_left ()
 
void pop_right ()
 
void erase_left (left_iterator it)
 
void erase_left_unordered (left_iterator it)
 
void erase_right (right_iterator it)
 
void erase_right_unordered (right_iterator it)
 
void shrink_left (left_iterator it)
 
void shrink_right (right_iterator it)
 

Public Attributes

union
bk_lib::detail::with_inline_buffer::X 
rep_
 
- Public Attributes inherited from bk_lib::detail::left_right_rep< L, R >
typedef left_type
 
typedef left_align_type
 

Additional Inherited Members

- Protected Types inherited from bk_lib::detail::left_right_rep< L, R >
typedef unsigned char buf_type
 
- Protected Member Functions inherited from bk_lib::detail::left_right_rep< L, R >
 left_right_rep (const left_right_rep &)
 
left_right_repoperator= (const left_right_rep &)
 
buf_typebegin ()
 
const buf_typebegin () const
 
buf_typeend ()
 
const buf_typeend () const
 
buf_typeleft ()
 
buf_typeright ()
 
size_type capacity () const
 
size_type raw_size () const
 
void release ()
 
void realloc ()
 
- Protected Attributes inherited from bk_lib::detail::left_right_rep< L, R >
buf_typebuf_
 
size_type cap_: 31
 
size_type free_: 1
 
size_type left_
 
size_type right_
 

Member Typedef Documentation

template<class L , class R , unsigned cap>
typedef left_right_rep<L, R>::align_type bk_lib::detail::with_inline_buffer< L, R, cap >::align_type
template<class L , class R , unsigned cap>
typedef left_right_rep<L, R>::buf_type bk_lib::detail::with_inline_buffer< L, R, cap >::buf_type

Member Enumeration Documentation

template<class L , class R , unsigned cap>
anonymous enum
Enumerator
inline_raw_cap 

Member Function Documentation

template<class L , class R , unsigned cap>
buf_type* bk_lib::detail::with_inline_buffer< L, R, cap >::extra ( )
inline

Member Data Documentation

template<class L , class R , unsigned cap>
union bk_lib::detail::with_inline_buffer::X bk_lib::detail::with_inline_buffer< L, R, cap >::rep_

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