Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:42:43

0001 //===-- SBVariablesOptions.h ------------------------------------------*- C++
0002 //-*-===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 #ifndef LLDB_API_SBVARIABLESOPTIONS_H
0011 #define LLDB_API_SBVARIABLESOPTIONS_H
0012 
0013 #include "lldb/API/SBDefines.h"
0014 
0015 class VariablesOptionsImpl;
0016 
0017 namespace lldb {
0018 
0019 class LLDB_API SBVariablesOptions {
0020 public:
0021   SBVariablesOptions();
0022 
0023   SBVariablesOptions(const SBVariablesOptions &options);
0024 
0025   SBVariablesOptions &operator=(const SBVariablesOptions &options);
0026 
0027   ~SBVariablesOptions();
0028 
0029   explicit operator bool() const;
0030 
0031   bool IsValid() const;
0032 
0033   bool GetIncludeArguments() const;
0034 
0035   void SetIncludeArguments(bool);
0036 
0037   bool GetIncludeRecognizedArguments(const lldb::SBTarget &) const;
0038 
0039   void SetIncludeRecognizedArguments(bool);
0040 
0041   bool GetIncludeLocals() const;
0042 
0043   void SetIncludeLocals(bool);
0044 
0045   bool GetIncludeStatics() const;
0046 
0047   void SetIncludeStatics(bool);
0048 
0049   bool GetInScopeOnly() const;
0050 
0051   void SetInScopeOnly(bool);
0052 
0053   bool GetIncludeRuntimeSupportValues() const;
0054 
0055   void SetIncludeRuntimeSupportValues(bool);
0056 
0057   lldb::DynamicValueType GetUseDynamic() const;
0058 
0059   void SetUseDynamic(lldb::DynamicValueType);
0060 
0061 protected:
0062   VariablesOptionsImpl *operator->();
0063 
0064   const VariablesOptionsImpl *operator->() const;
0065 
0066   VariablesOptionsImpl *get();
0067 
0068   VariablesOptionsImpl &ref();
0069 
0070   const VariablesOptionsImpl &ref() const;
0071 
0072   SBVariablesOptions(VariablesOptionsImpl *lldb_object_ptr);
0073 
0074   void SetOptions(VariablesOptionsImpl *lldb_object_ptr);
0075 
0076 private:
0077   std::unique_ptr<VariablesOptionsImpl> m_opaque_up;
0078 };
0079 
0080 } // namespace lldb
0081 
0082 #endif // LLDB_API_SBVARIABLESOPTIONS_H