ATLAS Offline Software
Loading...
Searching...
No Matches
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>
10namespace 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
std::size_t deserialize(std::vector< uint32_t >::const_iterator first, std::vector< uint32_t >::const_iterator last, std::vector< std::string > &strings)
void serialize(const std::vector< std::string > &strings, std::vector< uint32_t > &storage)
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...