libcwdversion 2.0.0
The C++ Debugging Support Library
Loading...
Searching...
No Matches
libcwd::DebugString Class Reference

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

#include <DebugString.h>

Public Member Functions

size_t size () const
 The size of the string.
size_t capacity () const
 The capacity of the string.
void reserve (size_t)
 Reserve memory for the string in advance.
char const * c_str () 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

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


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