Kitlist
A list manager for maintaining kit lists
Loading...
Searching...
No Matches
XmlWriter Class Reference

Saves the Model in XML format to a file. More...

#include "xml_writer.hpp"

Static Public Member Functions

static bool save_file (const std::string &filename, const Model &model)
 Saves the Model in XML format to the specified file.

Detailed Description

Saves the Model in XML format to a file.

The file is an XML structured file described by kitlist.dtd which is included in the source distribution tarball.

Definition at line 37 of file xml_writer.hpp.

Member Function Documentation

◆ save_file()

bool XmlWriter::save_file ( const std::string & filename,
const Model & model )
static

Saves the Model in XML format to the specified file.

Parameters
filenameThe full path to the file to save.
modelThe data Model instance to save.
Returns
true if the file was successfully saved.

Definition at line 29 of file xml_writer.cpp.


The documentation for this class was generated from the following files:
Copyright 2008-2025 Frank Dean