artdaq::SimpleLookupPolicy Class Reference

List of all members.

Public Types

enum  ArgType { 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:
 All Classes Namespaces Functions

Generated on 10 Jan 2017 for artdaq_core by  doxygen 1.6.1