clang API Documentation

Public Types | Public Member Functions
clang::RewriteRope Class Reference

#include <RewriteRope.h>

List of all members.

Public Types

typedef RopePieceBTree::iterator iterator
typedef RopePieceBTree::iterator const_iterator

Public Member Functions

 RewriteRope ()
 RewriteRope (const RewriteRope &RHS)
iterator begin () const
iterator end () const
unsigned size () const
void clear ()
void assign (const char *Start, const char *End)
void insert (unsigned Offset, const char *Start, const char *End)
void erase (unsigned Offset, unsigned NumBytes)

Detailed Description

RewriteRope - A powerful string class. This class supports extremely efficient insertions and deletions into the middle of it, even for ridiculously long strings.

Definition at line 165 of file RewriteRope.h.


Member Typedef Documentation

Definition at line 181 of file RewriteRope.h.

Definition at line 180 of file RewriteRope.h.


Constructor & Destructor Documentation

Definition at line 175 of file RewriteRope.h.

clang::RewriteRope::RewriteRope ( const RewriteRope RHS) [inline]

Definition at line 176 of file RewriteRope.h.


Member Function Documentation

void clang::RewriteRope::assign ( const char *  Start,
const char *  End 
) [inline]

Definition at line 190 of file RewriteRope.h.

References clear(), and clang::RopePieceBTree::insert().

iterator clang::RewriteRope::begin ( ) const [inline]

Definition at line 182 of file RewriteRope.h.

References clang::RopePieceBTree::begin().

Referenced by clang::RewriteBuffer::begin().

void clang::RewriteRope::clear ( ) [inline]

Definition at line 186 of file RewriteRope.h.

References clang::RopePieceBTree::clear().

Referenced by assign().

iterator clang::RewriteRope::end ( ) const [inline]

Definition at line 183 of file RewriteRope.h.

References clang::RopePieceBTree::end().

Referenced by clang::RewriteBuffer::end().

void clang::RewriteRope::erase ( unsigned  Offset,
unsigned  NumBytes 
) [inline]
void clang::RewriteRope::insert ( unsigned  Offset,
const char *  Start,
const char *  End 
) [inline]
unsigned clang::RewriteRope::size ( ) const [inline]

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