1 //===-- MICmdCmdSupportInfo.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 //===----------------------------------------------------------------------===//
11 // File: MICmdCmdSupportInfo.h
13 // Overview: CMICmdCmdSupportInfoMiCmdQuery interface.
15 // To implement new MI commands derive a new command class from the command base
16 // class. To enable the new command for interpretation add the new command class
17 // to the command factory. The files of relevance are:
21 // For an introduction to adding a new command see CMICmdCmdSupportInfoMiCmdQuery
22 // command class as an example.
24 // Environment: Compilers: Visual C++ 12.
25 // gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
26 // Libraries: See MIReadmetxt.
34 #include "MICmdBase.h"
36 //++ ============================================================================
37 // Details: MI command class. MI commands derived from the command base class.
38 // *this class implements MI command "info-gdb-mi-command".
39 // This command does not follow the MI documentation exactly.
41 // Authors: Illya Rudkin 06/05/2014.
44 class CMICmdCmdSupportInfoMiCmdQuery : public CMICmdBase
48 // Required by the CMICmdFactory when registering *this command
49 static CMICmdBase * CreateSelf( void );
53 /* ctor */ CMICmdCmdSupportInfoMiCmdQuery( void );
57 // From CMICmdInvoker::ICmd
58 virtual bool Execute( void );
59 virtual bool Acknowledge( void );
60 virtual bool ParseArgs( void );
62 /* dtor */ virtual ~CMICmdCmdSupportInfoMiCmdQuery( void );
66 bool m_bCmdFound; // True = query for the command in command factory found, false = not found not recognised
67 const CMIUtilString m_constStrArgCmdName;