1 //===-- SWIG Interface for SBFileSpecList -----------------------*- C++ -*-===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 namespace lldb { 10 11 %feature("docstring", 12 "Represents a list of :py:class:`SBFileSpec`." 13 ) SBFileSpecList; 14 class SBFileSpecList 15 { 16 public: 17 SBFileSpecList (); 18 19 SBFileSpecList (const lldb::SBFileSpecList &rhs); 20 21 ~SBFileSpecList (); 22 23 uint32_t 24 GetSize () const; 25 26 bool 27 GetDescription (SBStream &description) const; 28 29 void 30 Append (const SBFileSpec &sb_file); 31 32 bool 33 AppendIfUnique (const SBFileSpec &sb_file); 34 35 void 36 Clear(); 37 38 uint32_t 39 FindFileIndex (uint32_t idx, const SBFileSpec &sb_file, bool full); 40 41 const SBFileSpec 42 GetFileSpecAtIndex (uint32_t idx) const; 43 44 }; 45 46 47 } // namespace lldb 48