diff options
Diffstat (limited to 'scripts/interface/SBStructuredData.i')
-rw-r--r-- | scripts/interface/SBStructuredData.i | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/scripts/interface/SBStructuredData.i b/scripts/interface/SBStructuredData.i deleted file mode 100644 index d30179c4d48b..000000000000 --- a/scripts/interface/SBStructuredData.i +++ /dev/null @@ -1,64 +0,0 @@ -//===-- SWIG Interface for SBStructuredData ---------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -namespace lldb { - - %feature("docstring", - "A class representing a StructuredData event. - - This class wraps the event type generated by StructuredData - features." - ) SBStructuredData; - class SBStructuredData - { - public: - SBStructuredData(); - - SBStructuredData(const lldb::SBStructuredData &rhs); - - SBStructuredData(const lldb::EventSP &event_sp); - - ~SBStructuredData(); - - bool - IsValid() const; - - void - Clear(); - - lldb::SBStructuredData &operator=(const lldb::SBStructuredData &rhs); - - lldb::StructuredDataType GetType() const; - - size_t GetSize() const; - - bool GetKeys(lldb::SBStringList &keys) const; - - lldb::SBStructuredData GetValueForKey(const char *key) const; - - lldb::SBStructuredData GetItemAtIndex(size_t idx) const; - - uint64_t GetIntegerValue(uint64_t fail_value = 0) const; - - double GetFloatValue(double fail_value = 0.0) const; - - bool GetBooleanValue(bool fail_value = false) const; - - size_t GetStringValue(char *dst, size_t dst_len) const; - - lldb::SBError - GetAsJSON(lldb::SBStream &stream) const; - - lldb::SBError - GetDescription(lldb::SBStream &stream) const; - - lldb::SBError - SetFromJSON(lldb::SBStream &stream); - }; -} |