19 int main(
int argc,
char **argv)
24 JGITTags_t::key_type date;
29 JParser<> zap(
"Auxiliary program to print GIT tags.");
31 zap[
'D'] =
make_field(date,
"start date \"YYYY-MM-DD\"") = JGITTags_t::key_type::min();
36 catch(
const exception &error) {
37 FATAL(error.what() << endl);
42 for (JGITTags_t::const_iterator i = buffer.lower_bound(date); i != buffer.end(); ++i) {
43 cout << i->first <<
' ' << i->second << endl;
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
Utility class to parse command line options.
std::vector< std::string > getGITTags(const TRegexp ®exp, const JGITTags_t::key_type &date)
Get selection of GIT tags.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).