LLVM  mainline
Classes | Public Member Functions
llvm::IntervalMapImpl::NodeRef Class Reference

#include <IntervalMap.h>

List of all members.

Classes

struct  CacheAlignedPointerTraits

Public Member Functions

 NodeRef ()
 NodeRef - Create a null ref.
 operator bool () const
 operator bool - Detect a null ref.
template<typename NodeT >
 NodeRef (NodeT *p, unsigned n)
 NodeRef - Create a reference to the node p with n elements.
unsigned size () const
 size - Return the number of elements in the referenced node.
void setSize (unsigned n)
 setSize - Update the node size.
NodeRefsubtree (unsigned i) const
 subtree - Access the i'th subtree reference in a branch node.
template<typename NodeT >
NodeT & get () const
 get - Dereference as a NodeT reference.
bool operator== (const NodeRef &RHS) const
bool operator!= (const NodeRef &RHS) const

Detailed Description

Definition at line 487 of file IntervalMap.h.


Constructor & Destructor Documentation

NodeRef - Create a null ref.

Definition at line 497 of file IntervalMap.h.

template<typename NodeT >
llvm::IntervalMapImpl::NodeRef::NodeRef ( NodeT *  p,
unsigned  n 
) [inline]

NodeRef - Create a reference to the node p with n elements.

Definition at line 504 of file IntervalMap.h.


Member Function Documentation

template<typename NodeT >
NodeT& llvm::IntervalMapImpl::NodeRef::get ( ) const [inline]

get - Dereference as a NodeT reference.

Definition at line 523 of file IntervalMap.h.

Referenced by llvm::IntervalMap< KeyT, ValT, N, Traits >::const_iterator::pathFillFind().

llvm::IntervalMapImpl::NodeRef::operator bool ( ) const [inline, explicit]

operator bool - Detect a null ref.

Definition at line 500 of file IntervalMap.h.

bool llvm::IntervalMapImpl::NodeRef::operator!= ( const NodeRef RHS) const [inline]

Definition at line 534 of file IntervalMap.h.

References llvm::operator==().

bool llvm::IntervalMapImpl::NodeRef::operator== ( const NodeRef RHS) const [inline]

setSize - Update the node size.

Definition at line 512 of file IntervalMap.h.

size - Return the number of elements in the referenced node.

Definition at line 509 of file IntervalMap.h.

Referenced by llvm::IntervalMapImpl::Path::getLeftSibling(), and llvm::IntervalMapImpl::Path::moveLeft().


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