GraphLab: Distributed Graph-Parallel API  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
graphlab::char_counting_sink Struct Reference

#include <graphlab/util/char_counting_sink.hpp>

List of all members.

Public Types

typedef char char_type

Public Member Functions

 char_counting_sink (size_t initial=0)
 char_counting_sink (const char_counting_sink &buf)
std::streamsize optimal_buffer_size () const
std::streamsize write (const char *s, std::streamsize n)

Public Attributes

size_t count

Detailed Description

A boost sink device which counts the number of characters written

Definition at line 35 of file char_counting_sink.hpp.


Member Function Documentation

std::streamsize graphlab::char_counting_sink::optimal_buffer_size ( ) const
inline

the optimal buffer size is 0.

Definition at line 47 of file char_counting_sink.hpp.


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