VR-Forces 4.2 Class Documentation
nLenRealVec.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 #include <vlutil/vlMachineTypes.h>
18 #include "vrfutil/rdrWritr.h"
19 
21 
25 #include "vrfutil/vrfutilDefines.h"
27 {
28 public:
31 
34  parentRegistry = NULL);
35  DtNLengthRealVector(const DtSymbolString& name, DtReaderWriterRegistry*
36  parentRegistry = NULL);
37 
40  DtReaderWriterRegistry* parentRegistry = NULL);
41 
44 
45  virtual ~DtNLengthRealVector();
46 
47  virtual DtNLengthRealVector* clone(DtReaderWriterRegistry* parentRegistry = 0) const;
48 
49  bool operator==(const DtNLengthRealVector&) const;
50 
53  virtual void setVectorLength(int length);
54  virtual int vectorLength() const;
55 
56  virtual DtReal& operator[] (const int i);
57  virtual DtReal value(const int i) const;
58 
59  virtual void putData(FILE * fp, int indentLevel = 0);
60  virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
61  const DtVariableBindingsList& variableBindings);
62 
63  virtual void copyVector(const DtNLengthRealVector & vector);
64 
68  virtual const char* readerWriterType() const;
69 
70 protected:
71  DtReal* myReals;
73 };

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)