VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simReportList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <readerWriter/rwList.h>
12 
13 class DtSimReport;
14 
23 {
24 public:
26  DtSimReportList(const DtString& name,
27  DtReaderWriterRegistry* parentRegistry = NULL);
28  DtSimReportList(const DtSymbolString& name,
29  DtReaderWriterRegistry* parentRegistry = NULL);
30 
33  DtSimReportList(const DtString& name,
34  const DtSimReportList& orig,
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
37  DtSimReportList(const DtSymbolString& name,
38  const DtSimReportList& orig,
39  DtReaderWriterRegistry* parentRegistry = NULL);
40 
42  virtual ~DtSimReportList();
43 
46  virtual const DtSimReportList & operator=(const DtSimReportList & orig);
47 
49  virtual DtListItem* add(DtSimReport* report);
50 
52  virtual DtListItem* addToEnd(DtSimReport* report);
53 
55  virtual DtListItem* addToStart(DtSimReport* report);
56 
59  virtual DtSimReport* remove(DtSimReport* report, DtListItem* item);
60 
62  virtual void removeAndDelete(DtListItem* data);
63 
65  virtual void removeAndDeleteAll();
66 
67  virtual void copyList(const DtSimReportList&);
68 
69 protected:
71  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
72  const DtVariableBindingsList& variableBindings);
73 
74 
75 };
76 
virtual DtListItem * addToStart(DtReaderWriter *data)
Add element to the beginning of the list. Returns the DtListItem envelope object that contains your n...
Definition: symbolString.h:20
A Readable, Writable version of DtList. This class cannot be used directly, but must be inherited to ...
Definition: rwList.h:26
virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)=0
This method must be overridden by a subclass. Within this method, new instances of the DtReaderWriter...
Definition: readerWriterRegistry.h:39
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
a RW List which holds arbitrary subtypes of DtSimReport. This list used the report factory stored in ...
Definition: simReportList.h:22
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
virtual DtListItem * add(DtReaderWriter *data)
Add element to the end of the list. Returns the DtListItem envelope object that contains your new ele...
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
virtual DtListItem * addToEnd(DtReaderWriter *data)
Add element to the end of the list. Returns the DtListItem envelope object that contains your new ele...
const DtRwList & operator=(const DtRwList &orig)
Calls down to DtReaderWriter::operator=(). List elements are not copied.
virtual void removeAndDeleteAll()
Removes and deletes all items in the list.
DtSimReport is an abstract base class from which real reports can derive. It manages the read/write c...
Definition: simReport.h:25

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)