VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 "vrfutil/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);
44  DtRwIntegerAttributeList(const DtSymbolString& name,
45  DtReaderWriterRegistry* parentRegistry = NULL);
46 
49  DtReaderWriterRegistry* parentRegistry = NULL);
50 
56 
58  virtual ~DtRwIntegerAttributeList();
59 
60  virtual DtRwIntegerAttributeList* clone(DtReaderWriterRegistry* parentRegistry = NULL);
61 
64  virtual bool operator==(const DtRwIntegerAttributeList& rhs) const;
65 
67  virtual void emptyList();
68  virtual void copyList(const DtRwIntegerAttributeList& orig);
69 
70  virtual DtRwIntegerAttribute* addIntegerAttribute(const DtRwIntegerAttribute& integerAttribute);
73  virtual const DtRwIntegerAttribute* findIntegerAttribute(
74  const DtRwIntegerAttribute& attribToFind) const;
75 
79  virtual const char* readerWriterType() const;
80 
82  static const char* theXmlType();
83 
84  virtual const char* xmlType() const
85  {
86  return theXmlType();
87  }
88 
91  virtual std::map<int, DtString> toStdIntMap() const;
92  virtual std::map<DtString, int> toStdStringMap() const;
93  virtual void setFromMap(const std::map<int, DtString>&);
94  virtual void setFromMap(const std::map<DtString, int>&);
96 
97 protected:
98  virtual DtRwIntegerAttribute* addIntegerAttribute(DtRwIntegerAttribute* const integerAttribute);
99 
102  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
103  const DtVariableBindingsList& variableBindings);
104 };

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)