diff options
Diffstat (limited to 'include/lldb/API/SBMemoryRegionInfoList.h')
-rw-r--r-- | include/lldb/API/SBMemoryRegionInfoList.h | 39 |
1 files changed, 13 insertions, 26 deletions
diff --git a/include/lldb/API/SBMemoryRegionInfoList.h b/include/lldb/API/SBMemoryRegionInfoList.h index 7723820897d8..883a2224c92d 100644 --- a/include/lldb/API/SBMemoryRegionInfoList.h +++ b/include/lldb/API/SBMemoryRegionInfoList.h @@ -16,46 +16,33 @@ class MemoryRegionInfoListImpl; namespace lldb { -class LLDB_API SBMemoryRegionInfoList -{ +class LLDB_API SBMemoryRegionInfoList { public: + SBMemoryRegionInfoList(); - SBMemoryRegionInfoList (); + SBMemoryRegionInfoList(const lldb::SBMemoryRegionInfoList &rhs); - SBMemoryRegionInfoList (const lldb::SBMemoryRegionInfoList &rhs); + const SBMemoryRegionInfoList &operator=(const SBMemoryRegionInfoList &rhs); - const SBMemoryRegionInfoList & - operator = (const SBMemoryRegionInfoList &rhs); + ~SBMemoryRegionInfoList(); - ~SBMemoryRegionInfoList (); + uint32_t GetSize() const; - uint32_t - GetSize () const; + bool GetMemoryRegionAtIndex(uint32_t idx, SBMemoryRegionInfo ®ion_info); - bool - GetMemoryRegionAtIndex (uint32_t idx, SBMemoryRegionInfo ®ion_info); + void Append(lldb::SBMemoryRegionInfo ®ion); - void - Append (lldb::SBMemoryRegionInfo ®ion); + void Append(lldb::SBMemoryRegionInfoList ®ion_list); - void - Append (lldb::SBMemoryRegionInfoList ®ion_list); - - void - Clear (); + void Clear(); protected: + const MemoryRegionInfoListImpl *operator->() const; - const MemoryRegionInfoListImpl * - operator->() const; - - const MemoryRegionInfoListImpl & - operator*() const; + const MemoryRegionInfoListImpl &operator*() const; private: - - std::unique_ptr<MemoryRegionInfoListImpl> m_opaque_ap; - + std::unique_ptr<MemoryRegionInfoListImpl> m_opaque_ap; }; } // namespace lldb |