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

string_array_sink Class Reference

#include <fastformat/sinks/string_array.hpp>

List of all members.


Detailed Description

Sink for translating a statement into an entry in an array of strings.

Public Types

typedef string_array_sink class_type
 This type.

Public Member Functions

 string_array_sink (int fh)
 Constructs from a string array.
 string_array_sink (int fh, char const *delim)
 Constructs from a string array and a delimiter.
class_typewrite (size_t numResults, ff_string_slice_t const *results, int flags)
 Writes the results, according to the given flags.

Member Typedef Documentation

This type.


Constructor & Destructor Documentation

string_array_sink ( int  fh  )  [inline]

Constructs from a string array.

string_array_sink ( int  fh,
char const *  delim 
) [inline]

Constructs from a string array and a delimiter.


Member Function Documentation

class_type& write ( size_t  numResults,
ff_string_slice_t const *  results,
int  flags 
) [inline]

Writes the results, according to the given flags.

References fastformat::fastformat_getNewlineForPlatform(), ff_string_slice_t::len, and ff_string_slice_t::ptr.

Referenced by fastformat::sinks::fmt_slices().


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

FastFormat Library documentation © Matthew Wilson, 2006-2009 SourceForge.net Logo