Donner SVG main
0.8.0 ยท 64d9612f0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::DocumentSaveResult Struct Reference

Detailed outcome from a document save attempt. More...

#include "donner/editor/DocumentSave.h"

Public Member Functions

bool ok () const
 Whether the save completed successfully.

Public Attributes

DocumentSaveStatus status = DocumentSaveStatus::Ok
 Category of the save outcome.
int errorNumber = 0
 Captured operating-system error number, or zero on success.
std::size_t bytesWritten = 0
 Number of source bytes successfully written.
std::string message
 Human-readable diagnostic for the save outcome.

Detailed Description

Detailed outcome from a document save attempt.


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