VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfSubObjectParameterList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <readerWriter/rwList.h>
15 
17 
20 #include "vrfutil/vrfutilDefines.h"
22 {
23 public:
24 
26  {
28  void operator()(DtReaderWriter* rwObject)
29  {
30  myList->addSubObjectEntry(*static_cast<DtVrfSubObjectParameterEntry*>(rwObject));
31  }
33  };
34 
36  DtVrfSubObjectParameterList(const DtString& name = DtString::nullString(),
37  DtReaderWriterRegistry* parentRegistry = NULL);
39  DtReaderWriterRegistry* parentRegistry = NULL);
40 
43  const DtString& name = DtString::nullString(),
44  DtReaderWriterRegistry* parentRegistry = NULL);
46  const DtSymbolString& name,
47  DtReaderWriterRegistry* parentRegistry = NULL);
48 
50  const DtVrfSubObjectParameterList& orig);
51 
53  virtual ~DtVrfSubObjectParameterList();
54 
55  virtual DtVrfSubObjectParameterList* clone(
56  const DtString& name = DtString::nullString(),
57  DtReaderWriterRegistry* parentRegistry = NULL) const;
58  virtual DtVrfSubObjectParameterList* clone(
59  const DtSymbolString& name,
60  DtReaderWriterRegistry* parentRegistry = NULL) const;
61 
62  virtual DtVrfSubObjectParameterEntry* addSubObjectEntry(
63  const DtVrfSubObjectParameterEntry& subEntry);
64 
68  virtual void removeSubObjectEntry(const DtVrfSubObjectParameterEntry* subEntry);
69 
71  bool operator==(const DtVrfSubObjectParameterList&) const;
72  bool operator!=(const DtVrfSubObjectParameterList&) const;
73 
74  virtual const char* readerWriterType() const;
75 
77  virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
78  const DtVariableBindingsList& variableBindings);
79 
82  virtual void getData(const DtEnvironmentSP, const DtEnvValueSP value,
85 
87  static const char* theXmlType();
88 
89  virtual const char* xmlType() const
90  {
91  return theXmlType();
92  }
93 
95  virtual std::set<DtString> supportedXmlTypes() const;
97 
99  virtual std::vector<DtObjectType> subordinateObjects() const;
100 
101 protected:
102 
105  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
106  const DtVariableBindingsList& variableBindings);
107 
108  virtual void emptyList();
109  virtual void copyList(const DtVrfSubObjectParameterList & orig);
110 
111  virtual DtVrfSubObjectParameterEntry* addSubObjectEntry(
112  DtVrfSubObjectParameterEntry* subEntry);
113 };

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)