xref: /openbsd-src/gnu/llvm/lldb/bindings/interface/SBFileSpecList.i (revision be691f3bb6417f04a68938fadbcaee2d5795e764)
1061da546Spatrick //===-- SWIG Interface for SBFileSpecList -----------------------*- C++ -*-===//
2061da546Spatrick //
3061da546Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4061da546Spatrick // See https://llvm.org/LICENSE.txt for license information.
5061da546Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6061da546Spatrick //
7061da546Spatrick //===----------------------------------------------------------------------===//
8061da546Spatrick 
9061da546Spatrick namespace lldb {
10061da546Spatrick 
11*be691f3bSpatrick %feature("docstring",
12*be691f3bSpatrick "Represents a list of :py:class:`SBFileSpec`."
13*be691f3bSpatrick ) SBFileSpecList;
14061da546Spatrick class SBFileSpecList
15061da546Spatrick {
16061da546Spatrick public:
17061da546Spatrick     SBFileSpecList ();
18061da546Spatrick 
19061da546Spatrick     SBFileSpecList (const lldb::SBFileSpecList &rhs);
20061da546Spatrick 
21061da546Spatrick     ~SBFileSpecList ();
22061da546Spatrick 
23061da546Spatrick     uint32_t
24061da546Spatrick     GetSize () const;
25061da546Spatrick 
26061da546Spatrick     bool
27061da546Spatrick     GetDescription (SBStream &description) const;
28061da546Spatrick 
29061da546Spatrick     void
30061da546Spatrick     Append (const SBFileSpec &sb_file);
31061da546Spatrick 
32061da546Spatrick     bool
33061da546Spatrick     AppendIfUnique (const SBFileSpec &sb_file);
34061da546Spatrick 
35061da546Spatrick     void
36061da546Spatrick     Clear();
37061da546Spatrick 
38061da546Spatrick     uint32_t
39061da546Spatrick     FindFileIndex (uint32_t idx, const SBFileSpec &sb_file, bool full);
40061da546Spatrick 
41061da546Spatrick     const SBFileSpec
42061da546Spatrick     GetFileSpecAtIndex (uint32_t idx) const;
43061da546Spatrick 
44061da546Spatrick };
45061da546Spatrick 
46061da546Spatrick 
47061da546Spatrick } // namespace lldb
48