clang API Documentation

Public Member Functions
clang::RopePieceBTreeIterator Class Reference

#include <RewriteRope.h>

Inheritance diagram for clang::RopePieceBTreeIterator:
Inheritance graph
[legend]
Collaboration diagram for clang::RopePieceBTreeIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RopePieceBTreeIterator (const void *N)
 RopePieceBTreeIterator ()
char operator* () const
bool operator== (const RopePieceBTreeIterator &RHS) const
bool operator!= (const RopePieceBTreeIterator &RHS) const
RopePieceBTreeIteratoroperator++ ()
RopePieceBTreeIterator operator++ (int)
llvm::StringRef piece () const
void MoveToNextPiece ()

Detailed Description

RopePieceBTreeIterator - This class provides read-only forward iteration over bytes that are in a RopePieceBTree. This first iterates over bytes in a RopePiece, then iterates over RopePiece's in a RopePieceBTreeLeaf, then iterates over RopePieceBTreeLeaf's in a RopePieceBTree.

Definition at line 88 of file RewriteRope.h.


Constructor & Destructor Documentation

Definition at line 666 of file RewriteRope.cpp.

References getCN().

Definition at line 101 of file RewriteRope.h.


Member Function Documentation

Definition at line 688 of file RewriteRope.cpp.

References getCN().

Referenced by operator++(), and clang::RewriteBuffer::write().

bool clang::RopePieceBTreeIterator::operator!= ( const RopePieceBTreeIterator RHS) const [inline]

Definition at line 111 of file RewriteRope.h.

References operator==().

char clang::RopePieceBTreeIterator::operator* ( ) const [inline]

Definition at line 104 of file RewriteRope.h.

RopePieceBTreeIterator& clang::RopePieceBTreeIterator::operator++ ( ) [inline]

Definition at line 115 of file RewriteRope.h.

References MoveToNextPiece(), and clang::RopePiece::size().

RopePieceBTreeIterator clang::RopePieceBTreeIterator::operator++ ( int  ) [inline]

Definition at line 122 of file RewriteRope.h.

bool clang::RopePieceBTreeIterator::operator== ( const RopePieceBTreeIterator RHS) const [inline]

Definition at line 108 of file RewriteRope.h.

Referenced by operator!=().

llvm::StringRef clang::RopePieceBTreeIterator::piece ( ) const [inline]

Definition at line 126 of file RewriteRope.h.

References clang::RopePiece::size().


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