#include <opennurbs_error.h>
◆ anonymous enum
anonymous enum : unsigned int |
Enumerator |
---|
MaximumEventCount | |
◆ ON_ErrorLog() [1/2]
ON_ErrorLog::ON_ErrorLog |
( |
| ) |
|
|
default |
◆ ~ON_ErrorLog()
virtual ON_ErrorLog::~ON_ErrorLog |
( |
| ) |
|
|
virtual |
◆ ON_ErrorLog() [2/2]
◆ Append()
virtual unsigned int ON_ErrorLog::Append |
( |
const ON_ErrorEvent & |
error_event | ) |
|
|
virtual |
Parameters: error_event - [in] event to add Returns: 0: Event not added because maximum capacity reached. >0: Number of events after adding error_event.
◆ Clear()
void ON_ErrorLog::Clear |
( |
| ) |
|
◆ Count()
unsigned int ON_ErrorLog::Count |
( |
| ) |
const |
Returns: Total number of error events.
◆ DisableLogging()
void ON_ErrorLog::DisableLogging |
( |
| ) |
|
Description: Stop logging errors to this error log.
◆ Dump()
void ON_ErrorLog::Dump |
( |
class ON_TextLog & |
text_log | ) |
const |
◆ EnableLogging()
bool ON_ErrorLog::EnableLogging |
( |
| ) |
|
Returns: True if up to ON_ErrorLog::MaximumErrorCount error events will be saved in this to this error log. False if another error log is active.
◆ Event()
Parameters: i - [in] zero based event index. Returns Event at specified index or ON_ErrorEvent::Unset if the index is out of range.
◆ operator=()
◆ m_event_count
unsigned int ON_ErrorLog::m_event_count = 0 |
|
protected |
◆ m_events