ATLAS Offline Software
Loading...
Searching...
No Matches
BaseHolder.h
Go to the documentation of this file.
1// Emacs -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef TRIGNAVSTRUCTURE_BASEHOLDER_H
8#define TRIGNAVSTRUCTURE_BASEHOLDER_H
9#include <string>
10#include <vector>
12
13namespace HLT {
14 class BaseHolder {
15 public:
16 virtual ~BaseHolder();
17 virtual const std::string& label() const = 0;
18 virtual class_id_type typeClid() const = 0;
19 virtual sub_index_type subTypeIndex() const = 0;
20
21
22 static bool enquireSerialized(std::vector<uint32_t>::const_iterator& fromHere,
23 const std::vector<uint32_t>::const_iterator& end,
24 class_id_type& c, std::string& label,
25 sub_index_type& subtypeIndex );
26
27 virtual bool serialize(std::vector<uint32_t>& data) const;
28
29 };
30}
31
32#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
virtual class_id_type typeClid() const =0
virtual sub_index_type subTypeIndex() const =0
virtual bool serialize(std::vector< uint32_t > &data) const
virtual const std::string & label() const =0
static bool enquireSerialized(std::vector< uint32_t >::const_iterator &fromHere, const std::vector< uint32_t >::const_iterator &end, class_id_type &c, std::string &label, sub_index_type &subtypeIndex)
virtual ~BaseHolder()
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...