]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/include/lldb/API/SBTypeFilter.h
dts: Import DTS for arm64
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / include / lldb / API / SBTypeFilter.h
1 //===-- SBTypeFilter.h --------------------------------------------*- C++
2 //-*-===//
3 //
4 //                     The LLVM Compiler Infrastructure
5 //
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10
11 #ifndef LLDB_SBTypeFilter_h_
12 #define LLDB_SBTypeFilter_h_
13
14 #include "lldb/API/SBDefines.h"
15
16 namespace lldb {
17
18 class LLDB_API SBTypeFilter {
19 public:
20   SBTypeFilter();
21
22   SBTypeFilter(uint32_t options); // see lldb::eTypeOption values
23
24   SBTypeFilter(const lldb::SBTypeFilter &rhs);
25
26   ~SBTypeFilter();
27
28   bool IsValid() const;
29
30   uint32_t GetNumberOfExpressionPaths();
31
32   const char *GetExpressionPathAtIndex(uint32_t i);
33
34   bool ReplaceExpressionPathAtIndex(uint32_t i, const char *item);
35
36   void AppendExpressionPath(const char *item);
37
38   void Clear();
39
40   uint32_t GetOptions();
41
42   void SetOptions(uint32_t);
43
44   bool GetDescription(lldb::SBStream &description,
45                       lldb::DescriptionLevel description_level);
46
47   lldb::SBTypeFilter &operator=(const lldb::SBTypeFilter &rhs);
48
49   bool IsEqualTo(lldb::SBTypeFilter &rhs);
50
51   bool operator==(lldb::SBTypeFilter &rhs);
52
53   bool operator!=(lldb::SBTypeFilter &rhs);
54
55 protected:
56   friend class SBDebugger;
57   friend class SBTypeCategory;
58   friend class SBValue;
59
60   lldb::TypeFilterImplSP GetSP();
61
62   void SetSP(const lldb::TypeFilterImplSP &typefilter_impl_sp);
63
64   lldb::TypeFilterImplSP m_opaque_sp;
65
66   SBTypeFilter(const lldb::TypeFilterImplSP &);
67
68   bool CopyOnWrite_Impl();
69 };
70
71 } // namespace lldb
72
73 #endif // LLDB_SBTypeFilter_h_