BranchType.h
Go to the documentation of this file.
1 #ifndef canvas_Persistency_Provenance_BranchType_h
2 #define canvas_Persistency_Provenance_BranchType_h
3 
4 // ======================================================================
5 //
6 // BranchType: enumerate/encode/label the three Branch types
7 //
8 // ======================================================================
9 
10 #include <string>
11 
12 // ----------------------------------------------------------------------
13 
14 namespace art {
15 
16  // Note: These enum values are used as subscripts for a fixed size
17  // array, so they must not change.
19 
27 
28  inline std::ostream&
29  operator<<(std::ostream& os, BranchType const branchType)
30  {
31  return os << BranchTypeToString(branchType);
32  }
33 
34 } // art
35 
36 // ======================================================================
37 
38 #endif /* canvas_Persistency_Provenance_BranchType_h */
39 
40 // Local Variables:
41 // mode: c++
42 // End:
std::ostream & operator<<(std::ostream &os, EDAnalyzer::Table< T > const &t)
Definition: EDAnalyzer.h:184
std::string const & BranchTypeToMinorIndexName(BranchType)
std::string const & productProvenanceBranchName(BranchType)
std::string const & BranchTypeToMajorIndexName(BranchType)
std::string const & BranchTypeToProductTreeName(BranchType)
std::string const & BranchTypeToAuxiliaryBranchName(BranchType)
std::string const & BranchTypeToMetaDataTreeName(BranchType)
std::string const & BranchTypeToString(BranchType)
BranchType
Definition: BranchType.h:18
Service to store calibration data products (CDP) in the SQLite3 metadatabase of a file...
Definition: FillParentInfo.h:8
enum BeamMode string