Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

slice_inserter Class Reference

#include <pantheios/inserters/slice.hpp>

List of all members.


Detailed Description

Class for inserting string slices into Pantheios diagnostic logging statements.

Member Types

typedef slice_inserter class_type

Public Member Functions

Construction
 slice_inserter (pan_char_t const *str, size_t len, pan_char_t const *strName, pan_char_t const *lenName, pan_char_t const *equals, pan_char_t const *separator)
Accessors
pan_char_t const * data () const
 A possibly non-nul-terminated non-null pointer to the c-style string representation of the slice.
pan_char_t const * c_str () const
 A nul-terminated non-null pointer to the c-style string representation of the slice.
size_t length () const
 The length of the c-style string representation of the slice.

Member Function Documentation

pan_char_t const* data (  )  const

A possibly non-nul-terminated non-null pointer to the c-style string representation of the slice.

pan_char_t const* c_str (  )  const

A nul-terminated non-null pointer to the c-style string representation of the slice.

size_t length (  )  const

The length of the c-style string representation of the slice.


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

pantheios Library documentation © Matthew Wilson & Synesis Software, 2006-2011 SourceForge.net Logo