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