ELC in dev
ELC-lang
载入中...
搜索中...
未找到
elc::defs::package_symbol_loader_n::package_symbol_loader_t结构体 参考

Public 成员函数

 package_symbol_loader_t () noexcept
 
 ~package_symbol_loader_t () noexcept=default
 
ptr load_symbol (string lib_name, size_t lib_ver, string symbol_name) noexcept
 
ptr get_load_error () noexcept
 

Public 属性

library_handle_t package_symbol_loader_handle
 
function_t< ptr(string lib_name, size_t lib_ver, string symbol_name) noexcept > load_interface
 
function_t< ptr() noexcept > load_error_interface
 

详细描述

在文件 all_defs.cpp56218 行定义.

构造及析构函数说明

◆ package_symbol_loader_t()

elc::defs::package_symbol_loader_n::package_symbol_loader_t::package_symbol_loader_t ( )
inlinenoexcept

在文件 all_defs.cpp56223 行定义.

56223 {
56225 load_interface = package_symbol_loader_handle->get_symbol_as_function<ptr(string lib_name,size_t lib_ver,string symbol_name)noexcept>(es"load_interface");
56226 load_error_interface = package_symbol_loader_handle->get_symbol_as_function<ptr()noexcept>(es"load_error_interface");
56227 }
56228 else
56229 die_with(locale::str::package_symbol_loader::load_failed);
56231 die_with(locale::str::package_symbol_loader::load_interface_failed);
56232 }
else
#define es
Definition all_defs.cpp:680
constexpr T down_cast(U a) noexcept
向下转型至
comn_ptr_t< node_like > ptr
library_handle_t load_lib(string lib_name) noexcept
string package_symbol_loader_path
function_t< ptr(string lib_name, size_t lib_ver, string symbol_name) noexcept > load_interface

◆ ~package_symbol_loader_t()

elc::defs::package_symbol_loader_n::package_symbol_loader_t::~package_symbol_loader_t ( )
defaultnoexcept

成员函数说明

◆ get_load_error()

ptr elc::defs::package_symbol_loader_n::package_symbol_loader_t::get_load_error ( )
inlinenoexcept

在文件 all_defs.cpp56238 行定义.

56238 {
56239 return load_error_interface();
56240 }

◆ load_symbol()

ptr elc::defs::package_symbol_loader_n::package_symbol_loader_t::load_symbol ( string  lib_name,
size_t  lib_ver,
string  symbol_name 
)
inlinenoexcept

在文件 all_defs.cpp56235 行定义.

56235 {
56237 }

类成员变量说明

◆ load_error_interface

function_t<ptr()noexcept> elc::defs::package_symbol_loader_n::package_symbol_loader_t::load_error_interface

在文件 all_defs.cpp56221 行定义.

◆ load_interface

function_t<ptr(string lib_name, size_t lib_ver, string symbol_name)noexcept> elc::defs::package_symbol_loader_n::package_symbol_loader_t::load_interface

在文件 all_defs.cpp56220 行定义.

◆ package_symbol_loader_handle

library_handle_t elc::defs::package_symbol_loader_n::package_symbol_loader_t::package_symbol_loader_handle

在文件 all_defs.cpp56219 行定义.


该结构体的文档由以下文件生成: