Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
DynamicLibrary Class Reference

Detailed Description

Definition at line 32 of file dynamic_library.h.

#include <dynamic_library.h>

Public Member Functions

 DynamicLibrary ()
 ~DynamicLibrary ()
bool TryToLoad (const absl::string_view library_name)
bool LibraryIsLoaded () const
template<typename T>
std::function< T > GetFunction (const char *function_name)
template<typename T>
std::function< T > GetFunction (const std::string &function_name)
template<typename T>
void GetFunction (std::function< T > *function, const char *function_name)
template<typename T>
void GetFunction (std::function< T > *function, const std::string function_name)

Constructor & Destructor Documentation

◆ DynamicLibrary()

DynamicLibrary::DynamicLibrary ( )
inline

Definition at line 34 of file dynamic_library.h.

◆ ~DynamicLibrary()

DynamicLibrary::~DynamicLibrary ( )
inline

Definition at line 36 of file dynamic_library.h.

Member Function Documentation

◆ GetFunction() [1/4]

template<typename T>
std::function< T > DynamicLibrary::GetFunction ( const char * function_name)
inline

Definition at line 61 of file dynamic_library.h.

◆ GetFunction() [2/4]

template<typename T>
std::function< T > DynamicLibrary::GetFunction ( const std::string & function_name)
inline

Definition at line 78 of file dynamic_library.h.

◆ GetFunction() [3/4]

template<typename T>
void DynamicLibrary::GetFunction ( std::function< T > * function,
const char * function_name )
inline

Definition at line 83 of file dynamic_library.h.

◆ GetFunction() [4/4]

template<typename T>
void DynamicLibrary::GetFunction ( std::function< T > * function,
const std::string function_name )
inline

Definition at line 88 of file dynamic_library.h.

◆ LibraryIsLoaded()

bool DynamicLibrary::LibraryIsLoaded ( ) const
inline

Definition at line 58 of file dynamic_library.h.

◆ TryToLoad()

bool DynamicLibrary::TryToLoad ( const absl::string_view library_name)
inline

Definition at line 48 of file dynamic_library.h.


The documentation for this class was generated from the following file: