LLDB  mainline
SBMemoryRegionInfoList.h
Go to the documentation of this file.
1 //===-- SBMemoryRegionInfoList.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_SBMemoryRegionInfoList_h_
10 #define LLDB_SBMemoryRegionInfoList_h_
11 
12 #include "lldb/API/SBDefines.h"
13 
15 
16 namespace lldb {
17 
19 public:
21 
23 
24  const SBMemoryRegionInfoList &operator=(const SBMemoryRegionInfoList &rhs);
25 
27 
28  uint32_t GetSize() const;
29 
30  bool GetMemoryRegionAtIndex(uint32_t idx, SBMemoryRegionInfo &region_info);
31 
32  void Append(lldb::SBMemoryRegionInfo &region);
33 
34  void Append(lldb::SBMemoryRegionInfoList &region_list);
35 
36  void Clear();
37 
38 protected:
39  const MemoryRegionInfoListImpl *operator->() const;
40 
41  const MemoryRegionInfoListImpl &operator*() const;
42 
43 private:
44  friend class SBProcess;
45 
47 
48  const lldb_private::MemoryRegionInfos &ref() const;
49 
50  std::unique_ptr<MemoryRegionInfoListImpl> m_opaque_up;
51 };
52 
53 } // namespace lldb
54 
55 #endif // LLDB_SBMemoryRegionInfoList_h_
class LLDB_API SBMemoryRegionInfoList
Definition: SBDefines.h:56
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