CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
edm::CatalogAttributes Struct Reference

#include <SiteLocalConfig.h>

Public Member Functions

 CatalogAttributes ()=default
 
 CatalogAttributes (std::string input_site, std::string input_subSite, std::string input_storageSite, std::string input_volume, std::string input_protocol)
 
bool empty () const
 
bool operator== (const CatalogAttributes &aCatalog) const
 

Public Attributes

std::string protocol
 
std::string site
 
std::string storageSite
 
std::string subSite
 
std::string volume
 

Detailed Description

Definition at line 23 of file SiteLocalConfig.h.

Constructor & Destructor Documentation

◆ CatalogAttributes() [1/2]

edm::CatalogAttributes::CatalogAttributes ( )
default

◆ CatalogAttributes() [2/2]

edm::CatalogAttributes::CatalogAttributes ( std::string  input_site,
std::string  input_subSite,
std::string  input_storageSite,
std::string  input_volume,
std::string  input_protocol 
)
inline

Definition at line 25 of file SiteLocalConfig.h.

30  : site(std::move(input_site)),
31  subSite(std::move(input_subSite)),
32  storageSite(std::move(input_storageSite)),
33  volume(std::move(input_volume)),
34  protocol(std::move(input_protocol)) {}
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

◆ empty()

bool edm::CatalogAttributes::empty ( void  ) const
inline

Definition at line 39 of file SiteLocalConfig.h.

References protocol, site, storageSite, and volume.

Referenced by edm::FileLocator::init().

39 { return site.empty() && storageSite.empty() && volume.empty() && protocol.empty(); }

◆ operator==()

bool edm::CatalogAttributes::operator== ( const CatalogAttributes aCatalog) const
inline

Definition at line 35 of file SiteLocalConfig.h.

References protocol, site, storageSite, subSite, and volume.

35  {
36  return site == aCatalog.site && subSite == aCatalog.subSite && storageSite == aCatalog.storageSite &&
37  volume == aCatalog.volume && protocol == aCatalog.protocol;
38  }

Member Data Documentation

◆ protocol

std::string edm::CatalogAttributes::protocol

◆ site

std::string edm::CatalogAttributes::site

◆ storageSite

std::string edm::CatalogAttributes::storageSite

◆ subSite

std::string edm::CatalogAttributes::subSite

◆ volume

std::string edm::CatalogAttributes::volume