VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rangeProbEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include "vrfutil/rwEntityType.h"
10 #include <vlutil/vlMachineTypes.h>
11 
12 class DtString;
14 class DtPrbValueList;
15 
20 {
21 
22 protected:
25 
28  parentRegistry = NULL);
30  parentRegistry = NULL);
31 
33  DtRangeProbEntry(const DtString& name, const
35  parentRegistry = NULL);
36  DtRangeProbEntry(const DtSymbolString& name, const
38  parentRegistry = NULL);
39 
40  const DtRangeProbEntry& operator=(const DtRangeProbEntry& orig);
41 
42 public:
43 
45  virtual ~DtRangeProbEntry();
46 
47  virtual DtRangeProbEntry* clone(const DtString& name,
48  DtReaderWriterRegistry* parentRegistry = NULL) const = 0;
49  virtual DtRangeProbEntry* clone(const DtSymbolString& name,
50  DtReaderWriterRegistry* parentRegistry = NULL) const = 0;
51 
56  virtual void getProbabilities(DtReal range, DtPrbValueList* entry) = 0;
57 
62  virtual void setEntityType(const DtEntityType& entityType);
63  virtual const DtRwEntityType& entityType() const;
65 
67  virtual bool isValid() const = 0;
68 
70  virtual double solveForMaximum() const = 0;
71 
72  virtual bool operator==(const DtRangeProbEntry&) const;
73  bool operator!=(const DtRangeProbEntry& rhs) const
74  {
75  return !(*this == rhs);
76  }
77 
78 protected:
82 
87 
89 };
bool operator==(const DtReaderWriter &) const
Equivalence operator.
DtRangeProbEntry is an abstract class whose deriving classes will have one of the two forms of DtPrbD...
Definition: rangeProbEntry.h:19
Definition: symbolString.h:20
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
Definition: readerWriter.h:85
Definition: readerWriterRegistry.h:39
bool operator!=(const DtRangeProbEntry &rhs) const
Definition: rangeProbEntry.h:73
DtPrbValueList.
Definition: prbValueList.h:19
DtRwEntityType myEntityType
Parameter Name: entity-type Parameter Description: Parameter Default Value: .
Definition: rangeProbEntry.h:86
File: rwEntType.h.
Definition: rwEntityType.h:23
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)