VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjparam
pathCostEntry.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <
readerWriter/readerWriter.h
>
12
#include <
readerWriter/rwReal.h
>
13
#include <
readerWriter/rwString.h
>
14
#include "
vrfutil/rwTemplatedList.h
"
15
#include "
vrfobjparam/vrfobjparamDefines.h
"
16
17
class
DT_DLL_vrfobjparam
DtPathCostEntry
:
public
DtReaderWriter
18
{
19
public
:
20
22
DtPathCostEntry
();
23
25
DtPathCostEntry
(
const
DtString
& name,
DtReaderWriterRegistry
*
const
26
parentRegistry = NULL);
27
DtPathCostEntry
(
const
DtSymbolString
& name,
DtReaderWriterRegistry
*
const
28
parentRegistry = NULL);
29
31
virtual
~
DtPathCostEntry
();
32
34
DtPathCostEntry
(
const
DtString
& name,
const
DtPathCostEntry
& orig,
35
DtReaderWriterRegistry
* parentRegistry = NULL);
36
DtPathCostEntry
(
const
DtSymbolString
& name,
const
DtPathCostEntry
& orig,
37
DtReaderWriterRegistry
* parentRegistry = NULL);
38
40
DtPathCostEntry
&
operator=
(
const
DtPathCostEntry
& orig);
41
43
44
virtual
DtString
soilName()
const
;
45
virtual
void
setSoilName(
const
DtString
& v);
47
48
virtual
DtString
semanticTag()
const
;
49
virtual
void
setSemanticTag(
const
DtString
& v);
50
52
53
virtual
double
pathCost()
const
;
54
virtual
void
setPathCost(
double
v);
56
57
bool
operator==
(
const
DtPathCostEntry
&)
const
;
58
bool
operator!=
(
const
DtPathCostEntry
& rhs)
const
{
return
!(*
this
== rhs); };
59
63
virtual
const
char
*
readerWriterType
()
const
;
64
66
static
const
char
*
theXmlType
();
67
68
virtual
const
char
*
xmlType
()
const
69
{
70
return
theXmlType
();
71
}
72
73
protected
:
74
78
82
DtRwString
mySoilName
;
83
86
DtRwString
mySemanticTag
;
87
93
DtRwReal
myPathCost
;
94
96
};
97
99
typedef
DtRwTemplatedListPtr<DtPathCostEntry, true>
DtPathCostEntryList
;
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)