The Exporter class is the abstract class for exporters to translate an Engine into different formats.
More...
#include <Exporter.h>
|
| | Exporter () |
| |
| virtual | ~Exporter () |
| |
| virtual std::string | toString (const Engine *engine) const =0 |
| | Returns a string representation of the engine. More...
|
| |
| virtual void | toFile (const std::string &path, const Engine *engine) const |
| | Stores the string representation of the engine into the specified file. More...
|
| |
| virtual std::string | name () const =0 |
| | Returns the name of the exporter. More...
|
| |
| virtual Exporter * | clone () const =0 |
| | Creates a clone of the exporter. More...
|
| |
The Exporter class is the abstract class for exporters to translate an Engine into different formats.
- Author
- Juan Rada-Vilela, Ph.D.
- See also
- Importer
- Since
- 4.0
Definition at line 37 of file Exporter.h.
◆ Exporter()
| fl::Exporter::Exporter |
( |
| ) |
|
◆ ~Exporter()
| virtual fl::Exporter::~Exporter |
( |
| ) |
|
|
virtual |
◆ clone()
| virtual Exporter* fl::Exporter::clone |
( |
| ) |
const |
|
pure virtual |
◆ name()
| virtual std::string fl::Exporter::name |
( |
| ) |
const |
|
pure virtual |
◆ toFile()
| virtual void fl::Exporter::toFile |
( |
const std::string & |
path, |
|
|
const Engine * |
engine |
|
) |
| const |
|
virtual |
Stores the string representation of the engine into the specified file.
- Parameters
-
| path | is the full path of the file to export the engine to |
| engine | is the engine to export |
- Exceptions
-
Reimplemented in fl::RScriptExporter.
◆ toString()
| virtual std::string fl::Exporter::toString |
( |
const Engine * |
engine | ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: