1 //===-- OptionGroupVariable.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 liblldb_OptionGroupVariable_h_
11 #define liblldb_OptionGroupVariable_h_
15 // Other libraries and framework includes
17 #include "lldb/Interpreter/OptionValueString.h"
18 #include "lldb/Interpreter/Options.h"
20 namespace lldb_private {
22 //-------------------------------------------------------------------------
23 // OptionGroupVariable
24 //-------------------------------------------------------------------------
26 class OptionGroupVariable : public OptionGroup
30 OptionGroupVariable (bool show_frame_options);
33 ~OptionGroupVariable ();
38 virtual const OptionDefinition*
42 SetOptionValue (CommandInterpreter &interpreter,
44 const char *option_arg);
47 OptionParsingStarting (CommandInterpreter &interpreter);
49 bool include_frame_options:1,
50 show_args:1, // Frame option only (include_frame_options == true)
51 show_locals:1, // Frame option only (include_frame_options == true)
52 show_globals:1, // Frame option only (include_frame_options == true)
56 OptionValueString summary; // the name of a named summary
57 OptionValueString summary_string; // a summary string
60 DISALLOW_COPY_AND_ASSIGN(OptionGroupVariable);
63 } // namespace lldb_private
65 #endif // liblldb_OptionGroupVariable_h_