1 //===-- SBTypeSynthetic.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_SBTypeSynthetic_h_
11 #define LLDB_SBTypeSynthetic_h_
13 #include "lldb/API/SBDefines.h"
15 #ifndef LLDB_DISABLE_PYTHON
25 static SBTypeSynthetic
26 CreateWithClassName (const char* data,
27 uint32_t options = 0); // see lldb::eTypeOption values
29 static SBTypeSynthetic
30 CreateWithScriptCode (const char* data,
31 uint32_t options = 0); // see lldb::eTypeOption values
33 SBTypeSynthetic (const lldb::SBTypeSynthetic &rhs);
50 SetClassName (const char* data);
53 SetClassCode (const char* data);
59 SetOptions (uint32_t);
62 GetDescription (lldb::SBStream &description,
63 lldb::DescriptionLevel description_level);
65 lldb::SBTypeSynthetic &
66 operator = (const lldb::SBTypeSynthetic &rhs);
69 IsEqualTo (lldb::SBTypeSynthetic &rhs);
72 operator == (lldb::SBTypeSynthetic &rhs);
75 operator != (lldb::SBTypeSynthetic &rhs);
78 friend class SBDebugger;
79 friend class SBTypeCategory;
82 lldb::ScriptedSyntheticChildrenSP
86 SetSP (const lldb::ScriptedSyntheticChildrenSP &typefilter_impl_sp);
88 lldb::ScriptedSyntheticChildrenSP m_opaque_sp;
90 SBTypeSynthetic (const lldb::ScriptedSyntheticChildrenSP &);
100 #endif // LLDB_DISABLE_PYTHON
102 #endif // LLDB_SBTypeSynthetic_h_