2#ifndef CYCLUS_SRC_WINDOWS_HELPER_FUNCTIONS_H_
3#define CYCLUS_SRC_WINDOWS_HELPER_FUNCTIONS_H_
13void DynamicModule::OpenLibrary() {
16 if (!module_library_) {
17 std::string
err_msg =
"Unable to load agent shared object file: ";
25void DynamicModule::SetConstructor() {
31 std::string agent = ctor_name_;
33 ss <<
"Could not find agent " << agent <<
" in module library "
35 throw IOError(
ss.str());
40void DynamicModule::CloseLibrary() {
41 if (module_library_) {
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....
Agent * AgentCtor(Context *)
T OptionalQuery(InfileTree *tree, std::string query, T default_val)
a query method for optional parameters