frepple::CommandReadXMLFile Class Reference
This command is used for reading XML input. The input comes either from a flatfile, or from the standard input. More...
#include <model.h>
Inheritance diagram for frepple::CommandReadXMLFile:

Public Member Functions | |
CommandReadXMLFile (const string &s, bool v=true, bool o=false) | |
CommandReadXMLFile (const char *s=NULL, bool v=true, bool o=false) | |
void | execute () |
string | getFileName () |
bool | getValidate () |
bool | getValidateOnly () |
void | setFileName (const string &v) |
void | setValidate (bool b) |
void | setValidateOnly (bool b) |
Static Public Member Functions | |
static PyObject * | executePython (PyObject *, PyObject *) |
Detailed Description
This command is used for reading XML input. The input comes either from a flatfile, or from the standard input.
The command is not thread-safe: multiple threads can simultaneously access the same objects.
Definition at line 4298 of file model.h.
Constructor & Destructor Documentation
frepple::CommandReadXMLFile::CommandReadXMLFile | ( | const char * | s = NULL , |
|
bool | v = true , |
|||
bool | o = false | |||
) | [inline] |
frepple::CommandReadXMLFile::CommandReadXMLFile | ( | const string & | s, | |
bool | v = true , |
|||
bool | o = false | |||
) | [inline] |
Member Function Documentation
void frepple::CommandReadXMLFile::execute | ( | ) | [virtual] |
The commit action reads the input. If a filename is specified (either in the constructor or with the setFileName function), a flat file is read. Otherwise, the standard input is read.
Implements frepple::utils::Command.
Definition at line 38 of file model/actions.cpp.
PyObject * frepple::CommandReadXMLFile::executePython | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
Python interface for this command.
Definition at line 70 of file model/actions.cpp.
string frepple::CommandReadXMLFile::getFileName | ( | ) | [inline] |
bool frepple::CommandReadXMLFile::getValidate | ( | ) | [inline] |
bool frepple::CommandReadXMLFile::getValidateOnly | ( | ) | [inline] |
void frepple::CommandReadXMLFile::setFileName | ( | const string & | v | ) | [inline] |
void frepple::CommandReadXMLFile::setValidate | ( | bool | b | ) | [inline] |
void frepple::CommandReadXMLFile::setValidateOnly | ( | bool | b | ) | [inline] |
The documentation for this class was generated from the following files:
Documentation generated for frePPLe by
