#include <FastAllocString.h>
Public Member Functions | |
| G__FastAllocString (int reqsize=1024) | |
| G__FastAllocString (const char *s) | |
| G__FastAllocString (const G__FastAllocString &) | |
| ~G__FastAllocString () | |
| operator char * () | |
| operator const char * () const | |
| const char * | operator() () const |
| const char * | data () const |
| int | FormatArgList (const char *fmt, va_list args) |
| int | FormatArgList (size_t offset, const char *fmt, va_list args) |
| G__FastAllocString & | Format (const char *fmt,...) |
| G__FastAllocString & | Format (size_t offset, const char *fmt,...) |
| size_t | Capacity () const |
| G__FastAllocString & | operator= (const G__FastAllocString &s) |
| G__FastAllocString & | operator= (const char *) |
| G__FastAllocString & | operator+= (const char *) |
| G__FastAllocString & | Swap (G__FastAllocString &) |
| void | Resize (size_t cap) |
| void | Set (size_t pos, char c) |
| void | Replace (size_t where, const char *replacement) |
Protected Member Functions | |
| void | ResizeToBucketNoCopy (int newbucket) |
| void | ResizeNoCopy (size_t cap) |
Static Protected Member Functions | |
| static char * | GetBuf (size_t &size) |
Private Attributes | |
| char * | fBuf |
| size_t | fCapacity |
Definition at line 49 of file FastAllocString.h.
| G__FastAllocString::G__FastAllocString | ( | int | reqsize = 1024 |
) | [inline] |
Definition at line 55 of file FastAllocString.h.
| G__FastAllocString::G__FastAllocString | ( | const char * | s | ) |
| G__FastAllocString::G__FastAllocString | ( | const G__FastAllocString & | ) |
| G__FastAllocString::~G__FastAllocString | ( | ) |
| G__FastAllocString::operator char * | ( | ) | [inline] |
Definition at line 67 of file FastAllocString.h.
| G__FastAllocString::operator const char * | ( | ) | const [inline] |
Definition at line 68 of file FastAllocString.h.
| const char* G__FastAllocString::operator() | ( | ) | const [inline] |
Definition at line 69 of file FastAllocString.h.
| const char* G__FastAllocString::data | ( | ) | const [inline] |
Definition at line 77 of file FastAllocString.h.
| int G__FastAllocString::FormatArgList | ( | const char * | fmt, | |
| va_list | args | |||
| ) |
| int G__FastAllocString::FormatArgList | ( | size_t | offset, | |
| const char * | fmt, | |||
| va_list | args | |||
| ) |
| G__FastAllocString& G__FastAllocString::Format | ( | const char * | fmt, | |
| ... | ||||
| ) |
| G__FastAllocString& G__FastAllocString::Format | ( | size_t | offset, | |
| const char * | fmt, | |||
| ... | ||||
| ) |
| size_t G__FastAllocString::Capacity | ( | ) | const [inline] |
Definition at line 84 of file FastAllocString.h.
| G__FastAllocString& G__FastAllocString::operator= | ( | const G__FastAllocString & | s | ) | [inline] |
| G__FastAllocString& G__FastAllocString::operator= | ( | const char * | ) |
| G__FastAllocString& G__FastAllocString::operator+= | ( | const char * | ) |
| G__FastAllocString& G__FastAllocString::Swap | ( | G__FastAllocString & | ) |
| void G__FastAllocString::Resize | ( | size_t | cap | ) |
| void G__FastAllocString::Set | ( | size_t | pos, | |
| char | c | |||
| ) | [inline] |
Definition at line 96 of file FastAllocString.h.
| void G__FastAllocString::Replace | ( | size_t | where, | |
| const char * | replacement | |||
| ) |
| static char* G__FastAllocString::GetBuf | ( | size_t & | size | ) | [static, protected] |
| void G__FastAllocString::ResizeToBucketNoCopy | ( | int | newbucket | ) | [protected] |
| void G__FastAllocString::ResizeNoCopy | ( | size_t | cap | ) | [protected] |
char* G__FastAllocString::fBuf [private] |
Definition at line 120 of file FastAllocString.h.
size_t G__FastAllocString::fCapacity [private] |
Definition at line 121 of file FastAllocString.h.
1.5.1