L4Re - L4 Runtime Environment
cxx::Bits::Base_avl_set< ITEM_TYPE, COMPARE, ALLOC, GET_KEY >::Node Class Reference

A smart pointer to a tree item. More...

+ Collaboration diagram for cxx::Bits::Base_avl_set< ITEM_TYPE, COMPARE, ALLOC, GET_KEY >::Node:

Public Member Functions

 Node ()
 Default construction for NIL pointer.
 
Nodeoperator= (Node const &o)
 Default assignment.
 
Item_type const & operator* ()
 Dereference the pointer. More...
 
Item_type const * operator-> ()
 Dereferenced member access. More...
 
bool valid () const
 Validity check. More...
 
 operator Item_type const * ()
 Cast to a real item pointer.
 

Detailed Description

template<typename ITEM_TYPE, class COMPARE, template< typename A > class ALLOC, typename GET_KEY>
class cxx::Bits::Base_avl_set< ITEM_TYPE, COMPARE, ALLOC, GET_KEY >::Node

A smart pointer to a tree item.

Definition at line 161 of file avl_set.

Member Function Documentation

◆ operator*()

template<typename ITEM_TYPE, class COMPARE, template< typename A > class ALLOC, typename GET_KEY>
Item_type const& cxx::Bits::Base_avl_set< ITEM_TYPE, COMPARE, ALLOC, GET_KEY >::Node::operator* ( )
inline

Dereference the pointer.

Precondition
Node is valid.

Definition at line 181 of file avl_set.

◆ operator->()

template<typename ITEM_TYPE, class COMPARE, template< typename A > class ALLOC, typename GET_KEY>
Item_type const* cxx::Bits::Base_avl_set< ITEM_TYPE, COMPARE, ALLOC, GET_KEY >::Node::operator-> ( )
inline

Dereferenced member access.

Precondition
Node is valid.

Definition at line 187 of file avl_set.

◆ valid()

template<typename ITEM_TYPE, class COMPARE, template< typename A > class ALLOC, typename GET_KEY>
bool cxx::Bits::Base_avl_set< ITEM_TYPE, COMPARE, ALLOC, GET_KEY >::Node::valid ( ) const
inline

Validity check.

Returns
false if the pointer is NIL, true if valid.

Definition at line 193 of file avl_set.


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