MAK Data Logger API Documentation for HLA
lgrUnlabledMultiArg.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
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

Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)