#include <Generic.hpp>
Definition at line 148 of file Generic.hpp.
Definition at line 153 of file Generic.hpp.
ObjectFactorySharedPtr mObjectFactoryPtr
virtual torc::generic::EdifImporter::~EdifImporter |
( |
void |
| ) |
|
throw | ( | |
| ) | | |
|
inlinevirtual |
void torc::generic::EdifImporter::operator() |
( |
std::ostream & |
inStream, |
|
|
std::string & |
inName |
|
) |
| |
|
inline |
Definition at line 156 of file Generic.hpp.
159 ParserOptions options;
boost::shared_ptr< Linker > LinkerSharedPtr
void parse(const std::string &inFileName, const RootSharedPtr &outRoot, const LinkerSharedPtr &outLinker, const ObjectFactorySharedPtr &inFactory, const ParserOptions &inOptions)
ObjectFactorySharedPtr mObjectFactoryPtr
Parse a given edif file
- Parameters
-
[in] | inFileName | Name of file to be parsed |
[out] | outRoot | Root to be populated |
[out] | outLinker | Linker to be used for this parse |
[in] | inFactory | Factory object to be used for parsing |
[in] | inOptions | Options to the parser |
Definition at line 40 of file EdifParser.cpp.
44 if(!outRoot || !outLinker || !inFactory) {
48 Driver parserDriver(context);
49 if(
false == parserDriver.parseFile(inFileName)) {
50 throw parserDriver.getParserError();
boost::shared_ptr< EdifContext > EdifContextSharedPtr
Parse a given set of edif files
- Parameters
-
[in] | inFileNames | Names of file to be parsed |
[out] | outRoot | Root to be populated |
[out] | outLinker | Linker to be used for this parse |
[in] | inFactory | Factory object to be used for parsing |
[in] | inOptions | Options to the parser |
Definition at line 55 of file EdifParser.cpp.
58 std::vector<std::string>::const_iterator it = inFileNames.begin();
59 std::vector<std::string>::const_iterator end = inFileNames.end();
61 for(; it != end; ++it) {
62 parse(*it, outRoot, outLinker, inFactory, inOptions);
65 e.setCurrentLocation(__FUNCTION__, __FILE__, __LINE__);
void parse(const std::string &inFileName, const RootSharedPtr &outRoot, const LinkerSharedPtr &outLinker, const ObjectFactorySharedPtr &inFactory, const ParserOptions &inOptions)
The documentation for this class was generated from the following file: