LLDB API Documentation

SBMemoryRegionInfoList.h
Go to the documentation of this file.
1 //===-- SBMemoryRegionInfoList.h --------------------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLDB_SBMemoryRegionInfoList_h_
11 #define LLDB_SBMemoryRegionInfoList_h_
12 
13 #include "lldb/API/SBDefines.h"
14 
15 class MemoryRegionInfoListImpl;
16 
17 namespace lldb {
18 
19 class LLDB_API SBMemoryRegionInfoList {
20 public:
22 
24 
25  const SBMemoryRegionInfoList &operator=(const SBMemoryRegionInfoList &rhs);
26 
28 
29  uint32_t GetSize() const;
30 
31  bool GetMemoryRegionAtIndex(uint32_t idx, SBMemoryRegionInfo &region_info);
32 
33  void Append(lldb::SBMemoryRegionInfo &region);
34 
35  void Append(lldb::SBMemoryRegionInfoList &region_list);
36 
37  void Clear();
38 
39 protected:
40  const MemoryRegionInfoListImpl *operator->() const;
41 
42  const MemoryRegionInfoListImpl &operator*() const;
43 
44 private:
45  std::unique_ptr<MemoryRegionInfoListImpl> m_opaque_ap;
46 };
47 
48 } // namespace lldb
49 
50 #endif // LLDB_SBMemoryRegionInfoList_h_
class LLDB_API SBMemoryRegionInfoList
Definition: SBDefines.h:63