VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
emitterBeamList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: emtrBeamLst.h,v $ $Revision: 1.10 $ $State: Exp $
7 *********************************************************************/
8 
11 
14 
15 #ifndef DtEmitterBeamList_H_
16 #define DtEmitterBeamList_H_
17 
18 #include <readerWriter/rwList.h>
20 
26 {
27 public:
28 
31 
33  DtEmitterBeamList(const DtString& writeName,
34  DtReaderWriterRegistry* parentRegistry = NULL);
35  DtEmitterBeamList(const DtSymbolString& writeName,
36  DtReaderWriterRegistry* parentRegistry = NULL);
37 
39  virtual ~DtEmitterBeamList();
40 
42  DtEmitterBeamList(const DtString& writeName, const DtEmitterBeamList& orig,
43  DtReaderWriterRegistry* parentRegistry = NULL);
44  DtEmitterBeamList(const DtSymbolString& writeName,
45  const DtEmitterBeamList& orig,
46  DtReaderWriterRegistry* parentRegistry = NULL);
47 
49  const DtEmitterBeamList & operator=(const DtEmitterBeamList & orig);
50 
52  virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
53  const DtVariableBindingsList& variableBindings);
54 
55  bool operator==(const DtEmitterBeamList&) const;
56  bool operator!=(const DtEmitterBeamList& rhs) const { return !(*this == rhs); };
57 
58 protected:
61  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
62  const DtVariableBindingsList& variableBindings);
63 
67  virtual void reindexBeams();
68 
71  void removeAndDeleteBeams();
72 
76  void copyListItemsFrom(const DtEmitterBeamList& sourceList);
77 
78 protected:
79 
83  virtual const char* readerWriterType() const;
84 };
85 
86 #endif
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
#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
bool operator!=(const DtEmitterBeamList &rhs) const
Definition: emitterBeamList.h:56
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.
DtEmitterBeamList; Readable/writeable container for DtEmitterBeamEntry* items.
Definition: emitterBeamList.h:25
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...
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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)