CMS 3D CMS Logo

TableExaminerBase.h
Go to the documentation of this file.
1 #ifndef FWCore_SOA_TableExaminerBase_h
2 #define FWCore_SOA_TableExaminerBase_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/SOA
6 // Class : TableExaminerBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Mon, 28 Aug 2017 14:22:26 GMT
19 //
20 
21 // system include files
22 #include <vector>
23 #include <utility>
24 #include <typeinfo>
25 #include <typeindex>
26 #include <cstddef>
27 // user include files
28 
29 // forward declarations
30 
31 namespace edm {
32  namespace soa {
33 
35  public:
36  TableExaminerBase() = default;
37  virtual ~TableExaminerBase() = default;
38  TableExaminerBase(const TableExaminerBase&) = default;
40 
41  // ---------- const member functions ---------------------
42  virtual std::vector<std::type_index> columnTypes() const = 0;
43 
44  virtual std::vector<std::pair<char const*, std::type_index>> columnDescriptions() const = 0;
45 
46  virtual size_t size() const = 0;
47 
48  virtual void const* columnAddress(unsigned int iColumnIndex) const = 0;
49 
50  virtual const std::type_info* typeID() const = 0;
51 
52  private:
53  // ---------- member data --------------------------------
54  };
55  } // namespace soa
56 } // namespace edm
57 
58 #endif
edm::soa::TableExaminerBase
Definition: TableExaminerBase.h:34
edm::soa::TableExaminerBase::size
virtual size_t size() const =0
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::soa::TableExaminerBase::columnTypes
virtual std::vector< std::type_index > columnTypes() const =0
gpuVertexFinder::soa
ZVertexSoA * soa
Definition: gpuVertexFinder.cc:21
edm::soa::TableExaminerBase::columnAddress
virtual void const * columnAddress(unsigned int iColumnIndex) const =0
edm::soa::TableExaminerBase::~TableExaminerBase
virtual ~TableExaminerBase()=default
edm::soa::TableExaminerBase::columnDescriptions
virtual std::vector< std::pair< char const *, std::type_index > > columnDescriptions() const =0
edm::soa::TableExaminerBase::operator=
TableExaminerBase & operator=(const TableExaminerBase &)=default
edm::soa::TableExaminerBase::typeID
virtual const std::type_info * typeID() const =0
edm::soa::TableExaminerBase::TableExaminerBase
TableExaminerBase()=default