1 //===-- CommandObjectArgs.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_CommandObjectArgs_h_
11 #define liblldb_CommandObjectArgs_h_
15 // Other libraries and framework includes
17 #include "lldb/Interpreter/CommandObject.h"
18 #include "lldb/Interpreter/Options.h"
19 #include "lldb/Core/Language.h"
21 namespace lldb_private {
23 class CommandObjectArgs : public CommandObjectParsed
27 class CommandOptions : public Options
31 CommandOptions (CommandInterpreter &interpreter);
37 SetOptionValue (uint32_t option_idx, const char *option_arg);
40 OptionParsingStarting ();
42 const OptionDefinition*
45 // Options table: Required for subclasses of Options.
47 static OptionDefinition g_option_table[];
50 CommandObjectArgs (CommandInterpreter &interpreter);
53 ~CommandObjectArgs ();
62 CommandOptions m_options;
65 DoExecute ( Args& command,
66 CommandReturnObject &result);
70 } // namespace lldb_private
72 #endif // liblldb_CommandObjectArgs_h_