OpenStudio:utilities
 AllClasses Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages

#include "StringStreamLogSink.hpp"

Inheritance diagram for openstudio::StringStreamLogSink:

Public Member Functions

std::vector< LogMessagelogMessages () const
void resetStringStream ()
std::string string () const
 StringStreamLogSink ()

Constructor & Destructor Documentation

openstudio::StringStreamLogSink::StringStreamLogSink ( )

constructor makes a new string stream to write to and registers in the global logger

Member Function Documentation

std::vector<LogMessage> openstudio::StringStreamLogSink::logMessages ( ) const

get messages out of the string stream's content

void openstudio::StringStreamLogSink::resetStringStream ( )

reset the string stream's content

std::string openstudio::StringStreamLogSink::string ( ) const

get the string stream's content