VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwIntegerAttributeList.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 <readerWriter/rwList.h>
18 #include <vlutil/vlString.h>
19 
20 #include <map>
21 
23 
30 
31 #include "vrfutil/vrfutilDefines.h"
33 {
34 protected:
35 
38 
39 public:
40 
43  DtReaderWriterRegistry* parentRegistry = NULL);
45  DtReaderWriterRegistry* parentRegistry = NULL);
46 
49  DtReaderWriterRegistry* parentRegistry = NULL);
50 
57  std::map<DtString, int>& orig);
58 
60  virtual ~DtRwIntegerAttributeList();
61 
62  virtual DtRwIntegerAttributeList* clone(DtReaderWriterRegistry* parentRegistry = NULL);
63 
66  virtual bool operator==(const DtRwIntegerAttributeList& rhs) const;
67 
69  virtual void emptyList();
70  virtual void copyList(const DtRwIntegerAttributeList& orig);
71 
72  virtual DtRwIntegerAttribute* addIntegerAttribute(const DtRwIntegerAttribute& integerAttribute);
75  virtual const DtRwIntegerAttribute* findIntegerAttribute(
76  const DtRwIntegerAttribute& attribToFind) const;
77 
81  virtual const char* readerWriterType() const;
82 
84  static const char* theXmlType();
85 
86  virtual const char* xmlType() const
87  {
88  return theXmlType();
89  }
90 
93  virtual std::map<int, DtString> toStdIntMap() const;
94  virtual std::map<DtString, int> toStdStringMap() const;
95  virtual void setFromMap(const std::map<int, DtString>&);
96  virtual void setFromMap(const std::map<DtString, int>&);
98 
99 protected:
100  virtual DtRwIntegerAttribute* addIntegerAttribute(DtRwIntegerAttribute* const integerAttribute);
101 
104  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
105  const DtVariableBindingsList& variableBindings);
106 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)