1*6498aff2SJonas Devlieghere //===-- SWIG Interface for SBThreadCollection -------------------*- C++ -*-===// 2*6498aff2SJonas Devlieghere // 3*6498aff2SJonas Devlieghere // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*6498aff2SJonas Devlieghere // See https://llvm.org/LICENSE.txt for license information. 5*6498aff2SJonas Devlieghere // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*6498aff2SJonas Devlieghere // 7*6498aff2SJonas Devlieghere //===----------------------------------------------------------------------===// 8*6498aff2SJonas Devlieghere 9*6498aff2SJonas Devlieghere #include <stdio.h> 10*6498aff2SJonas Devlieghere 11*6498aff2SJonas Devlieghere namespace lldb { 12*6498aff2SJonas Devlieghere 13*6498aff2SJonas Devlieghere %feature("docstring", 14*6498aff2SJonas Devlieghere "Represents a collection of SBThread objects." 15*6498aff2SJonas Devlieghere ) SBThreadCollection; 16*6498aff2SJonas Devlieghere class SBThreadCollection 17*6498aff2SJonas Devlieghere { 18*6498aff2SJonas Devlieghere public: 19*6498aff2SJonas Devlieghere 20*6498aff2SJonas Devlieghere SBThreadCollection (); 21*6498aff2SJonas Devlieghere 22*6498aff2SJonas Devlieghere SBThreadCollection (const SBThreadCollection &rhs); 23*6498aff2SJonas Devlieghere 24*6498aff2SJonas Devlieghere ~SBThreadCollection (); 25*6498aff2SJonas Devlieghere 26*6498aff2SJonas Devlieghere bool 27*6498aff2SJonas Devlieghere IsValid () const; 28*6498aff2SJonas Devlieghere 29*6498aff2SJonas Devlieghere explicit operator bool() const; 30*6498aff2SJonas Devlieghere 31*6498aff2SJonas Devlieghere size_t 32*6498aff2SJonas Devlieghere GetSize (); 33*6498aff2SJonas Devlieghere 34*6498aff2SJonas Devlieghere lldb::SBThread 35*6498aff2SJonas Devlieghere GetThreadAtIndex (size_t idx); 36*6498aff2SJonas Devlieghere 37*6498aff2SJonas Devlieghere }; 38*6498aff2SJonas Devlieghere 39*6498aff2SJonas Devlieghere } // namespace lldb 40