LLDB API Documentation

SBTypeCategory.h
Go to the documentation of this file.
1 //===-- SBTypeCategory.h --------------------------------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLDB_SBTypeCategory_h_
11 #define LLDB_SBTypeCategory_h_
12 
13 #include "lldb/API/SBDefines.h"
14 
15 namespace lldb {
16 
18  {
19  public:
20 
22 
24 
25  ~SBTypeCategory ();
26 
27  bool
28  IsValid() const;
29 
30  bool
31  GetEnabled ();
32 
33  void
34  SetEnabled (bool);
35 
36  const char*
37  GetName();
38 
39  bool
40  GetDescription (lldb::SBStream &description,
41  lldb::DescriptionLevel description_level);
42 
43  uint32_t
44  GetNumFormats ();
45 
46  uint32_t
47  GetNumSummaries ();
48 
49  uint32_t
50  GetNumFilters ();
51 
52 #ifndef LLDB_DISABLE_PYTHON
53  uint32_t
55 #endif
56 
59 
62 
65 
66 #ifndef LLDB_DISABLE_PYTHON
69 #endif
70 
73 
76 
77 #ifndef LLDB_DISABLE_PYTHON
80 #endif
81 
82 #ifndef LLDB_DISABLE_PYTHON
85 #endif
86 
87 #ifndef LLDB_DISABLE_PYTHON
89  GetFilterAtIndex (uint32_t);
90 #endif
91 
93  GetFormatAtIndex (uint32_t);
94 
95 #ifndef LLDB_DISABLE_PYTHON
97  GetSummaryAtIndex (uint32_t);
98 #endif
99 
100 #ifndef LLDB_DISABLE_PYTHON
102  GetSyntheticAtIndex (uint32_t);
103 #endif
104 
105  bool
107  SBTypeFormat);
108 
109  bool
111 
112 #ifndef LLDB_DISABLE_PYTHON
113  bool
115  SBTypeSummary);
116 #endif
117 
118  bool
120 
121  bool
123  SBTypeFilter);
124 
125  bool
127 
128 #ifndef LLDB_DISABLE_PYTHON
129  bool
132 
133  bool
135 #endif
136 
138  operator = (const lldb::SBTypeCategory &rhs);
139 
140  bool
142 
143  bool
145 
146  protected:
147  friend class SBDebugger;
148 
149  lldb::TypeCategoryImplSP
150  GetSP ();
151 
152  void
153  SetSP (const lldb::TypeCategoryImplSP &typecategory_impl_sp);
154 
155  TypeCategoryImplSP m_opaque_sp;
156 
157  SBTypeCategory (const lldb::TypeCategoryImplSP &);
158 
159  SBTypeCategory (const char*);
160 
161  bool
163 
164  };
165 
166 } // namespace lldb
167 
168 #endif // LLDB_SBTypeCategory_h_