Private Types |
Private Member Functions |
Static Private Member Functions |
Private Attributes |
List of all members
mn::container::basic_node< T > Class Template Reference
#include <mn_node.hpp>
Collaboration diagram for mn::container::basic_node< T >:
Private Types | |
using | iterator_category = bidirectional_iterator_tag |
using | self_type = basic_node< T > |
using | value_type = T |
using | pointer = value_type * |
using | const_pointer = const pointer |
using | reference = value_type & |
using | const_reference = const reference |
using | iterator = basic_node_itarrator< self_type > |
using | const_iterator = const basic_node_itarrator< const self_type > |
using | reverse_iterator = basic_node_itarrator_res< self_type > |
using | const_reverse_iterator = const basic_node_itarrator_res< const self_type > |
Private Member Functions | |
basic_node (value_type value) | |
Construct a new base node object. More... | |
basic_node (self_type *_pNext, self_type *_pPrev) | |
basic_node (const self_type &_pOther) | |
iterator | begin () |
reverse_iterator | rbegin () |
const_iterator | cbegin () const |
iterator | end () |
reverse_iterator | rend () |
const_iterator | cend () const |
self_type * | root () |
const self_type * | root () const |
self_type * | last () |
const self_type * | last () const |
void | insert (self_type *pNext) |
Inserts this standalone node before the node pNext in pNext's . More... | |
void | remove () |
Removes this node from the it's in. More... | |
bool | is () const |
void | splice (self_type *first, self_type *last) |
Removes [pFirst,pLast) from the it's in and inserts it before this in this node's . More... | |
void | reverse () |
Reverses the order of nodes in the circular this node is a part of. More... | |
void | insert_range (self_type *pFirst, self_type *pFinal) |
Add a range of elements. More... | |
void | swap (self_type &other) |
value_type | get () |
bool | operator== (const self_type &rhs) const |
bool | operator!= (const self_type &rhs) const |
Static Private Member Functions | |
static void | remove_range (self_type *pFirst, self_type *pFinal) |
remove a range of elements More... | |
Private Attributes | |
self_type * | Next |
The pointer to the next node. More... | |
self_type * | Prev |
The pointer to the prev node. More... | |
value_type | m_tValue |
Member Typedef Documentation
◆ const_iterator
template<typename T >
|
private |
◆ const_pointer
template<typename T >
|
private |
◆ const_reference
template<typename T >
|
private |
◆ const_reverse_iterator
template<typename T >
|
private |
◆ iterator
template<typename T >
|
private |
◆ iterator_category
template<typename T >
|
private |
◆ pointer
template<typename T >
|
private |
◆ reference
template<typename T >
|
private |
◆ reverse_iterator
template<typename T >
|
private |
◆ self_type
template<typename T >
|
private |
◆ value_type
template<typename T >
|
private |
Constructor & Destructor Documentation
◆ basic_node() [1/3]
template<typename T >
|
inlineexplicitprivate |
Construct a new base node object.
◆ basic_node() [2/3]
template<typename T >
|
inlineprivate |
◆ basic_node() [3/3]
template<typename T >
|
inlineprivate |
Member Function Documentation
◆ begin()
template<typename T >
|
inlineprivate |
◆ cbegin()
template<typename T >
|
inlineprivate |
◆ cend()
template<typename T >
|
inlineprivate |
◆ end()
template<typename T >
|
inlineprivate |
◆ get()
template<typename T >
|
inlineprivate |
◆ insert()
template<typename T >
|
inlineprivate |
Inserts this standalone node before the node pNext in pNext's .
◆ insert_range()
template<typename T >
|
inlineprivate |
Add a range of elements.
◆ is()
template<typename T >
|
inlineprivate |
◆ last() [1/2]
template<typename T >
|
inlineprivate |
◆ last() [2/2]
template<typename T >
|
inlineprivate |
◆ operator!=()
template<typename T >
|
inlineprivate |
◆ operator==()
template<typename T >
|
inlineprivate |
◆ rbegin()
template<typename T >
|
inlineprivate |
◆ remove()
template<typename T >
|
inlineprivate |
Removes this node from the it's in.
◆ remove_range()
template<typename T >
|
inlinestaticprivate |
remove a range of elements
◆ rend()
template<typename T >
|
inlineprivate |
◆ reverse()
template<typename T >
|
inlineprivate |
Reverses the order of nodes in the circular this node is a part of.
◆ root() [1/2]
template<typename T >
|
inlineprivate |
◆ root() [2/2]
template<typename T >
|
inlineprivate |
◆ splice()
template<typename T >
|
inlineprivate |
Removes [pFirst,pLast) from the it's in and inserts it before this in this node's .
◆ swap()
template<typename T >
|
inlineprivate |
Member Data Documentation
◆ m_tValue
template<typename T >
|
private |
◆ Next
template<typename T >
|
private |
The pointer to the next node.
◆ Prev
template<typename T >
|
private |
The pointer to the prev node.
The documentation for this class was generated from the following file: