1 //===-- SBTypeSummary.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_SBTypeSummary_h_
11 #define LLDB_SBTypeSummary_h_
13 #include "lldb/API/SBDefines.h"
15 #ifndef LLDB_DISABLE_PYTHON
26 CreateWithSummaryString (const char* data,
27 uint32_t options = 0); // see lldb::eTypeOption values
30 CreateWithFunctionName (const char* data,
31 uint32_t options = 0); // see lldb::eTypeOption values
34 CreateWithScriptCode (const char* data,
35 uint32_t options = 0); // see lldb::eTypeOption values
37 SBTypeSummary (const lldb::SBTypeSummary &rhs);
57 SetSummaryString (const char* data);
60 SetFunctionName (const char* data);
63 SetFunctionCode (const char* data);
69 SetOptions (uint32_t);
72 GetDescription (lldb::SBStream &description,
73 lldb::DescriptionLevel description_level);
76 operator = (const lldb::SBTypeSummary &rhs);
79 IsEqualTo (lldb::SBTypeSummary &rhs);
82 operator == (lldb::SBTypeSummary &rhs);
85 operator != (lldb::SBTypeSummary &rhs);
88 friend class SBDebugger;
89 friend class SBTypeCategory;
92 lldb::TypeSummaryImplSP
96 SetSP (const lldb::TypeSummaryImplSP &typefilter_impl_sp);
98 lldb::TypeSummaryImplSP m_opaque_sp;
100 SBTypeSummary (const lldb::TypeSummaryImplSP &);
106 ChangeSummaryType (bool want_script);
113 #endif // LLDB_DISABLE_PYTHON
115 #endif // LLDB_SBTypeSummary_h_