Public Types | Static Public Member Functions | Static Private Attributes | List of all members
art::detail::ServiceNames Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Art/detail/ServiceNames.h"

Public Types

using ServiceNames_bimap_t = boost::bimap< bimaps::set_of< std::string >, bimaps::set_of< std::string >>
 

Static Public Member Functions

static std::string const & libname (std::string const &fclname)
 
static std::string const & fclname (std::string const &libname)
 

Static Private Attributes

static ServiceNames_bimap_t lookup_
 

Detailed Description

Definition at line 29 of file ServiceNames.h.

Member Typedef Documentation

using art::detail::ServiceNames::ServiceNames_bimap_t = boost::bimap<bimaps::set_of<std::string>, bimaps::set_of<std::string>>

Definition at line 32 of file ServiceNames.h.

Member Function Documentation

static std::string const& art::detail::ServiceNames::fclname ( std::string const &  libname)
inlinestatic

Definition at line 42 of file ServiceNames.h.

References it, and lookup_.

43  {
44  auto it = lookup_.right.find(libname);
45  return it == lookup_.right.end() ? libname : it->second;
46  }
static ServiceNames_bimap_t lookup_
Definition: ServiceNames.h:49
set< int >::iterator it
static std::string const & libname(std::string const &fclname)
Definition: ServiceNames.h:35
static std::string const& art::detail::ServiceNames::libname ( std::string const &  fclname)
inlinestatic

Definition at line 35 of file ServiceNames.h.

References it, lookup_, and string.

36  {
37  auto it = lookup_.left.find(fclname);
38  return it == lookup_.left.end() ? fclname : it->second;
39  }
static ServiceNames_bimap_t lookup_
Definition: ServiceNames.h:49
set< int >::iterator it
static std::string const & fclname(std::string const &libname)
Definition: ServiceNames.h:42

Member Data Documentation

ServiceNames_bimap_t art::detail::ServiceNames::lookup_
staticprivate

Definition at line 49 of file ServiceNames.h.

Referenced by fclname(), and libname().


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