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

#include "FileCatalog.h"

Inheritance diagram for art::FileCatalog:
art::InputFileCatalog

Public Member Functions

virtual ~FileCatalog ()=default
 
void commitCatalog ()
 
std::string & url () noexcept
 
std::string const & url () const noexcept
 
void setActive () noexcept
 
bool active () const noexcept
 

Static Public Member Functions

static bool isPhysical (std::string const &name) noexcept
 

Private Attributes

std::string url_ {}
 
bool active_ {false}
 

Detailed Description

Definition at line 86 of file FileCatalog.h.

Constructor & Destructor Documentation

virtual art::FileCatalog::~FileCatalog ( )
virtualdefault

Member Function Documentation

bool art::FileCatalog::active ( ) const
inlinenoexcept

Definition at line 113 of file FileCatalog.h.

114  {
115  return active_;
116  }
void art::FileCatalog::commitCatalog ( )
inline

Definition at line 90 of file FileCatalog.h.

91  {}
static bool art::FileCatalog::isPhysical ( std::string const &  name)
inlinestaticnoexcept

Definition at line 93 of file FileCatalog.h.

Referenced by art::InputFileCatalog::transferNextFile().

94  {
95  return (name.empty() || name.find(':') != std::string::npos);
96  }
void art::FileCatalog::setActive ( )
inlinenoexcept

Definition at line 108 of file FileCatalog.h.

109  {
110  active_ = true;
111  }
std::string& art::FileCatalog::url ( )
inlinenoexcept

Definition at line 98 of file FileCatalog.h.

99  {
100  return url_;
101  }
std::string url_
Definition: FileCatalog.h:119
std::string const& art::FileCatalog::url ( ) const
inlinenoexcept

Definition at line 103 of file FileCatalog.h.

104  {
105  return url_;
106  }
std::string url_
Definition: FileCatalog.h:119

Member Data Documentation

bool art::FileCatalog::active_ {false}
private

Definition at line 120 of file FileCatalog.h.

std::string art::FileCatalog::url_ {}
private

Definition at line 119 of file FileCatalog.h.


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