VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
componentSystemDescriptorList.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 class DtFilename;
18 
21 {
22 protected:
23 
26 
27 public:
28 
31  DtReaderWriterRegistry * parentRegistry = 0);
32 
35  DtReaderWriterRegistry * parentRegistry = 0);
36 
42 
45 
47  parentRegistry = 0);
48 
49  virtual const char* readerWriterType() const;
50 
52  virtual void emptyList();
53  virtual void copyList(const DtComponentSystemDescriptorList& orig);
54 
57  virtual DtComponentSystemDescriptor* addComponentSystemDescriptor(const DtComponentSystemDescriptor&
58  descriptor);
59 
60  virtual DtComponentSystemDescriptor * lookupComponentSystemDescriptor(const DtString&
61  name) const;
62 
64 
65 protected:
67  virtual void addComponentSystemDescriptor(DtComponentSystemDescriptor * descriptor);
68  virtual DtListItem * lookupComponentSystemDescriptorItem(const DtString& name) const;
69 
70  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
71  const DtVariableBindingsList& variableBindings);
72 };
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
List of DtComponentSystemDescriptor instances.
Definition: componentSystemDescriptorList.h:20
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.
Descriptor for a DtComponentSystem. Specified a system being added to an entity. This does not actual...
Definition: componentSystemDescriptor.h:23
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...

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)