LLDB API Documentation

SBStructuredData.h
Go to the documentation of this file.
1 //===-- SBStructuredData.h --------------------------------------*- 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 #ifndef SBStructuredData_h
11 #define SBStructuredData_h
12 
13 #include "lldb/API/SBDefines.h"
14 #include "lldb/API/SBModule.h"
15 
16 namespace lldb {
17 
19 public:
21 
23 
24  SBStructuredData(const lldb::EventSP &event_sp);
25 
27 
29 
30  bool IsValid() const;
31 
32  void Clear();
33 
34  lldb::SBError GetAsJSON(lldb::SBStream &stream) const;
35 
37 
38 private:
39  class Impl;
40  std::unique_ptr<Impl> m_impl_up;
41 };
42 }
43 
44 #endif /* SBStructuredData_h */
lldb::SBError GetAsJSON(lldb::SBStream &stream) const
bool IsValid() const
lldb::SBStructuredData & operator=(const lldb::SBStructuredData &rhs)
lldb::SBError GetDescription(lldb::SBStream &stream) const