VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
componentDescriptorList.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include <readerWriter/rwList.h>
15 
17 class DtFilename;
18 
23 {
24 protected:
25 
28 
29 public:
30 
33  DtReaderWriterRegistry * parentRegistry = 0);
34 
37  DtReaderWriterRegistry * parentRegistry = 0);
38 
44 
46  virtual ~DtComponentDescriptorList();
47 
49  parentRegistry = 0);
50 
52  virtual void emptyList();
53  virtual void copyList(const DtComponentDescriptorList& orig);
54 
56  virtual DtComponentDescriptor* addComponentDescriptor(const DtComponentDescriptor&
57  descriptor);
58 
59  virtual DtComponentDescriptor * lookupComponentDescriptor(const DtString&
60  name) const;
61 
62  virtual DtComponentDescriptor * lookupComponentDescriptorByType(const DtString&
63  name) const;
64 
65  virtual const char* readerWriterType() const;
66 
67  bool operator==(const DtComponentDescriptorList&) const;
68 
69 protected:
70  virtual void addComponentDescriptor(DtComponentDescriptor * descriptor);
71  virtual DtListItem * lookupComponentDescriptorItem(const DtString& name) const;
72 
76  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
77  const DtVariableBindingsList& variableBindings);
78 };
A Readable, Writable version of DtList.
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.
Instances of DtComponentDescriptorList are readable/writeable lists of DtComponentDescriptor objects...
Definition: componentDescriptorList.h:22
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
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.
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.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)