1 //===-- MICmdCmdSymbol.h ----------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Overview: CMICmdCmdSymbolListLines interface.
11 // To implement new MI commands derive a new command class from the
13 // class. To enable the new command for interpretation add the new
15 // to the command factory. The files of relevance are:
19 // For an introduction to adding a new command see
20 // CMICmdCmdSupportInfoMiCmdQuery
21 // command class as an example.
25 // Third party headers:
28 #include "MICmdBase.h"
29 #include "MICmnMIValueList.h"
32 //============================================================================
33 // Details: MI command class. MI commands derived from the command base class.
34 // *this class implements MI command "symbol-list-lines".
36 class CMICmdCmdSymbolListLines : public CMICmdBase {
39 // Required by the CMICmdFactory when registering *this command
40 static CMICmdBase *CreateSelf();
44 /* ctor */ CMICmdCmdSymbolListLines();
48 // From CMICmdInvoker::ICmd
49 bool Execute() override;
50 bool Acknowledge() override;
51 bool ParseArgs() override;
53 /* dtor */ ~CMICmdCmdSymbolListLines() override;
57 CMICmnMIValueList m_resultList;
58 const CMIUtilString m_constStrArgNameFile;