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

Public Member Functions | List of all members
libcwd::debug_string_ct Class Reference

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

#include <class_debug_string.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

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.

Copyright © 2001 - 2004 Carlo Wood.  All rights reserved.