blob: 901aa88b183a48867a731cfdb3d808d739fae5ba [file] [log] [blame]
Johnny Chenfdc4a862011-07-19 22:41:47 +00001//===-- SWIG Interface for SBStringList -------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10namespace lldb {
11
12class SBStringList
13{
14public:
15
16 SBStringList ();
17
18 SBStringList (const lldb::SBStringList &rhs);
19
20 ~SBStringList ();
21
22 bool
23 IsValid() const;
24
25 void
26 AppendString (const char *str);
27
28 void
29 AppendList (const char **strv, int strc);
30
31 void
32 AppendList (const lldb::SBStringList &strings);
33
34 uint32_t
35 GetSize () const;
36
37 const char *
38 GetStringAtIndex (size_t idx);
39
40 void
41 Clear ();
42};
43
44} // namespace lldb