Johnny Chen | fdc4a86 | 2011-07-19 22:41:47 +0000 | [diff] [blame] | 1 | //===-- 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 | |
| 10 | namespace lldb { |
| 11 | |
| 12 | class SBStringList |
| 13 | { |
| 14 | public: |
| 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 |