1 //===-- SBStringList.h ------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SBStringList_h_
11 #define LLDB_SBStringList_h_
13 #include "lldb/API/SBDefines.h"
23 SBStringList (const lldb::SBStringList &rhs);
26 operator = (const SBStringList &rhs);
34 AppendString (const char *str);
37 AppendList (const char **strv, int strc);
40 AppendList (const lldb::SBStringList &strings);
46 GetStringAtIndex (size_t idx);
52 friend class SBCommandInterpreter;
53 friend class SBDebugger;
55 SBStringList (const lldb_private::StringList *lldb_strings);
57 const lldb_private::StringList *
60 const lldb_private::StringList &
65 std::unique_ptr<lldb_private::StringList> m_opaque_ap;
71 #endif // LLDB_SBStringList_h_