artdaq_core  v1_07_00
 All Classes Namespaces Functions
Public Types | Public Member Functions | List of all members
artdaq::SimpleLookupPolicy Class Reference
+ Inheritance diagram for artdaq::SimpleLookupPolicy:

Public Types

enum  ArgType : int { ENV_VAR = 0, PATH_STRING = 1 }
 

Public Member Functions

 SimpleLookupPolicy (std::string const &paths, ArgType argType=ENV_VAR)
 
virtual std::string operator() (std::string const &filename)
 

Detailed Description

Definition at line 12 of file SimpleLookupPolicy.h.

Constructor & Destructor Documentation

artdaq::SimpleLookupPolicy::SimpleLookupPolicy ( std::string const &  paths,
ArgType  argType = ENV_VAR 
)

This class is intended to find files using the following lookup order:

  • the absolute path, if provided
  • the current directory
  • the specified list of paths

Definition at line 12 of file SimpleLookupPolicy.cc.


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