LLVM API Documentation

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
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 486 of file IntervalMap.h.


Constructor & Destructor Documentation

NodeRef - Create a null ref.

Definition at line 496 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 503 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 522 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 499 of file IntervalMap.h.

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

Definition at line 533 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 511 of file IntervalMap.h.

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

Definition at line 508 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: