LLVM  4.0.0
Protected Member Functions | List of all members
llvm::ilist_node_with_parent< NodeTy, ParentTy, Options > Class Template Reference

An ilist node that can access its parent list. More...

#include <ilist_node.h>

Inheritance diagram for llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >:
[legend]
Collaboration diagram for llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >:
[legend]

Public Member Functions

Adjacent Node Accessors

Get the previous node, or nullptr for the list head.

NodeTy * getPrevNode ()
 
const NodeTy * getPrevNode () const
 Get the previous node, or nullptr for the list head. More...
 
NodeTy * getNextNode ()
 Get the next node, or nullptr for the list tail. More...
 
const NodeTy * getNextNode () const
 Get the next node, or nullptr for the list tail. More...
 
- Public Member Functions inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< NodeTy, Options...>::type >
self_iterator getIterator ()
 
const_self_iterator getIterator () const
 
reverse_self_iterator getReverseIterator ()
 
const_reverse_self_iterator getReverseIterator () const
 
bool isSentinel () const
 Check whether this is the sentinel node. More...
 

Protected Member Functions

 ilist_node_with_parent ()=default
 
- Protected Member Functions inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< NodeTy, Options...>::type >
 ilist_node_impl ()=default
 

Additional Inherited Members

- Protected Types inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< NodeTy, Options...>::type >
typedef ilist_iterator
< ilist_detail::compute_node_options
< NodeTy, Options...>::type,
false, false
self_iterator
 
typedef ilist_iterator
< ilist_detail::compute_node_options
< NodeTy, Options...>::type,
false, true
const_self_iterator
 
typedef ilist_iterator
< ilist_detail::compute_node_options
< NodeTy, Options...>::type,
true, false
reverse_self_iterator
 
typedef ilist_iterator
< ilist_detail::compute_node_options
< NodeTy, Options...>::type,
true, true
const_reverse_self_iterator
 

Detailed Description

template<typename NodeTy, typename ParentTy, class... Options>
class llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >

An ilist node that can access its parent list.

Requires NodeTy to have getParent() to find the parent node, and the ParentTy to have getSublistAccess() to get a reference to the list.

Definition at line 243 of file ilist_node.h.

Constructor & Destructor Documentation

template<typename NodeTy, typename ParentTy, class... Options>
llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::ilist_node_with_parent ( )
protecteddefault

Member Function Documentation

template<typename NodeTy, typename ParentTy, class... Options>
NodeTy* llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::getNextNode ( )
inline
template<typename NodeTy, typename ParentTy, class... Options>
const NodeTy* llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::getNextNode ( ) const
inline

Get the next node, or nullptr for the list tail.

Definition at line 282 of file ilist_node.h.

template<typename NodeTy, typename ParentTy, class... Options>
NodeTy* llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::getPrevNode ( )
inline
template<typename NodeTy, typename ParentTy, class... Options>
const NodeTy* llvm::ilist_node_with_parent< NodeTy, ParentTy, Options >::getPrevNode ( ) const
inline

Get the previous node, or nullptr for the list head.

Definition at line 269 of file ilist_node.h.


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