VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwRealAttributeList.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 #include <readerWriter/rwList.h>
18 
19 class DtRwRealAttribute;
20 
27 
28 #include "vrfutil/vrfutilDefines.h"
30 {
31 protected:
32 
35 
36 public:
37 
39  DtRwRealAttributeList(const DtString& name,
40  DtReaderWriterRegistry* parentRegistry = NULL);
41 
43  DtReaderWriterRegistry* parentRegistry = NULL);
44 
47  DtReaderWriterRegistry* parentRegistry = NULL);
48 
54  std::map<DtString, double>& orig);
55 
57  virtual ~DtRwRealAttributeList() override;
58 
59  virtual DtRwRealAttributeList* clone(DtReaderWriterRegistry* parentRegistry = NULL);
60 
63  virtual bool operator==(const DtRwRealAttributeList& rhs) const;
64 
66  virtual void emptyList();
67  virtual void copyList(const DtRwRealAttributeList& orig);
68 
69  virtual DtRwRealAttribute* addRealAttribute(const DtRwRealAttribute& realAttribute);
70 
73  virtual const DtRwRealAttribute* findRealAttribute(
74  const DtRwRealAttribute& attribToFind) const;
75 
79  virtual const char* readerWriterType() const override;
80 
82  static const char* theXmlType();
83 
84  virtual const char* xmlType() const override
85  {
86  return theXmlType();
87  }
88 
89 protected:
90  virtual DtRwRealAttribute* addRealAttribute(DtRwRealAttribute* const realAttribute);
91 
94  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
95  const DtVariableBindingsList& variableBindings) override;
96 };
virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override=0
This method must be overridden by a subclass. Within this method, new instances of the DtReaderWriter...
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
A Readable, Writable version of DtList. This class cannot be used directly, but must be inherited to ...
Definition: rwList.h:26
static const char * theXmlType()
The type that is used when archiving to an XML stream.
Definition: readerWriterRegistry.h:39
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
bool operator==(const DtRwList &rhs) const
Iterates over all items and calls the factory to compare.
class DtRwRealAttributeList:
Definition: rwRealAttributeList.h:29
virtual const char * readerWriterType() const override
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
virtual const char * xmlType() const override
Routines to archive/dearchive from an XML Environment.
Definition: rwRealAttributeList.h:84
const DtRwList & operator=(const DtRwList &orig)
Calls down to DtReaderWriter::operator=(). List elements are not copied.
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
class DtRwRealAttribute:
Definition: rwRealAttribute.h:19

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)