LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 ()
 
std::string const & url () const
 
void setActive ()
 
bool active () const
 

Static Public Member Functions

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

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
inline

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)
inlinestatic

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 ( )
inline

Definition at line 108 of file FileCatalog.h.

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

Definition at line 98 of file FileCatalog.h.

Referenced by art::RootInputFileSequence::initFile().

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

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: