CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PfnEditor.h
Go to the documentation of this file.
1 #ifndef CondCore_TagCollection_PfnEditor
2 #define CondCore_TagCollection_PfnEditor
3 
4 
5 #include <string>
6 
7 namespace cond{
8 
9  // edit the pfn accordind to rules given in its constructor
10  class PfnEditor {
11  public:
12  PfnEditor();
13  PfnEditor(std::string const & ipre,
14  std::string const & ipos);
15 
16  std::string operator()(std::string const & pfn) const;
17 
18  private:
21  bool off;
22  };
23 
24 
25 }
26 #endif // CondCore_TagCollection_PfnEditor
27 
list pfn
Definition: dbtoconf.py:76
std::string prefix
Definition: PfnEditor.h:19
std::string postfix
Definition: PfnEditor.h:20
std::string operator()(std::string const &pfn) const
Definition: PfnEditor.cc:15