#include <MapDumper.h>
|
| typedef std::map< std::string, int > | mapi_t |
| typedef std::map< std::string, float > | mapf_t |
| typedef std::map< std::string, std::string > | maps_t |
Definition at line 28 of file MapDumper.h.
◆ mapf_t
◆ mapi_t
◆ maps_t
◆ dump() [1/3]
| void D3PDTest::MapDumper::dump |
( |
const mapf_t & | map | ) |
|
|
static |
Definition at line 65 of file MapDumper.cxx.
66{
67 mapf_t::const_iterator
it = map.begin();
68 mapf_t::const_iterator
end = map.end();
70 std::cout <<
it->first <<
" " <<
it->second <<
"\n";
71 }
72}
◆ dump() [2/3]
| void D3PDTest::MapDumper::dump |
( |
const mapi_t & | map | ) |
|
|
static |
Definition at line 23 of file MapDumper.cxx.
24{
25 mapi_t::const_iterator
it = map.begin();
26 mapi_t::const_iterator
end = map.end();
28 std::cout <<
it->first <<
" " <<
it->second <<
"\n";
29 }
30}
◆ dump() [3/3]
| void D3PDTest::MapDumper::dump |
( |
const maps_t & | map | ) |
|
|
static |
Definition at line 107 of file MapDumper.cxx.
108{
109 maps_t::const_iterator
it = map.begin();
110 maps_t::const_iterator
end = map.end();
112 std::cout <<
it->first <<
" " <<
it->second <<
"\n";
113 }
114}
◆ equal() [1/3]
| bool D3PDTest::MapDumper::equal |
( |
const mapf_t & | m1, |
|
|
const mapf_t & | m2 ) |
|
static |
◆ equal() [2/3]
| bool D3PDTest::MapDumper::equal |
( |
const mapi_t & | m1, |
|
|
const mapi_t & | m2 ) |
|
static |
◆ equal() [3/3]
| bool D3PDTest::MapDumper::equal |
( |
const maps_t & | m1, |
|
|
const maps_t & | m2 ) |
|
static |
◆ keys() [1/3]
| std::vector< std::string > D3PDTest::MapDumper::keys |
( |
const mapf_t & | map | ) |
|
|
static |
Definition at line 75 of file MapDumper.cxx.
76{
77 std::vector<std::string>
out;
78 out.reserve (map.size());
79 mapf_t::const_iterator
it = map.begin();
80 mapf_t::const_iterator
end = map.end();
82 out.push_back (
it->first);
83 }
85}
◆ keys() [2/3]
| std::vector< std::string > D3PDTest::MapDumper::keys |
( |
const mapi_t & | map | ) |
|
|
static |
Definition at line 33 of file MapDumper.cxx.
34{
35 std::vector<std::string>
out;
36 out.reserve (map.size());
37 mapi_t::const_iterator
it = map.begin();
38 mapi_t::const_iterator
end = map.end();
40 out.push_back (
it->first);
41 }
43}
◆ keys() [3/3]
| std::vector< std::string > D3PDTest::MapDumper::keys |
( |
const maps_t & | map | ) |
|
|
static |
Definition at line 117 of file MapDumper.cxx.
118{
119 std::vector<std::string>
out;
120 out.reserve (map.size());
121 maps_t::const_iterator
it = map.begin();
122 maps_t::const_iterator
end = map.end();
124 out.push_back (
it->first);
125 }
127}
◆ values() [1/3]
| std::vector< float > D3PDTest::MapDumper::values |
( |
const mapf_t & | map | ) |
|
|
static |
Definition at line 88 of file MapDumper.cxx.
89{
90 std::vector<float>
out;
91 out.reserve (map.size());
92 mapf_t::const_iterator
it = map.begin();
93 mapf_t::const_iterator
end = map.end();
95 out.push_back (
it->second);
96 }
98}
◆ values() [2/3]
| std::vector< int > D3PDTest::MapDumper::values |
( |
const mapi_t & | map | ) |
|
|
static |
Definition at line 46 of file MapDumper.cxx.
47{
49 out.reserve (map.size());
50 mapi_t::const_iterator
it = map.begin();
51 mapi_t::const_iterator
end = map.end();
53 out.push_back (
it->second);
54 }
56}
◆ values() [3/3]
| std::vector< std::string > D3PDTest::MapDumper::values |
( |
const maps_t & | map | ) |
|
|
static |
Definition at line 130 of file MapDumper.cxx.
131{
132 std::vector<std::string>
out;
133 out.reserve (map.size());
134 maps_t::const_iterator
it = map.begin();
135 maps_t::const_iterator
end = map.end();
137 out.push_back (
it->second);
138 }
140}
The documentation for this class was generated from the following files: