SBVariablesOptions.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. //===-- SBVariablesOptions.h ------------------------------------------*- C++
  2. //-*-===//
  3. //
  4. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  5. // See https://llvm.org/LICENSE.txt for license information.
  6. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  7. //
  8. //===----------------------------------------------------------------------===//
  9. #ifndef LLDB_API_SBVARIABLESOPTIONS_H
  10. #define LLDB_API_SBVARIABLESOPTIONS_H
  11. #include "lldb/API/SBDefines.h"
  12. class VariablesOptionsImpl;
  13. namespace lldb {
  14. class LLDB_API SBVariablesOptions {
  15. public:
  16. SBVariablesOptions();
  17. SBVariablesOptions(const SBVariablesOptions &options);
  18. SBVariablesOptions &operator=(const SBVariablesOptions &options);
  19. ~SBVariablesOptions();
  20. explicit operator bool() const;
  21. bool IsValid() const;
  22. bool GetIncludeArguments() const;
  23. void SetIncludeArguments(bool);
  24. bool GetIncludeRecognizedArguments(const lldb::SBTarget &) const;
  25. void SetIncludeRecognizedArguments(bool);
  26. bool GetIncludeLocals() const;
  27. void SetIncludeLocals(bool);
  28. bool GetIncludeStatics() const;
  29. void SetIncludeStatics(bool);
  30. bool GetInScopeOnly() const;
  31. void SetInScopeOnly(bool);
  32. bool GetIncludeRuntimeSupportValues() const;
  33. void SetIncludeRuntimeSupportValues(bool);
  34. lldb::DynamicValueType GetUseDynamic() const;
  35. void SetUseDynamic(lldb::DynamicValueType);
  36. protected:
  37. VariablesOptionsImpl *operator->();
  38. const VariablesOptionsImpl *operator->() const;
  39. VariablesOptionsImpl *get();
  40. VariablesOptionsImpl &ref();
  41. const VariablesOptionsImpl &ref() const;
  42. SBVariablesOptions(VariablesOptionsImpl *lldb_object_ptr);
  43. void SetOptions(VariablesOptionsImpl *lldb_object_ptr);
  44. private:
  45. std::unique_ptr<VariablesOptionsImpl> m_opaque_up;
  46. };
  47. } // namespace lldb
  48. #endif // LLDB_API_SBVARIABLESOPTIONS_H