aboutsummaryrefslogtreecommitdiff
path: root/scripts/interface/SBFileSpecList.i
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/interface/SBFileSpecList.i')
-rw-r--r--scripts/interface/SBFileSpecList.i45
1 files changed, 45 insertions, 0 deletions
diff --git a/scripts/interface/SBFileSpecList.i b/scripts/interface/SBFileSpecList.i
new file mode 100644
index 000000000000..38a6f43bdc76
--- /dev/null
+++ b/scripts/interface/SBFileSpecList.i
@@ -0,0 +1,45 @@
+//===-- SWIG Interface for SBFileSpecList -----------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+namespace lldb {
+
+class SBFileSpecList
+{
+public:
+ SBFileSpecList ();
+
+ SBFileSpecList (const lldb::SBFileSpecList &rhs);
+
+ ~SBFileSpecList ();
+
+ uint32_t
+ GetSize () const;
+
+ bool
+ GetDescription (SBStream &description) const;
+
+ void
+ Append (const SBFileSpec &sb_file);
+
+ bool
+ AppendIfUnique (const SBFileSpec &sb_file);
+
+ void
+ Clear();
+
+ uint32_t
+ FindFileIndex (uint32_t idx, const SBFileSpec &sb_file, bool full);
+
+ const SBFileSpec
+ GetFileSpecAtIndex (uint32_t idx) const;
+
+};
+
+
+} // namespace lldb