Blender  V3.3
Public Member Functions | List of all members
blender::io::alembic::SimpleLogger Class Reference

#include <abc_util.h>

Public Member Functions

std::string str () const
 
void clear ()
 
std::ostringstream & stream ()
 

Detailed Description

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.

Member Function Documentation

◆ clear()

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.

◆ str()

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<<().

◆ stream()

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.


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