ATLAS Offline Software
TrigEvent/TrigNavStructure/TrigNavStructure/StringSerializer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGNAVSTRUCTURE_STRINGSERIALIZER_H
6 #define TRIGNAVSTRUCTURE_STRINGSERIALIZER_H
7 #include <vector>
8 #include <string>
9 #include <stdint.h>
10 namespace HLT {
11  namespace StringSerializer {
12  void serialize (const std::string& str, std::vector<uint32_t>& storage);
13  void serialize (const std::vector<std::string>& strings, std::vector<uint32_t>& storage );
14 
15  size_t deserialize (std::vector<uint32_t>::const_iterator first,
16  std::vector<uint32_t>::const_iterator last,
17  std::string& str);
18 
19  size_t deserialize (std::vector<uint32_t>::const_iterator first,
20  std::vector<uint32_t>::const_iterator last,
21  std::vector<std::string>& strings);
22 
23 }
24 }
25 #endif
HLT::StringSerializer::serialize
void serialize(const std::vector< std::string > &strings, std::vector< uint32_t > &storage)
Definition: TrigEvent/TrigNavStructure/Root/StringSerializer.cxx:31
HLT
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Definition: HLTResultReader.h:26
HLT::StringSerializer::deserialize
std::size_t deserialize(std::vector< uint32_t >::const_iterator first, std::vector< uint32_t >::const_iterator last, std::vector< std::string > &strings)
Definition: TrigEvent/TrigNavStructure/Root/StringSerializer.cxx:66
DeMoScan.first
bool first
Definition: DeMoScan.py:534
StringSerializer
Utility class (not a tool or so) to serialize strings into stream of 32bit integers.
Definition: TrigDataAccess/TrigSerializeResult/TrigSerializeResult/StringSerializer.h:19
str
Definition: BTagTrackIpAccessor.cxx:11