MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
lgrUtil
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
16
#include "
replacedCmdUnlabledMultiArg.h
"
17
18
#include <string>
19
#include <vlutil/vlString.h>
20
21
namespace
MAKLogger
22
{
24
template
<
typename
ValueType>
25
class
DtLgrUnlabledValueArg
:
public
MAKLogger::ReplacedUnlabeledMultiArg
<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
:
35
DtLgrUnlabledValueArg
(
const
DtLgrUnlabledValueArg
&);
37
DtLgrUnlabledValueArg
&
operator=
(
const
DtLgrUnlabledValueArg
&);
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 Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (
www.mak.com
)