LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
art::detail::ServiceNames Class Reference

#include "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_ = initializeBimap()
 

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 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
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 lookup_.

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
static std::string const & fclname(std::string const &libname)
Definition: ServiceNames.h:42

Member Data Documentation

ServiceNames_bimap_t art::detail::ServiceNames::lookup_ = initializeBimap()
staticprivate

Definition at line 49 of file ServiceNames.h.

Referenced by fclname(), and libname().


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