OKlibrary  0.2.1.6
OKlib::Parallelism::Counting_and_writing Class Reference

Constructed with a total count and an output-filestream. More...

List of all members.

Public Member Functions

 Counting_and_writing (const unsigned int count, std::ofstream &file)
void operator() () const

Detailed Description

Constructed with a total count and an output-filestream.

Member-function operator() then counts up to the total count, writing each iteration value to the filestream via write_number

Definition at line 71 of file demo_Example_12_1.cpp.


Constructor & Destructor Documentation

OKlib::Parallelism::Counting_and_writing::Counting_and_writing ( const unsigned int  count,
std::ofstream &  file 
) [inline]

Definition at line 75 of file demo_Example_12_1.cpp.


Member Function Documentation

void OKlib::Parallelism::Counting_and_writing::operator() ( ) const [inline]

Definition at line 76 of file demo_Example_12_1.cpp.

References OKlib::Parallelism::write_number().


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