#include <DynamicLibrary.h>
A handle to a dynamic library. More...
A handle to a dynamic library.
Public Member Functions | |
Handle () | |
Default constructor: invalid handle. More... | |
Handle (const Handle &that) | |
Copy constructor. More... | |
Handle & | operator= (const Handle &other) |
Copy assignment. More... | |
bool | isValid () const |
Check if the handle is valid, i.e. if load() was successful. More... | |
const std::string & | filename () const |
Get the filename of the library. More... | |
Friends | |
class | DynamicLibrary |
sofa::helper::system::DynamicLibrary::Handle::Handle | ( | ) |
Default constructor: invalid handle.
sofa::helper::system::DynamicLibrary::Handle::Handle | ( | const Handle & | that | ) |
Copy constructor.
const std::string & sofa::helper::system::DynamicLibrary::Handle::filename | ( | ) | const |
Get the filename of the library.
bool sofa::helper::system::DynamicLibrary::Handle::isValid | ( | ) | const |
Check if the handle is valid, i.e. if load() was successful.
DynamicLibrary::Handle & sofa::helper::system::DynamicLibrary::Handle::operator= | ( | const Handle & | other | ) |
Copy assignment.
|
friend |