Gobelijn API documentation
- generated for commit a0cbea7
|
Namespaces | |
Impl_ | |
Classes | |
class | SegmentedVector |
Container that stores objects "almost contiguously" and guarantees that pointers/iterators are not invalidated when the container grows, either through push_back/emplace_back of elements or resevation of capacity. More... | |
class | SVIterator |
Implementation of iterator for SegmentedVector. More... | |
Typedefs | |
template<typename T > | |
using | CircularIterator = Impl_::CircularIterator< T, typename T::value_type > |
Alias template defines non-const circular iterator. More... | |
template<typename T > | |
using | ConstCircularIterator = Impl_::CircularIterator< T, typename std::add_const< typename T::value_type >::type, typename std::add_const< typename T::value_type >::type *, typename std::add_const< typename T::value_type >::type & > |
Alias template defines const circular iterator. More... | |
Functions | |
template<typename T > | |
CircularIterator< typename T::iterator > | make_circular (T &c) |
Helper produces non-const circular iterator whose range corresponds to the begin and end iterators of a container. More... | |
template<typename T > | |
CircularIterator< typename T::iterator > | make_circular (T &c, typename T::iterator i) |
Helper produces non-const circular iterator whose range corresponds to the begin and end iterators of a container. More... | |
template<typename T > | |
CircularIterator< T > | make_circular (T b, T e, T i) |
Helper produces non-const circular iterator with specified range and initial value. More... | |
template<typename T > | |
CircularIterator< T > | make_circular (T b, T e) |
Helper produces non-const circular iterator with specified range with initial value at start of the range. More... | |
template<typename T > | |
CircularIterator< T > | next (CircularIterator< T > i) |
Helper yields the position the iterator would have if moved forward (in circular fashion) by 1 position. More... | |
template<typename T > | |
CircularIterator< T > | prev (CircularIterator< T > i) |
Helper yields the position the iterator would have if moved backward (in circular fashion) by 1 position. More... | |
template<typename T > | |
ConstCircularIterator < typename T::const_iterator > | make_const_circular (const T &c) |
Helper produces const circular iterator whose range corresponds to the begin and end iterators of a container. More... | |
template<typename T > | |
ConstCircularIterator < typename T::const_iterator > | make_const_circular (const T &c, typename T::const_iterator i) |
Helper produces const circular iterator whose range corresponds to the begin and end iterators of a container. More... | |
template<typename T > | |
ConstCircularIterator< T > | make_const_circular (T b, T e, T i) |
Helper produces non-const circular iterator with specified range and initial value. More... | |
template<typename T > | |
ConstCircularIterator< T > | make_const_circular (T b, T e) |
Helper produces non-const circular iterator with specified range, with initial value at the start of the range. More... | |
template<typename T > | |
ConstCircularIterator< T > | next (ConstCircularIterator< T > c) |
Helper yields the position the iterator would have if moved forward (in circular fashion) by 1 position. More... | |
template<typename T > | |
ConstCircularIterator< T > | prev (ConstCircularIterator< T > c) |
Helper yields the position the iterator would have if moved backward (in circular fashion) by 1 position. More... | |
using UA_CoMP::Container::CircularIterator = typedef Impl_::CircularIterator<T, typename T::value_type> |
Alias template defines non-const circular iterator.
Definition at line 33 of file CircularIterator.h.
using UA_CoMP::Container::ConstCircularIterator = typedef Impl_::CircularIterator<T, typename std::add_const<typename T::value_type>::type, typename std::add_const<typename T::value_type>::type*, typename std::add_const<typename T::value_type>::type&> |
Alias template defines const circular iterator.
Definition at line 36 of file ConstCircularIterator.h.
CircularIterator<typename T::iterator> UA_CoMP::Container::make_circular | ( | T & | c | ) |
Helper produces non-const circular iterator whose range corresponds to the begin and end iterators of a container.
c | container |
Definition at line 42 of file CircularIterator.h.
CircularIterator<typename T::iterator> UA_CoMP::Container::make_circular | ( | T & | c, |
typename T::iterator | i | ||
) |
Helper produces non-const circular iterator whose range corresponds to the begin and end iterators of a container.
c | container |
Definition at line 54 of file CircularIterator.h.
CircularIterator<T> UA_CoMP::Container::make_circular | ( | T | b, |
T | e, | ||
T | i | ||
) |
Helper produces non-const circular iterator with specified range and initial value.
b | iterator pointing to beginning of range |
e | iterator pointing to end of range |
i | initial position of the iterator |
Definition at line 67 of file CircularIterator.h.
CircularIterator<T> UA_CoMP::Container::make_circular | ( | T | b, |
T | e | ||
) |
Helper produces non-const circular iterator with specified range with initial value at start of the range.
b | iterator pointing to beginning of range |
e | iterator pointing to end of range |
Definition at line 79 of file CircularIterator.h.
CircularIterator<T> UA_CoMP::Container::next | ( | CircularIterator< T > | i | ) |
Helper yields the position the iterator would have if moved forward (in circular fashion) by 1 position.
i | current iterator position |
Definition at line 91 of file CircularIterator.h.
CircularIterator<T> UA_CoMP::Container::prev | ( | CircularIterator< T > | i | ) |
Helper yields the position the iterator would have if moved backward (in circular fashion) by 1 position.
i | current iterator position |
Definition at line 104 of file CircularIterator.h.
ConstCircularIterator<typename T::const_iterator> UA_CoMP::Container::make_const_circular | ( | const T & | c | ) |
Helper produces const circular iterator whose range corresponds to the begin and end iterators of a container.
c | container |
Definition at line 45 of file ConstCircularIterator.h.
ConstCircularIterator<typename T::const_iterator> UA_CoMP::Container::make_const_circular | ( | const T & | c, |
typename T::const_iterator | i | ||
) |
Helper produces const circular iterator whose range corresponds to the begin and end iterators of a container.
c | container |
Definition at line 57 of file ConstCircularIterator.h.
ConstCircularIterator<T> UA_CoMP::Container::make_const_circular | ( | T | b, |
T | e, | ||
T | i | ||
) |
Helper produces non-const circular iterator with specified range and initial value.
b | iterator pointing to beginning of range |
e | iterator pointing to end of range |
i | initial position of the iterator |
Definition at line 70 of file ConstCircularIterator.h.
ConstCircularIterator<T> UA_CoMP::Container::make_const_circular | ( | T | b, |
T | e | ||
) |
Helper produces non-const circular iterator with specified range, with initial value at the start of the range.
b | iterator pointing to beginning of range |
e | iterator pointing to end of range |
Definition at line 82 of file ConstCircularIterator.h.
ConstCircularIterator<T> UA_CoMP::Container::next | ( | ConstCircularIterator< T > | c | ) |
Helper yields the position the iterator would have if moved forward (in circular fashion) by 1 position.
i | current iterator position |
Definition at line 94 of file ConstCircularIterator.h.
ConstCircularIterator<T> UA_CoMP::Container::prev | ( | ConstCircularIterator< T > | c | ) |
Helper yields the position the iterator would have if moved backward (in circular fashion) by 1 position.
i | current iterator position |
Definition at line 107 of file ConstCircularIterator.h.