Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CdbUrlSave.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CdbUrlSave.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef FFAOBJECTS_CDBURLSAVE_H
4 #define FFAOBJECTS_CDBURLSAVE_H
5 
6 #include <phool/PHObject.h>
7 
8 #include <cstdint> // for uint64_t
9 #include <iostream>
10 #include <string> // for string
11 #include <tuple>
12 #include <vector> // for vector, vector<>::const_iterator
13 
15 class CdbUrlSave : public PHObject
16 {
17  public:
19  ~CdbUrlSave() override {}
20 
21  PHObject *CloneMe() const override;
22 
24  void Reset() override;
25 
29  void identify(std::ostream &os = std::cout) const override;
30 
32  int isValid() const override;
33 
34  virtual void AddUrl(const std::string &, const std::string &, const uint64_t) { return; }
35  virtual void AddUrl(const std::tuple<std::string, std::string, uint64_t> &) { return; }
36 
37  virtual std::vector<std::tuple<std::string, std::string, uint64_t>>::const_iterator begin() const;
38  virtual std::vector<std::tuple<std::string, std::string, uint64_t>>::const_iterator end() const;
39 
40  private:
41  ClassDefOverride(CdbUrlSave, 1)
42 };
43 
44 #endif