VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simArtPartParamList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <vlutil/vlMachineTypes.h>
16 #include <readerWriter/rwList.h>
17 
18 class DtString;
19 class DtRwInt;
20 
28 {
29 public:
30 
31  //default constructor
33 
36  parentRegistry = NULL);
38  parentRegistry = NULL);
39 
42  orig, DtReaderWriterRegistry* parentRegistry = NULL);
44  orig, DtReaderWriterRegistry* parentRegistry = NULL);
46  orig, DtReaderWriterRegistry* parentRegistry = NULL);
47 
49 
51  virtual ~DtSimArtPartParamList() override;
52 
53  virtual DtSimArtPartParamList* clone(const DtString& name,
54  DtReaderWriterRegistry* parentRegistry = NULL) const;
55  virtual DtSimArtPartParamList* clone(const DtSymbolString& name,
56  DtReaderWriterRegistry* parentRegistry = NULL) const;
57 
61  virtual DtRwInt* addArtPartParam(const DtString& name, int paramType);
62 
64  virtual DtRwInt* addArtPartParam(int paramType);
65 
67  virtual void removeArtPartParam(int paramType);
68 
70  virtual bool hasArtPartParam(int paramType) const;
71 
72 protected:
73 
76  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
77  const DtVariableBindingsList& variableBindings) override;
78 
79  virtual void emptyList();
80  virtual void copyList(const DtSimArtPartParamList & orig);
81  virtual DtRwInt* addArtPartParam(DtRwInt * paramType);
82 
83  virtual const DtListItem* findArtPartParam(int paramType) const;
84  virtual DtListItem* findArtPartParam(int paramType);
85 
89  virtual const char* readerWriterType() const override;
90 };
91 
virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override=0
This method must be overridden by a subclass. Within this method, new instances of the DtReaderWriter...
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
Definition: readerWriterRegistry.h:39
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
Description: Readable, Writable int.
Definition: rwInt.h:25
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
virtual const char * readerWriterType() const override
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
const DtRwList & operator=(const DtRwList &orig)
Calls down to DtReaderWriter::operator=(). List elements are not copied.
Instances of DtSimArtPartParamList are readable/writeable lists of DtRwInt objects (readable/writeabl...
Definition: simArtPartParamList.h:27

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)