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_SBSymbolContextList_h_
10 #define LLDB_SBSymbolContextList_h_
11 
12 #include "lldb/API/SBDefines.h"
14 
15 namespace lldb {
16 
18 public:
20 
22 
24 
26  operator=(const lldb::SBSymbolContextList &rhs);
27 
28  explicit operator bool() const;
29 
30  bool IsValid() const;
31 
32  uint32_t GetSize() const;
33 
34  lldb::SBSymbolContext GetContextAtIndex(uint32_t idx);
35 
36  bool GetDescription(lldb::SBStream &description);
37 
38  void Append(lldb::SBSymbolContext &sc);
39 
40  void Append(lldb::SBSymbolContextList &sc_list);
41 
42  void Clear();
43 
44 protected:
45  friend class SBModule;
46  friend class SBTarget;
47 
48  lldb_private::SymbolContextList *operator->() const;
49 
51 
52 private:
53  std::unique_ptr<lldb_private::SymbolContextList> m_opaque_up;
54 };
55 
56 } // namespace lldb
57 
58 #endif // LLDB_SBSymbolContextList_h_
Defines a list of symbol context objects.
class LLDB_API SBSymbolContextList
Definition: SBDefines.h:71
const Scalar operator*(const Scalar &lhs, const Scalar &rhs)
Definition: Scalar.cpp:2161
#define LLDB_API
Definition: lldb-defines.h:23
Definition: SBAddress.h:15