LLDB mainline
SBSymbolContextList.h
Go to the documentation of this file.
1//===-- SBSymbolContextList.h -----------------------------------*- 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 LLDB_API_SBSYMBOLCONTEXTLIST_H
10#define LLDB_API_SBSYMBOLCONTEXTLIST_H
11
12#include "lldb/API/SBDefines.h"
14
15namespace lldb {
16
18public:
20
22
24
27
28 explicit operator bool() const;
29
30 bool IsValid() const;
31
32 uint32_t GetSize() const;
33
35
36 bool GetDescription(lldb::SBStream &description);
37
39
40 void Append(lldb::SBSymbolContextList &sc_list);
41
42 void Clear();
43
44protected:
45 friend class SBModule;
46 friend class SBTarget;
47 friend class SBCompileUnit;
48
50
52
53private:
54 std::unique_ptr<lldb_private::SymbolContextList> m_opaque_up;
55};
56
57} // namespace lldb
58
59#endif // LLDB_API_SBSYMBOLCONTEXTLIST_H
#define LLDB_API
Definition SBDefines.h:28
lldb_private::SymbolContextList * operator->() const
bool GetDescription(lldb::SBStream &description)
void Append(lldb::SBSymbolContext &sc)
const lldb::SBSymbolContextList & operator=(const lldb::SBSymbolContextList &rhs)
lldb_private::SymbolContextList & operator*() const
std::unique_ptr< lldb_private::SymbolContextList > m_opaque_up
lldb::SBSymbolContext GetContextAtIndex(uint32_t idx)
Defines a list of symbol context objects.