reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | //===-- SBMemoryRegionInfoList.h --------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLDB_SBMemoryRegionInfoList_h_ #define LLDB_SBMemoryRegionInfoList_h_ #include "lldb/API/SBDefines.h" class MemoryRegionInfoListImpl; namespace lldb { class LLDB_API SBMemoryRegionInfoList { public: SBMemoryRegionInfoList(); SBMemoryRegionInfoList(const lldb::SBMemoryRegionInfoList &rhs); const SBMemoryRegionInfoList &operator=(const SBMemoryRegionInfoList &rhs); ~SBMemoryRegionInfoList(); uint32_t GetSize() const; bool GetMemoryRegionAtIndex(uint32_t idx, SBMemoryRegionInfo ®ion_info); void Append(lldb::SBMemoryRegionInfo ®ion); void Append(lldb::SBMemoryRegionInfoList ®ion_list); void Clear(); protected: const MemoryRegionInfoListImpl *operator->() const; const MemoryRegionInfoListImpl &operator*() const; private: friend class SBProcess; lldb_private::MemoryRegionInfos &ref(); const lldb_private::MemoryRegionInfos &ref() const; std::unique_ptr<MemoryRegionInfoListImpl> m_opaque_up; }; } // namespace lldb #endif // LLDB_SBMemoryRegionInfoList_h_ |