clingo
|
#include <left_right_sequence.h>
Public Types | |
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 | |
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_type & | left (size_type i) const |
left_type & | left (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 | |
typedef | left_type |
typedef | left_align_type |
Protected Types | |
typedef unsigned char | buf_type |
Protected Member Functions | |
left_right_rep (const left_right_rep &) | |
left_right_rep & | operator= (const left_right_rep &) |
buf_type * | begin () |
const buf_type * | begin () const |
buf_type * | end () |
const buf_type * | end () const |
buf_type * | left () |
buf_type * | right () |
size_type | capacity () const |
size_type | raw_size () const |
void | release () |
void | realloc () |
Protected Attributes | |
buf_type * | buf_ |
size_type | cap_: 31 |
size_type | free_: 1 |
size_type | left_ |
size_type | right_ |
typedef right_align_type ::type bk_lib::detail::left_right_rep< L, R >::align_type |
|
protected |
typedef const L* bk_lib::detail::left_right_rep< L, R >::const_left_iterator |
typedef std::reverse_iterator<const R*> bk_lib::detail::left_right_rep< L, R >::const_right_iterator |
typedef bk_lib::detail::align_of<left_type>::type bk_lib::detail::left_right_rep< L, R >::left_align_type |
typedef L* bk_lib::detail::left_right_rep< L, R >::left_iterator |
typedef L bk_lib::detail::left_right_rep< L, R >::left_type |
typedef right_type ::type bk_lib::detail::left_right_rep< L, R >::max_type |
typedef bk_lib::detail::align_of<right_type>::type bk_lib::detail::left_right_rep< L, R >::right_align_type |
typedef std::reverse_iterator<R*> bk_lib::detail::left_right_rep< L, R >::right_iterator |
typedef R bk_lib::detail::left_right_rep< L, R >::right_type |
typedef unsigned int bk_lib::detail::left_right_rep< L, R >::size_type |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
typedef bk_lib::detail::left_right_rep< L, R >::left_align_type |
typedef bk_lib::detail::left_right_rep< L, R >::left_type |
|
protected |