]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lldb/bindings/interface/SBFileSpecList.i
Merge once more from ^/vendor/llvm-project/release-10.x, to get the
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lldb / bindings / interface / SBFileSpecList.i
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 class SBFileSpecList
12 {
13 public:
14     SBFileSpecList ();
15
16     SBFileSpecList (const lldb::SBFileSpecList &rhs);
17
18     ~SBFileSpecList ();
19
20     uint32_t
21     GetSize () const;
22
23     bool
24     GetDescription (SBStream &description) const;
25
26     void
27     Append (const SBFileSpec &sb_file);
28
29     bool
30     AppendIfUnique (const SBFileSpec &sb_file);
31
32     void
33     Clear();
34
35     uint32_t
36     FindFileIndex (uint32_t idx, const SBFileSpec &sb_file, bool full);
37
38     const SBFileSpec
39     GetFileSpecAtIndex (uint32_t idx) const;
40
41 };
42
43
44 } // namespace lldb