44 int main(
int argc,
char *argv[])
53 session = LibUtilities::SessionReader::CreateInstance(argc, argv);
56 session->LoadSolverInfo(
"Driver", vDriverModule,
"Standard");
65 catch (
const std::runtime_error&)
69 catch (
const std::string& eStr)
71 cout <<
"Error: " << eStr << endl;
boost::shared_ptr< Driver > DriverSharedPtr
A shared pointer to a Driver object.
tBaseSharedPtr CreateInstance(tKey idKey BOOST_PP_COMMA_IF(MAX_PARAM) BOOST_PP_ENUM_BINARY_PARAMS(MAX_PARAM, tParam, x))
Create an instance of the class referred to by idKey.
int main(int argc, char *argv[])
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
DriverFactory & GetDriverFactory()