VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 "vrfutil/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);
38  DtVrfSubObjectParameterList(const DtSymbolString& name,
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 
98 protected:
99 
102  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
103  const DtVariableBindingsList& variableBindings);
104 
105  virtual void emptyList();
106  virtual void copyList(const DtVrfSubObjectParameterList & orig);
107 
108  virtual DtVrfSubObjectParameterEntry* addSubObjectEntry(
109  DtVrfSubObjectParameterEntry* subEntry);
110 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)