The Importer class is the abstract class for importers to configure an Engine and its components from different text formats.
More...
#include <Importer.h>
The Importer class is the abstract class for importers to configure an Engine and its components from different text formats.
- Author
- Juan Rada-Vilela, Ph.D.
- See also
- Exporter
- Since
- 4.0
Definition at line 37 of file Importer.h.
◆ Importer()
fl::Importer::Importer |
( |
| ) |
|
◆ ~Importer()
virtual fl::Importer::~Importer |
( |
| ) |
|
|
virtual |
◆ clone()
virtual Importer* fl::Importer::clone |
( |
| ) |
const |
|
pure virtual |
◆ fromFile()
virtual Engine* fl::Importer::fromFile |
( |
const std::string & |
path | ) |
const |
|
virtual |
Imports the engine from the given file.
- Parameters
-
path | is the full path of the file containing the engine to import from |
- Returns
- the engine represented by the file
◆ fromString()
virtual Engine* fl::Importer::fromString |
( |
const std::string & |
text | ) |
const |
|
pure virtual |
◆ name()
virtual std::string fl::Importer::name |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: