List of all members.
Detailed Description
This command writes the complete model to an XML-file.
Both the static model (i.e. items, locations, buffers, resources, calendars, etc...) and the dynamic data (i.e. the actual plan including the operationplans, demand, problems, etc...).
The format is such that the output file can be re-read to restore the very same model.
The data is written by the execute() function.
- See also:
- CommandSavePlan
Definition at line 4342 of file model.h.
Constructor & Destructor Documentation
frepple::CommandSave::CommandSave |
( |
const string & |
v = "plan.out" |
) |
[inline] |
virtual frepple::CommandSave::~CommandSave |
( |
|
) |
[inline, virtual] |
Member Function Documentation
void frepple::CommandSave::execute |
( |
|
) |
[virtual] |
PyObject * frepple::CommandSave::executePython |
( |
PyObject * |
self, |
|
|
PyObject * |
args | |
|
) |
| | [static] |
Return the type of output.
Definition at line 4365 of file model.h.
string frepple::CommandSave::getFileName |
( |
|
) |
const [inline] |
Return the name of the output file.
Definition at line 4353 of file model.h.
string frepple::CommandSave::getHeaderAtts |
( |
|
) |
const [inline] |
Returns the attributes that are written for the root element of each XML document.
Definition at line 4391 of file model.h.
string frepple::CommandSave::getHeaderStart |
( |
|
) |
const [inline] |
Returns the string that is printed as the first line of each XML document.
Definition at line 4381 of file model.h.
Update the type of output.
- See also:
- XMLOutput::content_type
Definition at line 4370 of file model.h.
void frepple::CommandSave::setFileName |
( |
const string & |
v |
) |
[inline] |
Update the name of the output file.
Definition at line 4356 of file model.h.
void frepple::CommandSave::setHeaderAtts |
( |
const string & |
s |
) |
[inline] |
Updates the attributes that are written for the root element of each XML document.
The default value is an empty string.
Definition at line 4387 of file model.h.
void frepple::CommandSave::setHeaderStart |
( |
const string & |
s |
) |
[inline] |
Updates the string that is printed as the first line of each XML document.
The default value is: <?xml version="1.0" encoding="UTF-8"?>
Definition at line 4377 of file model.h.
The documentation for this class was generated from the following files: