Public Member Functions | Private Attributes | List of all members
art::FileCatalogItem Class Reference

#include <FileCatalog.h>

Public Member Functions

 FileCatalogItem ()=default
 
 FileCatalogItem (std::string const &pfn, std::string const &lfn, std::string const &uri)
 
std::string const & fileName () const
 
std::string const & logicalFileName () const
 
std::string const & uri () const
 
bool skipped () const
 
bool consumed () const
 
void fileName (std::string const &pfn)
 
void logicalFileName (std::string const &lfn)
 
void uri (std::string const &uri)
 
void skip ()
 
void consume ()
 

Private Attributes

std::string pfn_ {}
 
std::string lfn_ {}
 
std::string uri_ {}
 
bool skipped_ {false}
 
bool consumed_ {false}
 

Detailed Description

Definition at line 14 of file FileCatalog.h.

Constructor & Destructor Documentation

art::FileCatalogItem::FileCatalogItem ( )
default
art::FileCatalogItem::FileCatalogItem ( std::string const &  pfn,
std::string const &  lfn,
std::string const &  uri 
)
inline

Definition at line 18 of file FileCatalog.h.

21  : pfn_{pfn}, lfn_{lfn}, uri_{uri}
22  {}
std::string uri_
Definition: FileCatalog.h:79
std::string lfn_
Definition: FileCatalog.h:78
std::string pfn_
Definition: FileCatalog.h:77
std::string const & uri() const
Definition: FileCatalog.h:35

Member Function Documentation

void art::FileCatalogItem::consume ( )
inline

Definition at line 71 of file FileCatalog.h.

72  {
73  consumed_ = true;
74  }
bool art::FileCatalogItem::consumed ( ) const
inline

Definition at line 45 of file FileCatalog.h.

46  {
47  return consumed_;
48  }
std::string const& art::FileCatalogItem::fileName ( ) const
inline

Definition at line 25 of file FileCatalog.h.

26  {
27  return pfn_;
28  }
std::string pfn_
Definition: FileCatalog.h:77
void art::FileCatalogItem::fileName ( std::string const &  pfn)
inline

Definition at line 51 of file FileCatalog.h.

52  {
53  pfn_ = pfn;
54  }
std::string pfn_
Definition: FileCatalog.h:77
std::string const& art::FileCatalogItem::logicalFileName ( ) const
inline

Definition at line 30 of file FileCatalog.h.

31  {
32  return lfn_;
33  }
std::string lfn_
Definition: FileCatalog.h:78
void art::FileCatalogItem::logicalFileName ( std::string const &  lfn)
inline

Definition at line 56 of file FileCatalog.h.

57  {
58  lfn_ = lfn;
59  }
std::string lfn_
Definition: FileCatalog.h:78
void art::FileCatalogItem::skip ( )
inline

Definition at line 66 of file FileCatalog.h.

67  {
68  skipped_ = true;
69  }
bool art::FileCatalogItem::skipped ( ) const
inline

Definition at line 40 of file FileCatalog.h.

41  {
42  return skipped_;
43  }
std::string const& art::FileCatalogItem::uri ( ) const
inline

Definition at line 35 of file FileCatalog.h.

36  {
37  return uri_;
38  }
std::string uri_
Definition: FileCatalog.h:79
void art::FileCatalogItem::uri ( std::string const &  uri)
inline

Definition at line 61 of file FileCatalog.h.

62  {
63  uri_ = uri;
64  }
std::string uri_
Definition: FileCatalog.h:79
std::string const & uri() const
Definition: FileCatalog.h:35

Member Data Documentation

bool art::FileCatalogItem::consumed_ {false}
private

Definition at line 81 of file FileCatalog.h.

std::string art::FileCatalogItem::lfn_ {}
private

Definition at line 78 of file FileCatalog.h.

std::string art::FileCatalogItem::pfn_ {}
private

Definition at line 77 of file FileCatalog.h.

bool art::FileCatalogItem::skipped_ {false}
private

Definition at line 80 of file FileCatalog.h.

std::string art::FileCatalogItem::uri_ {}
private

Definition at line 79 of file FileCatalog.h.


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