1 //===-- OptionGroupOutputFile.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_OptionGroupOutputFile_h_
11 #define liblldb_OptionGroupOutputFile_h_
15 // Other libraries and framework includes
17 #include "lldb/Interpreter/Options.h"
18 #include "lldb/Interpreter/OptionValueBoolean.h"
19 #include "lldb/Interpreter/OptionValueFileSpec.h"
21 namespace lldb_private {
22 //-------------------------------------------------------------------------
23 // OptionGroupOutputFile
24 //-------------------------------------------------------------------------
26 class OptionGroupOutputFile : public OptionGroup
30 OptionGroupOutputFile ();
33 ~OptionGroupOutputFile ();
39 virtual const OptionDefinition*
43 SetOptionValue (CommandInterpreter &interpreter,
45 const char *option_value);
48 OptionParsingStarting (CommandInterpreter &interpreter);
50 const OptionValueFileSpec &
56 const OptionValueBoolean &
63 AnyOptionWasSet () const
65 return m_file.OptionWasSet() || m_append.OptionWasSet();
69 OptionValueFileSpec m_file;
70 OptionValueBoolean m_append;
74 } // namespace lldb_private
76 #endif // liblldb_OptionGroupOutputFile_h_