27 typedef std::pair<lldb::TypeCategoryImplSP, user_id_t>
ImplType;
32 DataVisualization::Categories::GetCategory(
ConstString(name), m_opaque_sp);
36 : m_opaque_sp(rhs.m_opaque_sp) {
44 return this->
operator bool();
46 SBTypeCategory::operator bool()
const {
49 return (m_opaque_sp.get() !=
nullptr);
68 DataVisualization::Categories::Disable(
m_opaque_sp);
108 return m_opaque_sp->GetTypeFormatsContainer()->GetCount() +
109 m_opaque_sp->GetRegexTypeFormatsContainer()->GetCount();
117 return m_opaque_sp->GetTypeSummariesContainer()->GetCount() +
118 m_opaque_sp->GetRegexTypeSummariesContainer()->GetCount();
126 return m_opaque_sp->GetTypeFiltersContainer()->GetCount() +
127 m_opaque_sp->GetRegexTypeFiltersContainer()->GetCount();
135 return m_opaque_sp->GetTypeSyntheticsContainer()->GetCount() +
136 m_opaque_sp->GetRegexTypeSyntheticsContainer()->GetCount();
146 m_opaque_sp->GetTypeNameSpecifierForFilterAtIndex(index));
156 m_opaque_sp->GetTypeNameSpecifierForFormatAtIndex(index));
166 m_opaque_sp->GetTypeNameSpecifierForSummaryAtIndex(index));
176 m_opaque_sp->GetTypeNameSpecifierForSyntheticAtIndex(index));
188 lldb::TypeFilterImplSP children_sp;
191 m_opaque_sp->GetRegexTypeFiltersContainer()->GetExact(
200 TypeFilterImplSP filter_sp =
201 std::static_pointer_cast<TypeFilterImpl>(children_sp);
214 lldb::TypeFormatImplSP format_sp;
217 m_opaque_sp->GetRegexTypeFormatsContainer()->GetExact(
238 lldb::TypeSummaryImplSP summary_sp;
241 m_opaque_sp->GetRegexTypeSummariesContainer()->GetExact(
244 m_opaque_sp->GetTypeSummariesContainer()->GetExact(
262 lldb::SyntheticChildrenSP children_sp;
265 m_opaque_sp->GetRegexTypeSyntheticsContainer()->GetExact(
268 m_opaque_sp->GetTypeSyntheticsContainer()->GetExact(
274 ScriptedSyntheticChildrenSP synth_sp =
275 std::static_pointer_cast<ScriptedSyntheticChildren>(children_sp);
285 lldb::SyntheticChildrenSP children_sp =
288 if (!children_sp.get())
291 TypeFilterImplSP filter_sp =
292 std::static_pointer_cast<TypeFilterImpl>(children_sp);
318 lldb::SyntheticChildrenSP children_sp =
321 if (!children_sp.get())
324 ScriptedSyntheticChildrenSP synth_sp =
325 std::static_pointer_cast<ScriptedSyntheticChildren>(children_sp);
363 return m_opaque_sp->GetRegexTypeFormatsContainer()->Delete(
366 return m_opaque_sp->GetTypeFormatsContainer()->Delete(
390 const void *name_token =
392 const char *script = summary.
GetData();
396 bool need_set =
true;
397 for (
uint32_t j = 0; j < num_debuggers; j++) {
401 debugger_sp->GetScriptInterpreter();
402 if (interpreter_ptr) {
418 m_opaque_sp->GetRegexTypeSummariesContainer()->Add(
437 return m_opaque_sp->GetRegexTypeSummariesContainer()->Delete(
440 return m_opaque_sp->GetTypeSummariesContainer()->Delete(
477 return m_opaque_sp->GetRegexTypeFiltersContainer()->Delete(
480 return m_opaque_sp->GetTypeFiltersContainer()->Delete(
504 const void *name_token =
506 const char *script = synth.
GetData();
510 bool need_set =
true;
511 for (
uint32_t j = 0; j < num_debuggers; j++) {
515 debugger_sp->GetScriptInterpreter();
516 if (interpreter_ptr) {
532 m_opaque_sp->GetRegexTypeSyntheticsContainer()->Add(
551 return m_opaque_sp->GetRegexTypeSyntheticsContainer()->Delete(
554 return m_opaque_sp->GetTypeSyntheticsContainer()->Delete(
598 return lldb::TypeCategoryImplSP();
603 const lldb::TypeCategoryImplSP &typecategory_impl_sp) {
608 const lldb::TypeCategoryImplSP &typecategory_impl_sp)
609 : m_opaque_sp(typecategory_impl_sp) {}
615 return (strcmp(
m_opaque_sp->GetName(),
"default") == 0);