Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::_3MF_Base Class Reference
+ Inheritance diagram for Slic3r::_3MF_Base:
+ Collaboration diagram for Slic3r::_3MF_Base:

Public Member Functions

void log_errors ()
 

Protected Member Functions

void add_error (const std::string &error)
 
void clear_errors ()
 

Private Attributes

std::vector< std::string > m_errors
 

Detailed Description

Member Function Documentation

◆ add_error()

void Slic3r::_3MF_Base::add_error ( const std::string &  error)
inlineprotected
305{ m_errors.push_back(error); }
std::vector< std::string > m_errors
Definition 3mf.cpp:302
static char error[256]
Definition tga.cpp:50

References error, and m_errors.

Referenced by Slic3r::_3MF_Importer::_extract_model_from_archive(), and Slic3r::_3MF_Importer::_load_model_from_file().

+ Here is the caller graph for this function:

◆ clear_errors()

void Slic3r::_3MF_Base::clear_errors ( )
inlineprotected
306{ m_errors.clear(); }

References m_errors.

Referenced by Slic3r::_3MF_Importer::load_model_from_file().

+ Here is the caller graph for this function:

◆ log_errors()

void Slic3r::_3MF_Base::log_errors ( )
inline
310 {
311 for (const std::string& error : m_errors)
312 BOOST_LOG_TRIVIAL(error) << error;
313 }

References error, and m_errors.

Referenced by Slic3r::load_3mf(), and Slic3r::store_3mf().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_errors

std::vector<std::string> Slic3r::_3MF_Base::m_errors
private

Referenced by add_error(), clear_errors(), and log_errors().


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