LLDB API Documentation

SBVariablesOptions.h
Go to the documentation of this file.
1 //===-- SBVariablesOptions.h ------------------------------------------*- C++
2 //-*-===//
3 //
4 // The LLVM Compiler Infrastructure
5 //
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10 
11 #ifndef LLDB_SBVariablesOptions_h_
12 #define LLDB_SBVariablesOptions_h_
13 
14 #include "lldb/API/SBDefines.h"
15 
16 class VariablesOptionsImpl;
17 
18 namespace lldb {
19 
20 class LLDB_API SBVariablesOptions {
21 public:
23 
24  SBVariablesOptions(const SBVariablesOptions &options);
25 
26  SBVariablesOptions &operator=(const SBVariablesOptions &options);
27 
29 
30  bool IsValid() const;
31 
32  bool GetIncludeArguments() const;
33 
34  void SetIncludeArguments(bool);
35 
36  bool GetIncludeLocals() const;
37 
38  void SetIncludeLocals(bool);
39 
40  bool GetIncludeStatics() const;
41 
42  void SetIncludeStatics(bool);
43 
44  bool GetInScopeOnly() const;
45 
46  void SetInScopeOnly(bool);
47 
48  bool GetIncludeRuntimeSupportValues() const;
49 
50  void SetIncludeRuntimeSupportValues(bool);
51 
52  lldb::DynamicValueType GetUseDynamic() const;
53 
54  void SetUseDynamic(lldb::DynamicValueType);
55 
56 protected:
57  VariablesOptionsImpl *operator->();
58 
59  const VariablesOptionsImpl *operator->() const;
60 
61  VariablesOptionsImpl *get();
62 
63  VariablesOptionsImpl &ref();
64 
65  const VariablesOptionsImpl &ref() const;
66 
67  SBVariablesOptions(VariablesOptionsImpl *lldb_object_ptr);
68 
69  void SetOptions(VariablesOptionsImpl *lldb_object_ptr);
70 
71 private:
72  std::unique_ptr<VariablesOptionsImpl> m_opaque_ap;
73 };
74 
75 } // namespace lldb
76 
77 #endif // LLDB_SBValue_h_
class LLDB_API SBVariablesOptions
Definition: SBDefines.h:96