Skip to content

This library provides a convenient and multi-platform shell to load dynamic libraries explicitly in C++

Notifications You must be signed in to change notification settings

Andrewkoro105/open-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenLib

This library provides a convenient and multi-platform shell to load dynamic libraries explicitly in C++

API documentation

Class: DL

metod description
DL(const std::filesystem::path& path, std::vectorstd::string sims = {}, bool allLoad = false) the library specified in the path will be loaded (an extension will automatically be added depending on the system), then all symbolic links from sims will be placed in the database
template<typename T = void*>
T getSim(std::string simStr)
If this symbolic link is not in the database, it will be loaded from the file, saved to the database and returned from the
template<typename T = void*>
T getSimFromDB(std::string simStr)
method returns a symbolic link from the database
template<typename T = void*>
T getSimFromLib(std::string simStr)
method returns a symbolic reference from the library

About

This library provides a convenient and multi-platform shell to load dynamic libraries explicitly in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published