HOPS
HOPS class reference
Public Member Functions | List of all members
hops::MHO_LegacyRootCodeGenerator Class Reference

Class MHO_LegacyRootCodeGenerator. More...

#include <MHO_LegacyRootCodeGenerator.hh>

Public Member Functions

 MHO_LegacyRootCodeGenerator ()
 
virtual ~MHO_LegacyRootCodeGenerator ()
 
std::string GetCode ()
 get a single code corresponding to the current time More...
 
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/duplicates if sub-Delta-T time intervals are encountered when processing a single experiment;. More...
 

Detailed Description

Class MHO_LegacyRootCodeGenerator.

generate the 6-character timestamp-like root codes for converted filenames

Author
J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
Date
Wed Apr 27 11:59:40 2022 -0400

Constructor & Destructor Documentation

◆ MHO_LegacyRootCodeGenerator()

hops::MHO_LegacyRootCodeGenerator::MHO_LegacyRootCodeGenerator ( )
inline

◆ ~MHO_LegacyRootCodeGenerator()

virtual hops::MHO_LegacyRootCodeGenerator::~MHO_LegacyRootCodeGenerator ( )
inlinevirtual

Member Function Documentation

◆ GetCode()

std::string hops::MHO_LegacyRootCodeGenerator::GetCode ( )

get a single code corresponding to the current time

Returns
std::string containing the generated code.

◆ GetCodes()

std::vector< std::string > hops::MHO_LegacyRootCodeGenerator::GetCodes ( std::size_t  N)

Getter for multiple root codes get a pre-assigned sequential list of N root codes to avoid collisions/duplicates if sub-Delta-T time intervals are encountered when processing a single experiment;.

Parameters
NNumber of root codes to generate
Returns
Vector of generated root codes as strings

The documentation for this class was generated from the following files: