VR-Forces 4.1.1 Class Documentation
nLenRealVec.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999-2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: nLenRealVec.h,v $ $Revision: 1.9 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 #ifndef DtNLengthRealVector_H_
19 #define DtNLengthRealVector_H_
20 
21 #include <vlutil/vlMachineTypes.h>
22 #include "vrfutil/rdrWritr.h"
23 
25 
29 #include "vrfutil/vrfutilDefines.h"
31 {
32 public:
35 
38  parentRegistry = NULL);
40  parentRegistry = NULL);
41 
44  DtReaderWriterRegistry* parentRegistry = NULL);
45 
48 
49  virtual ~DtNLengthRealVector();
50 
51  virtual DtNLengthRealVector* clone(DtReaderWriterRegistry* parentRegistry = 0) const;
52 
55  virtual void setVectorLength(int length);
56  virtual int vectorLength() const;
57 
58  virtual DtReal& operator[] (const int i);
59  virtual DtReal value(const int i) const;
60 
61  virtual void putData(FILE * fp, int indentLevel = 0);
62  virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
63  const DtVariableBindingsList& variableBindings);
64 
65  virtual void copyVector(const DtNLengthRealVector & vector);
66 
70  virtual const char* readerWriterType() const;
71 
72 protected:
73  DtReal* myReals;
75 };
76 
77 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)