1 //===-- SWIG Interface for SBTypeFilter----------------------------*- 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 namespace lldb { 11 12 %feature("docstring", 13 "Represents a filter that can be associated to one or more types. 14 ") SBTypeFilter; 15 16 class SBTypeFilter 17 { 18 public: 19 20 SBTypeFilter(); 21 22 SBTypeFilter (uint32_t options); 23 24 SBTypeFilter (const lldb::SBTypeFilter &rhs); 25 26 ~SBTypeFilter (); 27 28 bool 29 IsValid() const; 30 31 bool 32 IsEqualTo (lldb::SBTypeFilter &rhs); 33 34 uint32_t 35 GetNumberOfExpressionPaths (); 36 37 const char* 38 GetExpressionPathAtIndex (uint32_t i); 39 40 bool 41 ReplaceExpressionPathAtIndex (uint32_t i, const char* item); 42 43 void 44 AppendExpressionPath (const char* item); 45 46 void 47 Clear(); 48 49 uint32_t 50 GetOptions(); 51 52 void 53 SetOptions (uint32_t); 54 55 bool 56 GetDescription (lldb::SBStream &description, lldb::DescriptionLevel description_level); 57 58 bool 59 operator == (lldb::SBTypeFilter &rhs); 60 61 bool 62 operator != (lldb::SBTypeFilter &rhs); 63 64 %pythoncode %{ 65 __swig_getmethods__["options"] = GetOptions 66 __swig_setmethods__["options"] = SetOptions 67 if _newclass: options = property(GetOptions, SetOptions) 68 69 __swig_getmethods__["count"] = GetNumberOfExpressionPaths 70 if _newclass: count = property(GetNumberOfExpressionPaths, None) 71 %} 72 73 }; 74 75 } // namespace lldb 76