clang API Documentation
#include <RewriteRope.h>
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) |
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.
Definition at line 181 of file RewriteRope.h.
Definition at line 180 of file RewriteRope.h.
clang::RewriteRope::RewriteRope | ( | ) | [inline] |
Definition at line 175 of file RewriteRope.h.
clang::RewriteRope::RewriteRope | ( | const RewriteRope & | RHS | ) | [inline] |
Definition at line 176 of file RewriteRope.h.
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] |
Definition at line 202 of file RewriteRope.h.
References clang::RopePieceBTree::erase(), and size().
Referenced by clang::RewriteBuffer::RemoveText(), and clang::RewriteBuffer::ReplaceText().
void clang::RewriteRope::insert | ( | unsigned | Offset, |
const char * | Start, | ||
const char * | End | ||
) | [inline] |
Definition at line 196 of file RewriteRope.h.
References clang::RopePieceBTree::insert(), and size().
Referenced by clang::RewriteBuffer::InsertText(), and clang::RewriteBuffer::ReplaceText().
unsigned clang::RewriteRope::size | ( | ) | const [inline] |
Definition at line 184 of file RewriteRope.h.
References clang::RopePieceBTree::size().
Referenced by erase(), insert(), clang::RewriteBuffer::RemoveText(), and clang::RewriteBuffer::size().