LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::detail::LibraryInfo Class Reference

#include "LibraryInfo.h"

Public Member Functions

 LibraryInfo (std::string const &so, spec_pair_t const &specs, std::string const &path, std::unique_ptr< fhicl::ConfigurationTable > &&config, std::string const &prov, std::string const &pt)
 
bool operator< (LibraryInfo const &li) const
 
std::string const & so_name () const
 
std::string const & short_spec () const
 
std::string const & long_spec () const
 
std::string const & path () const
 
cet::exempt_ptr< fhicl::ConfigurationTable const > allowed_config () const
 
std::string const & provider () const
 
std::string const & plugin_type () const
 

Private Types

using spec_pair_t = std::pair< std::string, std::string >
 

Private Attributes

std::string soName_
 
spec_pair_t specs_
 
std::string path_
 
std::unique_ptr< fhicl::ConfigurationTableallowedConfig_
 
std::string provider_
 
std::string pluginType_
 

Detailed Description

Definition at line 12 of file LibraryInfo.h.

Member Typedef Documentation

using art::detail::LibraryInfo::spec_pair_t = std::pair<std::string, std::string>
private

Definition at line 14 of file LibraryInfo.h.

Constructor & Destructor Documentation

art::detail::LibraryInfo::LibraryInfo ( std::string const &  so,
spec_pair_t const &  specs,
std::string const &  path,
std::unique_ptr< fhicl::ConfigurationTable > &&  config,
std::string const &  prov,
std::string const &  pt 
)
inline

Definition at line 17 of file LibraryInfo.h.

References allowedConfig_, path(), path_, pluginType_, provider_, pt, and specs_.

23  : soName_{so}
24  , specs_{specs}
25  , path_{path}
26  , allowedConfig_{std::move(config)}
27  , provider_{prov}
28  , pluginType_{pt}
29  {}
TMarker * pt
Definition: egs.C:25
std::unique_ptr< fhicl::ConfigurationTable > allowedConfig_
Definition: LibraryInfo.h:77
std::string const & path() const
Definition: LibraryInfo.h:53

Member Function Documentation

cet::exempt_ptr<fhicl::ConfigurationTable const> art::detail::LibraryInfo::allowed_config ( ) const
inline

Definition at line 58 of file LibraryInfo.h.

References allowedConfig_.

59  {
60  return allowedConfig_.get();
61  }
std::unique_ptr< fhicl::ConfigurationTable > allowedConfig_
Definition: LibraryInfo.h:77
std::string const& art::detail::LibraryInfo::long_spec ( ) const
inline

Definition at line 48 of file LibraryInfo.h.

References specs_.

49  {
50  return specs_.second;
51  }
bool art::detail::LibraryInfo::operator< ( LibraryInfo const &  li) const
inline

Definition at line 32 of file LibraryInfo.h.

References short_spec().

33  {
34  return this->short_spec() < li.short_spec();
35  }
std::string const & short_spec() const
Definition: LibraryInfo.h:43
std::string const& art::detail::LibraryInfo::path ( ) const
inline

Definition at line 53 of file LibraryInfo.h.

References path_.

Referenced by LibraryInfo().

54  {
55  return path_;
56  }
std::string const& art::detail::LibraryInfo::plugin_type ( ) const
inline

Definition at line 68 of file LibraryInfo.h.

References pluginType_.

69  {
70  return pluginType_;
71  }
std::string const& art::detail::LibraryInfo::provider ( ) const
inline

Definition at line 63 of file LibraryInfo.h.

References provider_.

64  {
65  return provider_;
66  }
std::string const& art::detail::LibraryInfo::short_spec ( ) const
inline

Definition at line 43 of file LibraryInfo.h.

References specs_.

Referenced by art::detail::LibraryInfoMatch::operator()(), and operator<().

44  {
45  return specs_.first;
46  }
std::string const& art::detail::LibraryInfo::so_name ( ) const
inline

Definition at line 38 of file LibraryInfo.h.

References soName_.

39  {
40  return soName_;
41  }

Member Data Documentation

std::unique_ptr<fhicl::ConfigurationTable> art::detail::LibraryInfo::allowedConfig_
private

Definition at line 77 of file LibraryInfo.h.

Referenced by allowed_config(), and LibraryInfo().

std::string art::detail::LibraryInfo::path_
private

Definition at line 76 of file LibraryInfo.h.

Referenced by LibraryInfo(), and path().

std::string art::detail::LibraryInfo::pluginType_
private

Definition at line 79 of file LibraryInfo.h.

Referenced by LibraryInfo(), and plugin_type().

std::string art::detail::LibraryInfo::provider_
private

Definition at line 78 of file LibraryInfo.h.

Referenced by LibraryInfo(), and provider().

std::string art::detail::LibraryInfo::soName_
private

Definition at line 74 of file LibraryInfo.h.

Referenced by so_name().

spec_pair_t art::detail::LibraryInfo::specs_
private

Definition at line 75 of file LibraryInfo.h.

Referenced by LibraryInfo(), long_spec(), and short_spec().


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