Public Member Functions | Private Attributes | List of all members
cet::filepath_lookup Class Reference

#include <filepath_maker.h>

Inheritance diagram for cet::filepath_lookup:
cet::filepath_maker

Public Member Functions

 filepath_lookup (std::string paths)
 
std::string operator() (std::string const &filename) override
 
- Public Member Functions inherited from cet::filepath_maker
virtual ~filepath_maker () noexcept=default
 

Private Attributes

cet::search_path paths
 

Detailed Description

Definition at line 52 of file filepath_maker.h.

Constructor & Destructor Documentation

filepath_lookup::filepath_lookup ( std::string  paths)

Definition at line 33 of file filepath_maker.cc.

33 : paths{move(paths)} {}
cet::search_path paths
def move(depos, offset)
Definition: depos.py:107

Member Function Documentation

std::string filepath_lookup::operator() ( std::string const &  filename)
overridevirtual

Reimplemented from cet::filepath_maker.

Definition at line 36 of file filepath_maker.cc.

37 {
38  return paths.find_file(filename);
39 }
cet::search_path paths
string filename
Definition: train.py:213
std::string find_file(std::string const &filename) const
Definition: search_path.cc:96

Member Data Documentation

cet::search_path cet::filepath_lookup::paths
private

Definition at line 59 of file filepath_maker.h.


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