51 }
catch (
const std::filesystem::filesystem_error& e) {
Exception throw when a file is not found.
KitListBaseApp()
Default constructor.
std::string filename
The current filename the Model was loaded from.
virtual void load_file(const std::string &filename)
Loads the specified file.
bool initialized
Indicates that the application has finished it's initialization stage.
std::unique_ptr< Model > model
The application's data model.
static const std::string DEFAULT_FILE_EXTENSION
The application's default filename extension. .kit.
virtual ~KitListBaseApp()
Destructor.
Loads a kitlist from the file system.
std::unique_ptr< Model > parse()
Parses the XML, building the data Model.