1 //===-- OptionGroupUInt64.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_OptionGroupUInt64_h_
11 #define liblldb_OptionGroupUInt64_h_
15 // Other libraries and framework includes
17 #include "lldb/Interpreter/Options.h"
18 #include "lldb/Interpreter/OptionValueUInt64.h"
20 namespace lldb_private {
21 //-------------------------------------------------------------------------
23 //-------------------------------------------------------------------------
25 class OptionGroupUInt64 : public OptionGroup
29 OptionGroupUInt64 (uint32_t usage_mask,
31 const char *long_option,
33 uint32_t completion_type,
34 lldb::CommandArgumentType argument_type,
35 const char *usage_text,
36 uint64_t default_value);
39 ~OptionGroupUInt64 ();
48 virtual const OptionDefinition*
51 return &m_option_definition;
55 SetOptionValue (CommandInterpreter &interpreter,
57 const char *option_value);
60 OptionParsingStarting (CommandInterpreter &interpreter);
68 const OptionValueUInt64 &
69 GetOptionValue () const
75 OptionValueUInt64 m_value;
76 OptionDefinition m_option_definition;
80 } // namespace lldb_private
82 #endif // liblldb_OptionGroupUInt64_h_