irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods::api_entry_table Class Reference

#include <apiHandler.hpp>

Inheritance diagram for irods::api_entry_table:
[legend]
Collaboration diagram for irods::api_entry_table:
[legend]

Public Member Functions

 api_entry_table (apidef_t defs[], size_t size)
 
auto is_plugin_loaded (std::string_view plugin_name) -> bool
 
auto mark_plugin_as_loaded (std::string_view plugin_name) -> void
 
- Public Member Functions inherited from irods::lookup_table< api_entry_ptr, size_t, boost::hash< size_t > >
 lookup_table ()
 
 lookup_table ()
 
virtual ~lookup_table ()
 
 ~lookup_table ()
 
api_entry_ptroperator[] (size_t _k)
 
int size () const
 
bool has_entry (size_t _k) const
 
size_t erase (size_t _k)
 
void clear ()
 
bool empty () const
 
iterator begin ()
 
iterator end ()
 
iterator cbegin ()
 
iterator cend ()
 
iterator find (size_t _k)
 
error get (const std::string &_key, api_entry_ptr &_val)
 
error set (const std::string &_key, const api_entry_ptr &_val)
 

Private Attributes

std::vector< std::string > loaded_plugins_
 

Additional Inherited Members

- Public Types inherited from irods::lookup_table< api_entry_ptr, size_t, boost::hash< size_t > >
typedef irods_hash_map::iterator iterator
 
typedef irods_hash_map::const_iterator const_iterator
 
- Protected Types inherited from irods::lookup_table< api_entry_ptr, size_t, boost::hash< size_t > >
typedef boost::unordered_map< size_t, api_entry_ptr, boost::hash< size_t > > irods_hash_map
 
- Protected Attributes inherited from irods::lookup_table< api_entry_ptr, size_t, boost::hash< size_t > >
irods_hash_map table_
 

Detailed Description

=-=-=-=-=-=-=-

Description:\n class which will hold statically compiled and dynamically loaded api handles

Definition at line 351 of file apiHandler.hpp.

Constructor & Destructor Documentation

◆ api_entry_table()

irods::api_entry_table::api_entry_table ( apidef_t  defs[],
size_t  num 
)

Definition at line 80 of file apiHandler.cpp.

Member Function Documentation

◆ is_plugin_loaded()

auto irods::api_entry_table::is_plugin_loaded ( std::string_view  plugin_name) -> bool

Definition at line 88 of file apiHandler.cpp.

References irods::experimental::filesystem::client::end().

Referenced by irods::init_api_table().

Here is the call graph for this function:

◆ mark_plugin_as_loaded()

auto irods::api_entry_table::mark_plugin_as_loaded ( std::string_view  plugin_name) -> void

Definition at line 94 of file apiHandler.cpp.

Referenced by irods::init_api_table().

Member Data Documentation

◆ loaded_plugins_

std::vector<std::string> irods::api_entry_table::loaded_plugins_
private

Definition at line 361 of file apiHandler.hpp.


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