MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrAppCommandLine.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2026 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrAppCommandLine_H_
10 #define lgrAppCommandLine_H_
11 
12 #include "lgrApp.h"
14 #include <map>
15 #include <vector>
16 
17 namespace DtCmdLine
18 {
19  class CmdLine;
20  class Arg;
21 }
22 
23 namespace MAKLogger
24 {
25  class DtLgrArg;
26  class DtLoggerAppConfigLoader;
27  class DtLgrCmdLine;
28 
31  {
32  public:
34  virtual ~DtLgrAppCommandLine();
35 
36  private:
40  DtLgrAppCommandLine& operator=(const DtLgrAppCommandLine&);
41  public:
42 
45  virtual void processCommandLine(int argc,char** argv);
46 
48  virtual bool isArgumentSet(const DtString& name) const;
49 
52  virtual std::vector<DtString> argumentValueAsStringList(const DtString& name) const;
53 
54  protected:
55 
57  virtual void initializeArguments(DtLgrCmdLine& cmdLine);
58 
63  virtual void addArgument(DtLgrCmdLine& cmdLine,DtLgrArg* arg, bool isUnlabeled=false);
64 
66 
67  typedef std::map<DtString,DtLgrArg*> ArgumentMap;
69 
70  };
71 }
72 
73 #endif
#define DT_VIRTUAL_CTR(CLASS_NAME, ARG_TYPES_LIST)
Declare a Virtual Constructor Create using DT_VIRTUAL_CTR(CLASS_NAME,ARG_TYPES_LIST) Where CLASS_NAME...
Definition: virtualConstructor.h:34
std::map< DtString, DtLgrArg * > ArgumentMap
Definition: lgrAppCommandLine.h:67
Contains DT_VIRTUAL_CTR DT_VIRTUAL_CTR_DEFAULTS DT_VIRTUAL_COPY_ASSIGN DT_VIRTUAL_BASE_CTR DT_PURE_VI...
The logger application configuration file loader.
Definition: lgrConfigLoader.h:30
Command line processor.
Definition: lgrAppCommandLine.h:30
ArgumentMap myArguments
Definition: lgrAppCommandLine.h:68
Logger Command line object for parsing command input.
Definition: lgrAppCmdLine.h:19
Base logger argument which contains the interface for DtLgrValueArg.
Definition: lgrArg.h:21
Contains IMPORT/EXPORTS for library and the definition of DtLoggerApp class.
DtLoggerAppConfigLoader * myLoader
Definition: lgrAppCommandLine.h:65
#define DT_DLL_LGRAPP
Definition: lgrApp.h:20

Document ID: Generated on Tue Nov 17 15:25:07 EST 2026 from SVN revision 298446
Copyright © 2026 MAK Technologies. All Rights Reserved (www.mak.com)