Blender
V3.3
|
#include <abc_util.h>
Public Member Functions | |
std::string | str () const |
void | clear () |
std::ostringstream & | stream () |
Utility class whose purpose is to more easily log related information. An instance of the SimpleLogger can be created in any context, and will hold a copy of all the strings passed to its output stream.
Different instances of the class may be accessed from different threads, although accessing the same instance from different threads will lead to race conditions.
Definition at line 120 of file abc_util.h.
void blender::io::alembic::SimpleLogger::clear | ( | ) |
Remove the bits set on the SimpleLogger's stream and clear its string.
Definition at line 222 of file abc_util.cc.
std::string blender::io::alembic::SimpleLogger::str | ( | ) | const |
Return a copy of the string contained in the SimpleLogger's stream.
Definition at line 217 of file abc_util.cc.
Referenced by blender::io::alembic::operator<<().
std::ostringstream & blender::io::alembic::SimpleLogger::stream | ( | ) |
Return a reference to the SimpleLogger's stream, in order to e.g. push content into it.
Definition at line 228 of file abc_util.cc.