Feature Selection Toolbox FST4
UTIA · Czech Academy of Sciences
Loading...
Searching...
No Matches

Message accumulator for Search::report() - collects one progress message exactly as an std::ostringstream would, for delivery either to an attached Search_Observer or to the search's output stream. More...

#include <search.hpp>

Public Member Functions

template<class T>
msgbuf & operator<< (const T &t)
 appends t via std::ostringstream's own operator<<, like building any ostream message
msgbuf & operator<< (std::ostream &(*manip)(std::ostream &))
 applies a stream manipulator (std::endl, std::flush) to the accumulator
std::ostream & stream ()
 for legacy print(std::ostream&)-style helpers appending into the message
std::string str () const
 the accumulated message text, as passed to Search_Observer::on_progress()/on_solution()

Private Attributes

std::ostringstream _s
 the underlying accumulator every operator<< overload writes into

Detailed Description

Message accumulator for Search::report() - collects one progress message exactly as an std::ostringstream would, for delivery either to an attached Search_Observer or to the search's output stream.


The documentation for this class was generated from the following file:
Copyright © 2000–present ÚTIA, Institute of Information Theory and Automation of the Czech Academy of Sciences · Contacts · This site sets no cookies and uses no analytics.