MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrArg.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 #pragma once
11 
12 #include <vector>
13 
14 class DtString;
15 namespace DtCmdLine { class Arg;}
16 
17 namespace MAKLogger
18 {
21  class DtLgrArg
22  {
23  public:
24 
27 
29  virtual ~DtLgrArg(){}
30 
32  virtual operator DtCmdLine::Arg*() = 0;
33 
35  virtual DtString toDebugString() const = 0;
36 
38  virtual bool isArgSet() const = 0;
39 
41  virtual const DtString& type() const = 0;
42 
44  virtual DtString valueAsString() const = 0;
45 
47  virtual std::vector<DtString> valueAsStringList() const = 0;
48 
50  virtual void setValueString(const DtString& value) = 0;
51  };
52 
53 }
virtual ~DtLgrArg()
Destructor.
Definition: lgrArg.h:29
virtual DtString valueAsString() const =0
Get the value of the argument as a string.
virtual void setValueString(const DtString &value)=0
Set the value of the argument as a string.
virtual const DtString & type() const =0
Get the type of the argument (A Runtime type).
virtual bool isArgSet() const =0
Get whether the argument was set.
virtual DtString toDebugString() const =0
Get the debug output of the argument for error messages.
Base logger argument which contains the interface for DtLgrValueArg.
Definition: lgrArg.h:21
DtLgrArg()
Base Constructor.
Definition: lgrArg.h:26
virtual std::vector< DtString > valueAsStringList() const =0
Get the value of the argument as a string.

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)