libcwd: The C++ Debugging Support Library - Reference Manual
Author: Carlo Wood
Description: C++ debugging support library with ostream debug output
Keywords: libcwd, debug output, debug facility, debug channel, object orientation, OO, C++, nested debug output, ostream, memory allocation, debugging, source file and line number

Main Page Reference Manual Namespace List Compound List Namespace Members Compound Members File Members

# libcwd::debug_string_ct Class Reference
[Format Of The Debug Output]

A string class used for the debug output margin and marker.This type is used for the public attributes debug_ct::margin and debug_ct::marker of the debug object class. More...

`#include <class_debug_string.h>`

List of all members.

## Public Member Functions
size_t | size (void) const
| The size of the string.
size_t | capacity (void) const
| The capacity of the string.
void | reserve (size_t)
| Reserve memory for the string in advance.
char const * | c_str (void) const
| A zero terminated char const pointer.
void | assign (char const *str, size_t len)
| Assign str with size len to the string.
void | append (char const *str, size_t len)
| Append str with size len to the string.
void | prepend (char const *str, size_t len)
| Prepend str with size len to the string.
void | assign (std::string const &str)
| Assign str to the string.
void | append (std::string const &str)
| Append str to the string.
void | prepend (std::string const &str)
| Prepend str to the string.

## Detailed Description

A string class used for the debug output margin and marker.

This type is used for the public attributes debug_ct::margin and debug_ct::marker of the debug object class.