1 //===-- SBTypeCategory.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_SBTypeCategory_h_
11 #define LLDB_SBTypeCategory_h_
13 #include "lldb/API/SBDefines.h"
23 SBTypeCategory (const lldb::SBTypeCategory &rhs);
40 GetDescription (lldb::SBStream &description,
41 lldb::DescriptionLevel description_level);
52 #ifndef LLDB_DISABLE_PYTHON
58 GetTypeNameSpecifierForFilterAtIndex (uint32_t);
61 GetTypeNameSpecifierForFormatAtIndex (uint32_t);
64 GetTypeNameSpecifierForSummaryAtIndex (uint32_t);
66 #ifndef LLDB_DISABLE_PYTHON
68 GetTypeNameSpecifierForSyntheticAtIndex (uint32_t);
72 GetFilterForType (SBTypeNameSpecifier);
75 GetFormatForType (SBTypeNameSpecifier);
77 #ifndef LLDB_DISABLE_PYTHON
79 GetSummaryForType (SBTypeNameSpecifier);
82 #ifndef LLDB_DISABLE_PYTHON
84 GetSyntheticForType (SBTypeNameSpecifier);
87 #ifndef LLDB_DISABLE_PYTHON
89 GetFilterAtIndex (uint32_t);
93 GetFormatAtIndex (uint32_t);
95 #ifndef LLDB_DISABLE_PYTHON
97 GetSummaryAtIndex (uint32_t);
100 #ifndef LLDB_DISABLE_PYTHON
102 GetSyntheticAtIndex (uint32_t);
106 AddTypeFormat (SBTypeNameSpecifier,
110 DeleteTypeFormat (SBTypeNameSpecifier);
112 #ifndef LLDB_DISABLE_PYTHON
114 AddTypeSummary (SBTypeNameSpecifier,
119 DeleteTypeSummary (SBTypeNameSpecifier);
122 AddTypeFilter (SBTypeNameSpecifier,
126 DeleteTypeFilter (SBTypeNameSpecifier);
128 #ifndef LLDB_DISABLE_PYTHON
130 AddTypeSynthetic (SBTypeNameSpecifier,
134 DeleteTypeSynthetic (SBTypeNameSpecifier);
137 lldb::SBTypeCategory &
138 operator = (const lldb::SBTypeCategory &rhs);
141 operator == (lldb::SBTypeCategory &rhs);
144 operator != (lldb::SBTypeCategory &rhs);
147 friend class SBDebugger;
149 lldb::TypeCategoryImplSP
153 SetSP (const lldb::TypeCategoryImplSP &typecategory_impl_sp);
155 TypeCategoryImplSP m_opaque_sp;
157 SBTypeCategory (const lldb::TypeCategoryImplSP &);
159 SBTypeCategory (const char*);
168 #endif // LLDB_SBTypeCategory_h_