Public Member Functions | Public Attributes | List of all members
art::FileFormatVersion Struct Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_06_01/source/canvas/Persistency/Provenance/FileFormatVersion.h"

Public Member Functions

 FileFormatVersion ()=default
 
 FileFormatVersion (int vers)
 
 FileFormatVersion (int vers, std::string const &era)
 
bool isValid () const
 

Public Attributes

int value_ {-1}
 
std::string era_ {}
 

Detailed Description

Definition at line 9 of file FileFormatVersion.h.

Constructor & Destructor Documentation

art::FileFormatVersion::FileFormatVersion ( )
default
art::FileFormatVersion::FileFormatVersion ( int  vers)
inlineexplicit

Definition at line 11 of file FileFormatVersion.h.

11 : FileFormatVersion{vers, {}} {}
art::FileFormatVersion::FileFormatVersion ( int  vers,
std::string const &  era 
)
inline

Definition at line 12 of file FileFormatVersion.h.

References era(), and era_.

13  : value_{vers}, era_{era}
14  {}
double era(double jd_high, double jd_low)

Member Function Documentation

bool art::FileFormatVersion::isValid ( ) const
inline

Definition at line 16 of file FileFormatVersion.h.

References value_.

17  {
18  return value_ >= 0;
19  }

Member Data Documentation

std::string art::FileFormatVersion::era_ {}

Definition at line 22 of file FileFormatVersion.h.

Referenced by FileFormatVersion().

int art::FileFormatVersion::value_ {-1}

Definition at line 21 of file FileFormatVersion.h.

Referenced by art::RootInputTree::fillAux(), isValid(), and art::operator==().


The documentation for this struct was generated from the following file: