![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: prbRangeList.h,v $ $Revision: 1.13 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef DtPrbRangeList_H_ 00015 #define DtPrbRangeList_H_ 00016 00017 #include "vrfutil/rdrWritr.h" 00018 #include <vlutil/vlMachineTypes.h> 00019 #include "vrfutil/rwList.h" 00020 00021 class DtString; 00022 class DtReaderWriterRegistry; 00023 class DtPrbRangeTableEntry; 00024 00025 00026 #include "vrfobjparam/vrfobjparamDefines.h" 00027 class DT_DLL_vrfobjparam DtPrbRangeList : public DtRwList 00028 { 00029 public: 00030 00032 DtPrbRangeList(); 00033 00035 DtPrbRangeList(const DtString& name, 00036 DtReaderWriterRegistry* parentRegistry = NULL); 00037 DtPrbRangeList(const DtSymbolString& name, 00038 DtReaderWriterRegistry* parentRegistry = NULL); 00039 00041 DtPrbRangeList(const DtString& name, const 00042 DtPrbRangeList& orig, DtReaderWriterRegistry* 00043 parentRegistry = NULL); 00044 DtPrbRangeList(const DtSymbolString& name, const 00045 DtPrbRangeList& orig, DtReaderWriterRegistry* 00046 parentRegistry = NULL); 00047 00048 const DtPrbRangeList& operator=(const 00049 DtPrbRangeList& orig); 00050 00052 virtual ~DtPrbRangeList(); 00053 00054 virtual DtPrbRangeList* clone(const DtString& name, 00055 DtReaderWriterRegistry* parentRegistry = NULL) const; 00056 virtual DtPrbRangeList* clone(const DtSymbolString& name, 00057 DtReaderWriterRegistry* parentRegistry = NULL) const; 00058 00060 virtual void addTableEntry(const DtPrbRangeTableEntry& 00061 tableEntry); 00062 00068 virtual bool getProbabilities(DtReal range, DtPrbRangeTableEntry * entry) 00069 const; 00070 00073 virtual double minRangeValue() const; 00074 00077 virtual double maxRangeValue() const; 00078 00079 protected: 00080 00082 virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath, 00083 const DtVariableBindingsList& variableBindings); 00084 00087 void emptyList(); 00088 00091 void copyList(const DtPrbRangeList & orig); 00092 00093 virtual void addTableEntry(DtPrbRangeTableEntry * tableEntry); 00094 00095 }; 00096 00097 #endif 00098 00099 00100