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

vectored_file_sink Class Reference

#include <fastformat/sinks/vectored_file.hpp>

List of all members.


Detailed Description

Sink for translating a statement into iovec instructions.

Public Types

typedef vectored_file_sink class_type
 This type.

Public Member Functions

 vectored_file_sink (int fh)
 Constructs from a file handle.
 vectored_file_sink (int fh, char const *delim)
 Constructs from a file handle and a delimiter.
class_typewrite (size_t numResults, ff_string_slice_t const *results, int flags)
 Outputs the results, according to the given flags.

Member Typedef Documentation

This type.


Constructor & Destructor Documentation

vectored_file_sink ( int  fh  )  [inline, explicit]

Constructs from a file handle.

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

Constructs from a file handle and a delimiter.


Member Function Documentation

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

Outputs 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