1//===-- OptionGroupVariable.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 liblldb_OptionGroupVariable_h_ 11#define liblldb_OptionGroupVariable_h_ 12 13// C Includes 14// C++ Includes 15// Other libraries and framework includes 16// Project includes 17#include "lldb/Interpreter/OptionValueString.h" 18#include "lldb/Interpreter/Options.h" 19 20namespace lldb_private { 21 22//------------------------------------------------------------------------- 23// OptionGroupVariable 24//------------------------------------------------------------------------- 25 26 class OptionGroupVariable : public OptionGroup 27 { 28 public: 29 OptionGroupVariable (bool show_frame_options); 30 31 ~OptionGroupVariable() override; 32 33 uint32_t 34 GetNumDefinitions() override; 35 36 const OptionDefinition* 37 GetDefinitions() override; 38 39 Error 40 SetOptionValue(CommandInterpreter &interpreter, 41 uint32_t option_idx, 42 const char *option_arg) override; 43 44 void 45 OptionParsingStarting(CommandInterpreter &interpreter) override; 46 47 bool include_frame_options:1, 48 show_args:1, // Frame option only (include_frame_options == true) 49 show_locals:1, // Frame option only (include_frame_options == true) 50 show_globals:1, // Frame option only (include_frame_options == true) 51 use_regex:1, 52 show_scope:1, 53 show_decl:1; 54 OptionValueString summary; // the name of a named summary 55 OptionValueString summary_string; // a summary string 56 57 private: 58 DISALLOW_COPY_AND_ASSIGN(OptionGroupVariable); 59 }; 60 61} // namespace lldb_private 62 63#endif // liblldb_OptionGroupVariable_h_ 64