Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:42

0001 //===-- SBProcessInfoList.h -------------------------------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLDB_API_SBPROCESSINSTANCEINFOLIST_H
0010 #define LLDB_API_SBPROCESSINSTANCEINFOLIST_H
0011 
0012 #include "lldb/API/SBDefines.h"
0013 
0014 #include <memory>
0015 
0016 namespace lldb_private {
0017 class ProcessInfoList;
0018 } // namespace lldb_private
0019 
0020 namespace lldb {
0021 
0022 class LLDB_API SBProcessInfoList {
0023 public:
0024   SBProcessInfoList();
0025   ~SBProcessInfoList();
0026 
0027   SBProcessInfoList(const lldb::SBProcessInfoList &rhs);
0028 
0029   const lldb::SBProcessInfoList &operator=(const lldb::SBProcessInfoList &rhs);
0030 
0031   uint32_t GetSize() const;
0032 
0033   bool GetProcessInfoAtIndex(uint32_t idx, SBProcessInfo &info);
0034 
0035   void Clear();
0036 
0037 private:
0038   friend SBPlatform;
0039 
0040   SBProcessInfoList(const lldb_private::ProcessInfoList &impl);
0041   std::unique_ptr<lldb_private::ProcessInfoList> m_opaque_up;
0042 };
0043 
0044 } // namespace lldb
0045 
0046 #endif // LLDB_API_SBPROCESSINSTANCEINFOLIST_H