1 #ifndef MHO_LegacyRootCodeGenerator_HH__
2 #define MHO_LegacyRootCodeGenerator_HH__
46 std::vector< std::string >
GetCodes(std::size_t N);
65 int root_id_delta(time_t now);
73 std::string root_id_later(time_t now);
85 std::string root_id(
int year,
int day,
int hour,
int min,
int sec);
98 std::string root_id_break(time_t now,
int year,
int day,
int hour,
int min,
int sec);
Class MHO_LegacyRootCodeGenerator.
Definition: MHO_LegacyRootCodeGenerator.hh:23
std::vector< std::string > GetCodes(std::size_t N)
Getter for multiple root codes get a pre-assigned sequential list of N root codes to avoid collisions...
Definition: MHO_LegacyRootCodeGenerator.cc:22
virtual ~MHO_LegacyRootCodeGenerator()
Definition: MHO_LegacyRootCodeGenerator.hh:26
MHO_LegacyRootCodeGenerator()
Definition: MHO_LegacyRootCodeGenerator.hh:25
std::string GetCode()
get a single code corresponding to the current time
Definition: MHO_LegacyRootCodeGenerator.cc:9
#define min(a, b)
Definition: max555.c:9
Definition: MHO_ChannelLabeler.hh:17