![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: compSystemDescriptorList.h,v $ $Revision: 1.4 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef compSystemDescriptorList_h 00015 #define compSystemDescriptorList_h 00016 00017 #include "vrfutil/rwList.h" 00018 #include "vrfobjparam/vrfobjparamDefines.h" 00019 00020 class DtComponentSystemDescriptor; 00021 class DtFilename; 00022 00024 class DT_DLL_vrfobjparam DtComponentSystemDescriptorList : public DtRwList 00025 { 00026 protected: 00027 00029 DtComponentSystemDescriptorList(); 00030 00031 public: 00032 00034 DtComponentSystemDescriptorList(const DtString& name, 00035 DtReaderWriterRegistry * parentRegistry = 0); 00036 00038 DtComponentSystemDescriptorList(const DtComponentSystemDescriptorList& orig, 00039 DtReaderWriterRegistry * parentRegistry = 0); 00040 00044 DtComponentSystemDescriptorList& operator=(const 00045 DtComponentSystemDescriptorList& orig); 00046 00048 virtual ~DtComponentSystemDescriptorList(); 00049 00050 virtual DtComponentSystemDescriptorList * clone(DtReaderWriterRegistry * 00051 parentRegistry = 0); 00052 00053 virtual const char* readerWriterType() const; 00054 00056 virtual void emptyList(); 00057 virtual void copyList(const DtComponentSystemDescriptorList& orig); 00058 00061 virtual DtComponentSystemDescriptor* addComponentSystemDescriptor(const DtComponentSystemDescriptor& 00062 descriptor); 00063 00064 virtual DtComponentSystemDescriptor * lookupComponentSystemDescriptor(const DtString& 00065 name) const; 00066 00067 protected: 00069 virtual void addComponentSystemDescriptor(DtComponentSystemDescriptor * descriptor); 00070 virtual DtListItem * lookupComponentSystemDescriptorItem(const DtString& name) const; 00071 00072 virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath, 00073 const DtVariableBindingsList& variableBindings); 00074 }; 00075 00076 #endif