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_plugin_name_generator.hpp
Go to the documentation of this file.
1 #ifndef _IRODS_PLUGIN_NAME_GENERATOR_HPP_
2 #define _IRODS_PLUGIN_NAME_GENERATOR_HPP_
3 
4 #include "irods_error.hpp"
5 #include <vector>
6 #include <string>
7 
8 namespace irods {
9 
10  std::string normalize_resource_type(const std::string& resource_type);
11 
16  public:
17 
19  typedef std::vector<std::string> plugin_list_t;
20 
22  plugin_name_generator( void );
23  virtual ~plugin_name_generator( void );
24 
26  virtual error operator()( const std::string& _base_name, const std::string& _dir_name, std::string& _rtn_soname );
27 
29  bool exists( const std::string& _base_name, const std::string& _dir_name );
30 
32  error list_plugins( const std::string& _dir_name, plugin_list_t& _list );
33 
34  private:
36  error generate_plugin_name( const std::string& filename, std::string& _rtn_name );
37 
38  };
39 } // namespace irods
40 
41 #endif // _IRODS_PLUGIN_NAME_GENERATOR_HPP_
irods::normalize_resource_type
std::string normalize_resource_type(const std::string &resource_type)
Definition: irods_plugin_name_generator.cpp:20
irods::plugin_name_generator
Definition: irods_plugin_name_generator.hpp:15
irods::plugin_name_generator::exists
bool exists(const std::string &_base_name, const std::string &_dir_name)
Definition: irods_plugin_name_generator.cpp:68
irods::plugin_name_generator::plugin_list_t
std::vector< std::string > plugin_list_t
Definition: irods_plugin_name_generator.hpp:19
irods
Definition: apiHandler.hpp:35
irods::plugin_name_generator::operator()
virtual error operator()(const std::string &_base_name, const std::string &_dir_name, std::string &_rtn_soname)
Definition: irods_plugin_name_generator.cpp:37
irods::plugin_name_generator::~plugin_name_generator
virtual ~plugin_name_generator(void)
Definition: irods_plugin_name_generator.cpp:33
irods::error
Definition: irods_error.hpp:23
irods::plugin_name_generator::list_plugins
error list_plugins(const std::string &_dir_name, plugin_list_t &_list)
Definition: irods_plugin_name_generator.cpp:87
irods::plugin_name_generator::plugin_name_generator
plugin_name_generator(void)
Definition: irods_plugin_name_generator.cpp:29
irods::plugin_name_generator::generate_plugin_name
error generate_plugin_name(const std::string &filename, std::string &_rtn_name)
Definition: irods_plugin_name_generator.cpp:135
irods_error.hpp