"Fossies" - the Fresh Open Source Software Archive

Member "irods-4.2.8/plugins/api/include/api_plugin_number_map.hpp" (14 May 2020, 413 Bytes) of package /linux/misc/irods-4.2.8.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "api_plugin_number_map.hpp" see the Fossies "Dox" file reference documentation.

    1 #ifndef IRODS_API_PLUGIN_NUMBER_MAP_HPP
    2 #define IRODS_API_PLUGIN_NUMBER_MAP_HPP
    3 
    4 #include <string>
    5 #include <unordered_map>
    6 
    7 #define API_PLUGIN_NUMBER(NAME, VALUE) {VALUE, #NAME},
    8 
    9 namespace irods
   10 {
   11     const std::unordered_map<int, std::string> api_plugin_number_names{
   12         #include "api_plugin_number_data.h"
   13     };
   14 } // namespace irods
   15 
   16 #undef API_PLUGIN_NUMBER
   17 
   18 #endif // IRODS_API_PLUGIN_NUMBER_MAP_HPP
   19