MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrMultiArg.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 lgrMultiArg_H_
11 #define lgrMultiArg_H_
12 
13 #include "lgrArg.h"
14 #include "runtimeValue.h"
16 
17 #include <cmdLine/cmdMultiArg.h>
18 #include <string>
19 #include <vlutil/vlString.h>
20 
21 namespace MAKLogger
22 {
23 
25  template <typename ValueType>
26  class DtLgrMultiArg : public DtCmdLine::MultiArg<ValueType> , public DtLgrArg
27  {
28  public:
29 
30  DtLgrMultiArg(const std::string& flag, const std::string& name,
31  const std::string& desc, bool req, const std::string& typeDesc);
32  virtual ~DtLgrMultiArg();
33 
34  private:
39  public:
40 
42  virtual operator DtCmdLine::Arg*();
43 
45  virtual DtString toDebugString() const;
46 
48  virtual bool isArgSet() const;
49 
51  virtual const DtString& type() const;
52 
54  virtual DtString valueAsString() const;
55 
57  virtual std::vector<DtString> valueAsStringList() const;
58 
60  virtual void setValueString(const DtString& value);
61  };
62 
63 #define lgrMultiArg_INC_
64 #include "lgrMultiArg.inl"
65 #undef lgrMultiArg_INC_
66 
67 }
68 
69 #endif

Document ID: Generated on Thu Apr 7 20:50:59 EDT 2016 from SVN revision 163818
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)