MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrUnlabledMultiArg.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef lgrUnlabledMultiArg_H_
11 #define lgrUnlabledMultiArg_H_
12 
13 #include "lgrArg.h"
14 #include "runtimeValue.h"
15 
17 
18 #include <string>
19 #include <vlutil/vlString.h>
20 
21 namespace MAKLogger
22 {
24  template <typename ValueType>
26  public DtLgrArg
27  {
28  public:
29  DtLgrUnlabledValueArg(const std::string& name, const std::string& desc,
30  bool req, ValueType value, const std::string& typeDesc);
31  virtual ~DtLgrUnlabledValueArg();
32 
33  private:
38  public:
39 
41  virtual operator DtCmdLine::Arg*();
42 
43  virtual DtString toDebugString() const;
44  virtual bool isArgSet() const;
45  virtual const DtString& type() const;
46  virtual DtString valueAsString() const;
47 
49  virtual std::vector<DtString> valueAsStringList() const;
50 
51  virtual void setValueString(const DtString& value);
52  };
53 
54 #define lgrUnlabledMultiArg_INC_
55 #include "lgrUnlabledMultiArg.inl"
56 #undef lgrUnlabledMultiArg_INC_
57 
58 }
59 
60 #endif
virtual DtString toDebugString() const
Get the debug output of the argument for error messages.
Definition: lgrUnlabledMultiArg.h:29
This file declares the class DtCmdLine::ReplacedUnlabeledMultiArg.
DtLgrUnlabledValueArg(const std::string &name, const std::string &desc, bool req, ValueType value, const std::string &typeDesc)
Definition: lgrUnlabledMultiArg.h:15
Contains MAKLogger::DtAnyValue and MAKLogger::DtValue and MAKLogger::DtValueList classes.
Just like a MultiArg, except that the DtCmdLine::Arguments are unlabeled.
Definition: replacedCmdUnlabledMultiArg.h:42
virtual ~DtLgrUnlabledValueArg()
Definition: lgrUnlabledMultiArg.h:24
virtual void setValueString(const DtString &value)
Set the value of the argument as a string.
Definition: lgrUnlabledMultiArg.h:76
DtLgrUnlabledValueArg & operator=(const DtLgrUnlabledValueArg &)
Not Implemented.
Contains MAKLogger::DtLgrValueArg and MAKLogger::DtLgrArg and MAKLogger::DtLgrMultiArg and MAKLogger:...
Base logger argument which contains the interface for DtLgrValueArg.
Definition: lgrArg.h:21
virtual const DtString & type() const
Get the type of the argument (A Runtime type).
Definition: lgrUnlabledMultiArg.h:48
Logger version of the Unlabeled Value Argument.
Definition: lgrUnlabledMultiArg.h:25
virtual std::vector< DtString > valueAsStringList() const
Get the value of the argument as a string.
Definition: lgrUnlabledMultiArg.h:62
virtual bool isArgSet() const
Get whether the argument was set.
Definition: lgrUnlabledMultiArg.h:35
virtual DtString valueAsString() const
Get the value of the argument as a string.
Definition: lgrUnlabledMultiArg.h:54

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)