ATLAS Offline Software
Loading...
Searching...
No Matches
MapDumper.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id$
14
15
16#include <map>
17#include <string>
18#include <vector>
19
20
21#ifndef D3PDMAKERTEST_MAPDUMPER_H
22#define D3PDMAKERTEST_MAPDUMPER_H
23
24
25namespace D3PDTest {
26
27
29{
30public:
31 typedef std::map<std::string, int> mapi_t;
32 static void dump (const mapi_t& map);
33 static std::vector<std::string> keys (const mapi_t& map);
34 static std::vector<int> values (const mapi_t& map);
35 static bool equal (const mapi_t& m1, const mapi_t& m2);
36
37 typedef std::map<std::string, float> mapf_t;
38 static void dump (const mapf_t& map);
39 static std::vector<std::string> keys (const mapf_t& map);
40 static std::vector<float> values (const mapf_t& map);
41 static bool equal (const mapf_t& m1, const mapf_t& m2);
42
43 typedef std::map<std::string, std::string> maps_t;
44 static void dump (const maps_t& map);
45 static std::vector<std::string> keys (const maps_t& map);
46 static std::vector<std::string> values (const maps_t& map);
47 static bool equal (const maps_t& m1, const maps_t& m2);
48};
49
50
51} // namespace D3PDTest
52
53
54#endif // not D3PDMAKERTEST_MAPDUMPER_H
static std::vector< int > values(const mapi_t &map)
Definition MapDumper.cxx:46
std::map< std::string, int > mapi_t
Definition MapDumper.h:31
std::map< std::string, std::string > maps_t
Definition MapDumper.h:43
std::map< std::string, float > mapf_t
Definition MapDumper.h:37
static bool equal(const mapi_t &m1, const mapi_t &m2)
Definition MapDumper.cxx:59
static std::vector< std::string > keys(const mapi_t &map)
Definition MapDumper.cxx:33
STL class.
-event-from-file