G__FastAllocString Class Reference

#include <FastAllocString.h>

List of all members.

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__FastAllocStringFormat (const char *fmt,...)
G__FastAllocStringFormat (size_t offset, const char *fmt,...)
size_t Capacity () const
G__FastAllocStringoperator= (const G__FastAllocString &s)
G__FastAllocStringoperator= (const char *)
G__FastAllocStringoperator+= (const char *)
G__FastAllocStringSwap (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


Detailed Description

Definition at line 49 of file FastAllocString.h.


Constructor & Destructor Documentation

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


Member Function Documentation

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]

Definition at line 86 of file FastAllocString.h.

References s.

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]


Member Data Documentation

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.


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:25:35 2011 for ROOT_528-00b_version by  doxygen 1.5.1