w_ostrstream Class Reference

Inherits ostrstream.

Inherited by logstream, and w_ostrstream_buf.

Inheritance diagram for w_ostrstream:

Inheritance graph
[legend]
List of all members.

Detailed Description

Output string stream based on shore_compat::ostrstream.
Examples:

create_rec.cpp, init_config_options.cpp, log_exceed.cpp, sort_stream.cpp, startstop.cpp, and vtable_example.cpp.

Definition at line 124 of file w_strstream.h.

Public Member Functions

 w_ostrstream ()
 Construct w/o any length limit.
 w_ostrstream (char *s, size_t l)
 Construct with given limit.
 ~w_ostrstream ()
const char * c_str ()
 Return a pointer to nul-terminated output string.
const char * data ()
 Return a pointer to buffer.
const char * new_c_str ()


Member Function Documentation

const char* w_ostrstream::new_c_str (  )  [inline]

Return a pointer to copy of nul-terminated string. Delegates responsibility for freeing to the caller.

Definition at line 177 of file w_strstream.h.

References c_str().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Wed Jul 7 17:22:43 2010 for Shore Storage Manager by  doxygen 1.4.7