#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/FileParserError.hpp>
|
| static std::string | format_what (const std::string &msg, const std::string &file, unsigned long l) |
◆ file_parser_error() [1/2]
| Slic3r::file_parser_error::file_parser_error |
( |
const std::string & | msg, |
|
|
const std::string & | file, |
|
|
unsigned long | line = 0 ) |
|
inline |
18 :
std::string m_filename
Definition FileParserError.hpp:37
static std::string format_what(const std::string &msg, const std::string &file, unsigned long l)
Definition FileParserError.hpp:41
unsigned long m_line
Definition FileParserError.hpp:38
std::string m_message
Definition FileParserError.hpp:36
unsigned long line() const
Definition FileParserError.hpp:33
References format_what(), line(), m_filename, m_line, and m_message.
◆ file_parser_error() [2/2]
| Slic3r::file_parser_error::file_parser_error |
( |
const std::string & | msg, |
|
|
const boost::filesystem::path & | file, |
|
|
unsigned long | line = 0 ) |
|
inline |
◆ ~file_parser_error()
| Slic3r::file_parser_error::~file_parser_error |
( |
| ) |
|
| throw | ( | ) | | | |
|
inline |
◆ filename()
| std::string Slic3r::file_parser_error::filename |
( |
| ) |
const |
|
inline |
◆ format_what()
| std::string Slic3r::file_parser_error::format_what |
( |
const std::string & | msg, |
|
|
const std::string & | file, |
|
|
unsigned long | l ) |
|
inlinestaticprivate |
42 {
43 std::stringstream stream;
44 stream << (file.empty() ? "<unspecified file>" : file.c_str());
45 if (l > 0)
46 stream << '(' << l << ')';
47 stream << ": " << msg;
48 return stream.str();
49 }
Referenced by file_parser_error(), and file_parser_error().
◆ line()
| unsigned long Slic3r::file_parser_error::line |
( |
| ) |
const |
|
inline |
◆ message()
| std::string Slic3r::file_parser_error::message |
( |
| ) |
const |
|
inline |
◆ m_filename
| std::string Slic3r::file_parser_error::m_filename |
|
private |
◆ m_line
| unsigned long Slic3r::file_parser_error::m_line |
|
private |
◆ m_message
| std::string Slic3r::file_parser_error::m_message |
|
private |
The documentation for this class was generated from the following file: