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

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v3_05_01/source/art/Framework/IO/PostCloseFileRenamer.h"

Public Member Functions

 PostCloseFileRenamer (FileStatsCollector const &stats)
 
std::string applySubstitutions (std::string const &filePattern)
 
std::string maybeRenameFile (std::string const &inPath, std::string const &toPattern)
 

Private Member Functions

std::string applySubstitutionsNoIndex_ (std::string const &filePattern) const
 
std::string subInputFileName_ (boost::smatch const &match) const
 
std::string subTimestamp_ (boost::smatch const &match) const
 
std::string subFilledNumericNoIndex_ (boost::smatch const &match) const
 

Private Attributes

FileStatsCollector const & stats_
 
std::map< detail::FileNameComponents, std::size_t > indexForProcessedPattern_ {}
 

Detailed Description

Definition at line 14 of file PostCloseFileRenamer.h.

Constructor & Destructor Documentation

art::PostCloseFileRenamer::PostCloseFileRenamer ( FileStatsCollector const &  stats)

Member Function Documentation

std::string art::PostCloseFileRenamer::applySubstitutions ( std::string const &  filePattern)
std::string art::PostCloseFileRenamer::applySubstitutionsNoIndex_ ( std::string const &  filePattern) const
private
std::string art::PostCloseFileRenamer::maybeRenameFile ( std::string const &  inPath,
std::string const &  toPattern 
)
std::string art::PostCloseFileRenamer::subFilledNumericNoIndex_ ( boost::smatch const &  match) const
private
std::string art::PostCloseFileRenamer::subInputFileName_ ( boost::smatch const &  match) const
private
std::string art::PostCloseFileRenamer::subTimestamp_ ( boost::smatch const &  match) const
private

Member Data Documentation

std::map<detail::FileNameComponents, std::size_t> art::PostCloseFileRenamer::indexForProcessedPattern_ {}
private

Definition at line 34 of file PostCloseFileRenamer.h.

FileStatsCollector const& art::PostCloseFileRenamer::stats_
private

Definition at line 33 of file PostCloseFileRenamer.h.


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