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

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/IO/Catalog/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.

References lfn_, string, and uri_.

21  : pfn_{pfn}, lfn_{lfn}, uri_{uri}
22  {}
std::string uri_
Definition: FileCatalog.h:79
const XML_Char const XML_Char * uri
Definition: expat.h:380
std::string lfn_
Definition: FileCatalog.h:78
std::string pfn_
Definition: FileCatalog.h:77

Member Function Documentation

void art::FileCatalogItem::consume ( )
inline

Definition at line 71 of file FileCatalog.h.

References consumed_.

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

Definition at line 45 of file FileCatalog.h.

References consumed_.

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

Definition at line 25 of file FileCatalog.h.

References pfn_, and string.

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.

References pfn_.

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.

References lfn_, and string.

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.

References lfn_.

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.

References skipped_.

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

Definition at line 40 of file FileCatalog.h.

References skipped_.

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

Definition at line 35 of file FileCatalog.h.

References uri_.

Referenced by uri().

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.

References uri(), and uri_.

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.

Referenced by consume(), and consumed().

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

Definition at line 78 of file FileCatalog.h.

Referenced by FileCatalogItem(), and logicalFileName().

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

Definition at line 77 of file FileCatalog.h.

Referenced by fileName().

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

Definition at line 80 of file FileCatalog.h.

Referenced by skip(), and skipped().

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

Definition at line 79 of file FileCatalog.h.

Referenced by FileCatalogItem(), and uri().


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