|
Jpp 21.0.1
the software that should make you happy
|
#include "km3net-dataformat/tools/meta_utils.hh"#include <unordered_map>#include <sstream>#include <regex>#include <stdexcept>#include "TFile.h"#include "TDirectoryFile.h"#include "TKey.h"#include "km3net-dataformat/definitions/root.hh"Go to the source code of this file.
Functions | |
| std::unordered_map< std::string, std::unordered_map< std::string, std::string > > | read_meta (const char *filename) |
| std::string | get_jpp_version_from_meta (const std::unordered_map< std::string, std::unordered_map< std::string, std::string > > &meta) |
| Retrieve the JPP version from the metadata (mainly used for testing purposes) | |
| std::string | get_jpp_version_from_file (const char *filename) |
| Reads the jpp version from file. | |
| int | get_jpp_major_version (const std::string &version_str) |
| Get the jpp major version. | |
| std::unordered_map< std::string, std::unordered_map< std::string, std::string > > read_meta | ( | const char * | filename | ) |
Definition at line 12 of file meta_utils.cc.
| std::string get_jpp_version_from_meta | ( | const std::unordered_map< std::string, std::unordered_map< std::string, std::string > > & | meta | ) |
Retrieve the JPP version from the metadata (mainly used for testing purposes)
| meta | Metadata |
Definition at line 38 of file meta_utils.cc.
| std::string get_jpp_version_from_file | ( | const char * | filename | ) |
Reads the jpp version from file.
| filename | Input filename |
Definition at line 57 of file meta_utils.cc.
| int get_jpp_major_version | ( | const std::string & | version_str | ) |
Get the jpp major version.
| version_str | Version string |
Definition at line 63 of file meta_utils.cc.