VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
radarModeList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
7 
10 
11 #ifndef DtRadarModeList_H_
12 #define DtRadarModeList_H_
13 
14 #include <readerWriter/rwList.h>
16 
21 
23 {
24 public:
26  DtRadarModeList(const DtString& writeName,
27  DtReaderWriterRegistry* parentRegistry = NULL);
28 
29  DtRadarModeList(const DtSymbolString& writeName,
30  DtReaderWriterRegistry* parentRegistry = NULL);
31 
33  virtual ~DtRadarModeList();
34 
36  DtRadarModeList(const DtString& writeName,
37  const DtRadarModeList& orig,
38  DtReaderWriterRegistry* parentRegistry = NULL);
39 
40  DtRadarModeList(const DtSymbolString& writeName,
41  const DtRadarModeList& orig,
42  DtReaderWriterRegistry* parentRegistry = NULL);
43 
45  const DtRadarModeList& operator=(const DtRadarModeList& orig);
46 
48  virtual void getSelf(DtlObjPtr args,
49  const DtReaderWriter::SearchPaths& searchPaths,
50  const DtVariableBindingsList& variableBindings);
51 
52  bool operator==(const DtRadarModeList&) const;
53  bool operator!=(const DtRadarModeList& rhs) const { return !(*this == rhs); };
54 
55 protected:
58  virtual DtlObjPtr getData(DtlObjPtr args,
59  const DtReaderWriter::SearchPaths& searchPaths,
60  const DtVariableBindingsList& variableBindings);
61 
65  virtual void reindexModes();
66 
69  void removeAndDeleteModes();
70 
74  void copyListItemsFrom(const DtRadarModeList& sourceList);
75 
76 protected:
80  virtual const char* readerWriterType() const;
81 };
82 
83 #endif
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
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
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
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
bool operator==(const DtRwList &rhs) const
Iterates over all items and calls the factory to compare.
bool operator!=(const DtRadarModeList &rhs) const
Definition: radarModeList.h:53
const DtRwList & operator=(const DtRwList &orig)
Calls down to DtReaderWriter::operator=(). List elements are not copied.
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
DtRadarModeList; Readable/writeable container for DtRadarModeEntry* items.
Definition: radarModeList.h:22
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)