LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | List of all members
llvm::IntervalMapImpl::NodeRef Class Reference

#include <IntervalMap.h>

Public Member Functions

 NodeRef ()
 NodeRef - Create a null ref. More...
 
LLVM_EXPLICIT operator bool () const
 operator bool - Detect a null ref. More...
 
template<typename NodeT >
 NodeRef (NodeT *p, unsigned n)
 NodeRef - Create a reference to the node p with n elements. More...
 
unsigned size () const
 size - Return the number of elements in the referenced node. More...
 
void setSize (unsigned n)
 setSize - Update the node size. More...
 
NodeRefsubtree (unsigned i) const
 
template<typename NodeT >
NodeT & get () const
 get - Dereference as a NodeT reference. More...
 
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

llvm::IntervalMapImpl::NodeRef::NodeRef ( )
inline

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_EXPLICIT llvm::IntervalMapImpl::NodeRef::operator bool ( ) const
inline

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
void llvm::IntervalMapImpl::NodeRef::setSize ( unsigned  n)
inline

setSize - Update the node size.

Definition at line 511 of file IntervalMap.h.

unsigned llvm::IntervalMapImpl::NodeRef::size ( ) const
inline

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().

NodeRef& llvm::IntervalMapImpl::NodeRef::subtree ( unsigned  i) const
inline

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