#include <SofaOStream.h>
a SofaOStream is a std::ostringstream encapsulation that can stream a logging::FileInfo and a logging::Message::Type More...
a SofaOStream is a std::ostringstream encapsulation that can stream a logging::FileInfo and a logging::Message::Type
Protected Attributes | |
std::ostringstream & | m_ostream |
the effective ostringstream More... | |
logging::FileInfo::SPtr | m_fileInfo {helper::logging::EmptyFileInfo} |
the current FileInfo More... | |
logging::Message::Type | m_messageType |
the current Message type More... | |
logging::Message::Class | m_messageClass |
the current Message class More... | |
Public Member Functions | |
SofaOStream (std::ostringstream &os) | |
bool | operator== (const std::ostream &os) |
std::string | str () const |
void | str (const std::string &s) |
std::streamsize | precision () const |
std::streamsize | precision (std::streamsize p) |
std::ostringstream & | ostringstream () const |
const logging::FileInfo::SPtr & | fileInfo () const |
const logging::Message::Type & | messageType () const |
const logging::Message::Class & | messageClass () const |
void | clear () |
clearing the SofaOStream (set empty string, empty FileInfo, default Message type) More... | |
Friends | |
SofaOStream & | operator<< (SofaOStream &out, const logging::FileInfo::SPtr &fi) |
SofaOStream & | operator<< (SofaOStream &out, const logging::Message::Type &mt) |
SofaOStream & | operator<< (SofaOStream &out, const logging::Message::Class &mc) |
template<class T > | |
std::ostringstream & | operator<< (SofaOStream &out, const T &t) |
|
protected |
the current FileInfo
|
protected |
the current Message class
|
protected |
the current Message type
|
protected |
the effective ostringstream
|
inline |
|
inline |
clearing the SofaOStream (set empty string, empty FileInfo, default Message type)
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |