diff options
Diffstat (limited to 'include/lldb/API/SBTypeFilter.h')
-rw-r--r-- | include/lldb/API/SBTypeFilter.h | 131 |
1 files changed, 56 insertions, 75 deletions
diff --git a/include/lldb/API/SBTypeFilter.h b/include/lldb/API/SBTypeFilter.h index f030b6a99b60..19888ba7cfb6 100644 --- a/include/lldb/API/SBTypeFilter.h +++ b/include/lldb/API/SBTypeFilter.h @@ -1,4 +1,5 @@ -//===-- SBTypeFilter.h --------------------------------------------*- C++ -*-===// +//===-- SBTypeFilter.h --------------------------------------------*- C++ +//-*-===// // // The LLVM Compiler Infrastructure // @@ -13,80 +14,60 @@ #include "lldb/API/SBDefines.h" namespace lldb { - - class LLDB_API SBTypeFilter - { - public: - - SBTypeFilter(); - - SBTypeFilter (uint32_t options); // see lldb::eTypeOption values - - SBTypeFilter (const lldb::SBTypeFilter &rhs); - - ~SBTypeFilter (); - - bool - IsValid() const; - - uint32_t - GetNumberOfExpressionPaths (); - - const char* - GetExpressionPathAtIndex (uint32_t i); - - bool - ReplaceExpressionPathAtIndex (uint32_t i, const char* item); - - void - AppendExpressionPath (const char* item); - - void - Clear(); - - uint32_t - GetOptions(); - - void - SetOptions (uint32_t); - - bool - GetDescription (lldb::SBStream &description, - lldb::DescriptionLevel description_level); - - lldb::SBTypeFilter & - operator = (const lldb::SBTypeFilter &rhs); - - bool - IsEqualTo (lldb::SBTypeFilter &rhs); - - bool - operator == (lldb::SBTypeFilter &rhs); - - bool - operator != (lldb::SBTypeFilter &rhs); - - protected: - friend class SBDebugger; - friend class SBTypeCategory; - friend class SBValue; - - lldb::TypeFilterImplSP - GetSP (); - - void - SetSP (const lldb::TypeFilterImplSP &typefilter_impl_sp); - - lldb::TypeFilterImplSP m_opaque_sp; - - SBTypeFilter (const lldb::TypeFilterImplSP &); - - bool - CopyOnWrite_Impl(); - - }; - - + +class LLDB_API SBTypeFilter { +public: + SBTypeFilter(); + + SBTypeFilter(uint32_t options); // see lldb::eTypeOption values + + SBTypeFilter(const lldb::SBTypeFilter &rhs); + + ~SBTypeFilter(); + + bool IsValid() const; + + uint32_t GetNumberOfExpressionPaths(); + + const char *GetExpressionPathAtIndex(uint32_t i); + + bool ReplaceExpressionPathAtIndex(uint32_t i, const char *item); + + void AppendExpressionPath(const char *item); + + void Clear(); + + uint32_t GetOptions(); + + void SetOptions(uint32_t); + + bool GetDescription(lldb::SBStream &description, + lldb::DescriptionLevel description_level); + + lldb::SBTypeFilter &operator=(const lldb::SBTypeFilter &rhs); + + bool IsEqualTo(lldb::SBTypeFilter &rhs); + + bool operator==(lldb::SBTypeFilter &rhs); + + bool operator!=(lldb::SBTypeFilter &rhs); + +protected: + friend class SBDebugger; + friend class SBTypeCategory; + friend class SBValue; + + lldb::TypeFilterImplSP GetSP(); + + void SetSP(const lldb::TypeFilterImplSP &typefilter_impl_sp); + + lldb::TypeFilterImplSP m_opaque_sp; + + SBTypeFilter(const lldb::TypeFilterImplSP &); + + bool CopyOnWrite_Impl(); +}; + } // namespace lldb #endif // LLDB_SBTypeFilter_h_ |