|
Claw
1.7.3
|
A class to use dynamic libraries. More...
#include <dynamic_library.hpp>
Public Member Functions | |
| dynamic_library (const std::string &name, bool current_program=false) | |
| Constructor. | |
| ~dynamic_library () | |
| Destructor (close the library). | |
| bool | have_symbol (const std::string &name) const |
| Tell if the library has a symbol. | |
| template<class T > | |
| T | get_symbol (const std::string &name) const |
| Get a symbol in the library. | |
A class to use dynamic libraries.
Definition at line 41 of file dynamic_library.hpp.
| claw::dynamic_library::dynamic_library | ( | const std::string & | name, |
| bool | current_program = false |
||
| ) |
Constructor.
| name | Name of the library to load. |
| current_program | Tell if the name parameter is the current program. |
Definition at line 39 of file dynamic_library.cpp.
| T claw::dynamic_library::get_symbol | ( | const std::string & | name | ) | const |
Get a symbol in the library.
| name | The name of the symbol to get. |
Definition at line 38 of file dynamic_library.tpp.
| bool claw::dynamic_library::have_symbol | ( | const std::string & | name | ) | const |
Tell if the library has a symbol.
| name | The symbol to find. |
Definition at line 65 of file dynamic_library.cpp.
1.8.1.2