1 //===-- SBStructuredData.h --------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef SBStructuredData_h
11 #define SBStructuredData_h
13 #include "lldb/API/SBDefines.h"
14 #include "lldb/API/SBModule.h"
18 class SBStructuredData {
22 SBStructuredData(const lldb::SBStructuredData &rhs);
24 SBStructuredData(const lldb::EventSP &event_sp);
28 lldb::SBStructuredData &operator=(const lldb::SBStructuredData &rhs);
32 lldb::SBError SetFromJSON(lldb::SBStream &stream);
36 lldb::SBError GetAsJSON(lldb::SBStream &stream) const;
38 lldb::SBError GetDescription(lldb::SBStream &stream) const;
41 friend class SBTraceOptions;
43 StructuredDataImplUP m_impl_up;
47 #endif /* SBStructuredData_h */