44 if(!outRoot || !outLinker || !inFactory) {
48 Driver parserDriver(context);
49 if(
false == parserDriver.
parseFile(inFileName)) {
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);
boost::shared_ptr< EdifContext > EdifContextSharedPtr
The Top level parser for parsing EDIF files.
boost::shared_ptr< Linker > LinkerSharedPtr
boost::shared_ptr< ObjectFactory > ObjectFactorySharedPtr
The Error object thrown by different methods of EdifOM.
Error getParserError() const
bool parseFile(const std::string &inFileName)
EdifParser & operator=(const EdifParser &inSource)
boost::shared_ptr< Root > RootSharedPtr
void parse(const std::string &inFileName, const RootSharedPtr &outRoot, const LinkerSharedPtr &outLinker, const ObjectFactorySharedPtr &inFactory, const ParserOptions &inOptions)
void setCurrentLocation(const std::string &inFunction, const std::string &inFile, uint32_t inLine)