|
libmoost
|


Public Member Functions | |
| dynamic_library_impl (const std::string &library_name, bool resolve_symbols) | |
| ~dynamic_library_impl () | |
| void * | get_symbol_by_name (const std::string &symbol_name) const |
| const std::string & | library_path () const |
| dynamic_library_impl (const std::string &library_name, bool resolve_symbols) | |
| ~dynamic_library_impl () | |
| void * | get_symbol_by_name (const std::string &symbol_name) const |
| const std::string & | library_path () const |
Private Types | |
| typedef void * | library_handle_t |
| typedef HMODULE | library_handle_t |
Private Member Functions | |
| std::string | get_last_error () const |
| bool | is_file_not_found_error (const std::string &error) const |
| DWORD | get_last_error () const |
| std::string | format_error (DWORD error) const |
| bool | is_file_not_found_error (DWORD error) const |
Static Private Member Functions | |
| static library_handle_t | open_library (const std::string &library_name, bool resolve_symbols) |
| static const char * | default_suffix () |
| static library_handle_t | open_library (const std::string &library_name, bool resolve_symbols) |
Private Attributes | |
| std::string | m_library_path |
| library_handle_t | m_library |
Definition at line 9 of file dl_posix.ipp.
typedef HMODULE moost::pdl::dynamic_library_impl::library_handle_t [private] |
Definition at line 20 of file dl_win32.ipp.
typedef void* moost::pdl::dynamic_library_impl::library_handle_t [private] |
Definition at line 24 of file dl_posix.ipp.
| moost::pdl::dynamic_library_impl::dynamic_library_impl | ( | const std::string & | library_name, |
| bool | resolve_symbols | ||
| ) |
Definition at line 101 of file dl_posix.ipp.
| moost::pdl::dynamic_library_impl::dynamic_library_impl | ( | const std::string & | library_name, |
| bool | resolve_symbols | ||
| ) |
| const char * moost::pdl::dynamic_library_impl::default_suffix | ( | ) | [static, private] |
| std::string moost::pdl::dynamic_library_impl::format_error | ( | DWORD | error | ) | const [private] |
Definition at line 104 of file dl_win32.ipp.
| DWORD moost::pdl::dynamic_library_impl::get_last_error | ( | ) | const [private] |
| DWORD moost::pdl::dynamic_library_impl::get_last_error | ( | ) | const [private] |
| void* moost::pdl::dynamic_library_impl::get_symbol_by_name | ( | const std::string & | symbol_name | ) | const [virtual] |
Implements moost::pdl::dynamic_library_if.
| void * moost::pdl::dynamic_library_impl::get_symbol_by_name | ( | const std::string & | symbol_name | ) | const [virtual] |
Implements moost::pdl::dynamic_library_if.
Definition at line 127 of file dl_posix.ipp.
| bool moost::pdl::dynamic_library_impl::is_file_not_found_error | ( | DWORD | error | ) | const [private] |
Definition at line 72 of file dl_win32.ipp.
| bool moost::pdl::dynamic_library_impl::is_file_not_found_error | ( | const std::string & | error | ) | const [private] |
| const std::string& moost::pdl::dynamic_library_impl::library_path | ( | ) | const [inline, virtual] |
Implements moost::pdl::dynamic_library_if.
Definition at line 14 of file dl_win32.ipp.
| const std::string& moost::pdl::dynamic_library_impl::library_path | ( | ) | const [inline, virtual] |
Implements moost::pdl::dynamic_library_if.
Definition at line 18 of file dl_posix.ipp.
| static library_handle_t moost::pdl::dynamic_library_impl::open_library | ( | const std::string & | library_name, |
| bool | resolve_symbols | ||
| ) | [static, private] |
| dynamic_library_impl::library_handle_t moost::pdl::dynamic_library_impl::open_library | ( | const std::string & | library_name, |
| bool | resolve_symbols | ||
| ) | [static, private] |
Definition at line 32 of file dl_posix.ipp.
std::string moost::pdl::dynamic_library_impl::m_library_path [private] |
Definition at line 31 of file dl_posix.ipp.