rutz::string_rep Class Reference

#include <rutz/fstring.h>

Collaboration diagram for rutz::string_rep:

Collaboration graph
[legend]

List of all members.

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_repmake (std::size_t length, const char *text, std::size_t capacity=0)
static string_repread_from_stream (std::istream &is)
static string_repreadsome_from_stream (std::istream &is, unsigned int count)
static string_repreadline_from_stream (std::istream &is, char eol= '\n')


Detailed Description

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.


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

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:34 2008 by Doxygen version 1.5.5.