VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
baseTableFunction.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 #pragma once
9 
10 #include <vlutil/vlMachineTypes.h>
11 #include "vrfutil/readerWriter.h"
12 
23 
24 #include "vrfutil/vrfutilDefines.h"
26 {
27 public:
28 
31 
34  parentRegistry = NULL);
36  parentRegistry = NULL);
37 
39  virtual ~DtBaseTableFunction();
40 
43 
45  DtBaseTableFunction(const DtString& name, const DtBaseTableFunction& orig,
46  DtReaderWriterRegistry* parentRegistry = NULL);
47 
48  DtBaseTableFunction(const DtSymbolString& name, const DtBaseTableFunction& orig,
49  DtReaderWriterRegistry* parentRegistry = NULL);
50 
53 
55  virtual bool init(DtU32 dim);
56 
58  virtual DtReal lookup(DtReal coordinate1,...) const=0;
59  virtual DtReal lookup(const DtReal * coordinates) const=0;
60 
62  virtual DtReal integrate(DtReal lower0, DtReal upper0,...) const=0;
63 
65  virtual DtU32 dim() const;
66 
68  virtual void putData(std::string& fp, int indentLevel=0)=0;
69  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
70  const DtVariableBindingsList& variableBindings) = 0;
71 
75  virtual const char* readerWriterType() const;
76 
77 protected:
78 
79  DtU32 * myN;
80  DtU32 myDim;
81 
82 };

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)