1 //===-- ValueObjectList.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 liblldb_ValueObjectList_h_
11 #define liblldb_ValueObjectList_h_
17 // Other libraries and framework includes
19 #include "lldb/lldb-private.h"
20 #include "lldb/Core/ClangForward.h"
21 #include "lldb/Core/UserID.h"
22 #include "lldb/Target/ExecutionContextScope.h"
24 namespace lldb_private {
26 //----------------------------------------------------------------------
27 // A collection of ValueObject values that
28 //----------------------------------------------------------------------
32 //------------------------------------------------------------------
33 // Constructors and Destructors
34 //------------------------------------------------------------------
37 ValueObjectList (const ValueObjectList &rhs);
41 const ValueObjectList &
42 operator = (const ValueObjectList &rhs);
45 Append (const lldb::ValueObjectSP &val_obj_sp);
48 Append (const ValueObjectList &valobj_list);
51 FindValueObjectByPointer (ValueObject *valobj);
60 GetValueObjectAtIndex (size_t idx);
63 RemoveValueObjectAtIndex (size_t idx);
66 SetValueObjectAtIndex (size_t idx,
67 const lldb::ValueObjectSP &valobj_sp);
70 FindValueObjectByValueName (const char *name);
73 FindValueObjectByUID (lldb::user_id_t uid);
76 Swap (ValueObjectList &value_object_list);
79 typedef std::vector<lldb::ValueObjectSP> collection;
80 //------------------------------------------------------------------
81 // Classes that inherit from ValueObjectList can see and modify these
82 //------------------------------------------------------------------
83 collection m_value_objects;
88 } // namespace lldb_private
90 #endif // liblldb_ValueObjectList_h_