1 | //===- IPDBTable.h - Base Interface for a PDB Symbol Context ----*- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef LLVM_DEBUGINFO_PDB_IPDBTABLE_H |
10 | #define LLVM_DEBUGINFO_PDB_IPDBTABLE_H |
11 | |
12 | #include "PDBTypes.h" |
13 | |
14 | namespace llvm { |
15 | namespace pdb { |
16 | class IPDBTable { |
17 | public: |
18 | virtual ~IPDBTable(); |
19 | |
20 | virtual std::string getName() const = 0; |
21 | virtual uint32_t getItemCount() const = 0; |
22 | virtual PDB_TableType getTableType() const = 0; |
23 | }; |
24 | } |
25 | } |
26 | |
27 | #endif // LLVM_DEBUGINFO_PDB_IPDBTABLE_H |
28 | |