#include <rutz/fstring.h>
Public Member Functions | |
void | incr_ref_count () throw () |
int | decr_ref_count () throw () |
std::size_t | length () const throw () |
std::size_t | capacity () const throw () |
const char * | text () const throw () |
void | debug_dump () const throw () |
Static Public Member Functions | |
static string_rep * | make (std::size_t length, const char *text, std::size_t capacity=0) |
static string_rep * | read_from_stream (std::istream &is) |
static string_rep * | readsome_from_stream (std::istream &is, unsigned int count) |
static string_rep * | readline_from_stream (std::istream &is, char eol= '\n') |
string_rep
is a helper class for fstring that handles memory management and reference-counting. string_rep
should not be used by public clients.
Definition at line 56 of file fstring.h.