VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
nLengthIntegerVector.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/readerWriter.h"
19 
21 
26 
27 #include "vrfutil/vrfutilDefines.h"
29 {
30 public:
33 
36  parentRegistry = NULL);
38  parentRegistry = NULL);
39 
42  DtReaderWriterRegistry* parentRegistry = NULL);
43 
46 
47  virtual ~DtNLengthIntegerVector();
48 
50  parentRegistry = NULL) const;
51 
53  virtual void setVectorLength(int length);
54  virtual int vectorLength() const;
55 
56  virtual int& operator[] (const int i);
57  virtual int value(const int i) const;
58 
59  virtual void putData(std::string& fp, int indentLevel = 0);
60  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
61  const DtVariableBindingsList& variableBindings);
62 
63  virtual void copyVector(const DtNLengthIntegerVector & vector);
64 
68  virtual const char* readerWriterType() const;
69 
71  virtual bool operator==(const DtNLengthIntegerVector&) const;
72  virtual bool operator!=(const DtNLengthIntegerVector&) const;
73 
76  virtual void putData(DtEnvironmentSP, DtEnvValueSP parent) const;
77  virtual void getData(const DtEnvironmentSP, const DtEnvValueSP value,
80 
82  static const char* theXmlType();
83 
84  virtual const char* xmlType() const
85  {
86  return theXmlType();
87  }
88  virtual void stringToIntList(const DtString& string);
89  virtual DtString intListToString() const;
91 
92 protected:
93  int* myIntegers;
95 };
96 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)