doxygen
Public Member Functions | List of all members
GrowBuf Class Reference

Class representing a string buffer optimised for growing. More...

#include <growbuf.h>

Public Member Functions

 GrowBuf (size_t initialSize)
 
 GrowBuf (const GrowBuf &other)
 
GrowBufoperator= (const GrowBuf &other)
 
 GrowBuf (GrowBuf &&other)
 
GrowBufoperator= (GrowBuf &&other)
 
void reserve (size_t size)
 
void clear ()
 
void addChar (char c)
 
void addStr (const QCString &s)
 
void addStr (const std::string &s)
 
void addStr (const char *s)
 
void addStr (const char *s, size_t n)
 
void addInt (const char *fmt, int value)
 
char * get ()
 
const char * get () const
 
size_t getPos () const
 
void setPos (size_t newPos)
 
const char & at (size_t i) const
 
bool empty () const
 

Detailed Description

Class representing a string buffer optimised for growing.


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