![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 1999 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: rwEntList.h,v $ $Revision: 1.5 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtRwEntityTypeList_H_ 00013 #define DtRwEntityTypeList_H_ 00014 00015 #include "vrfutil/rwList.h" 00016 #include "vrfutil/rwEntType.h" 00017 00024 00025 #include "vrfutil/vrfutilDefines.h" 00026 class DT_DLL_vrfutil DtRwEntityTypeList : public DtRwList 00027 { 00028 public: 00029 00031 DtRwEntityTypeList(); 00032 00034 DtRwEntityTypeList(const DtString& name, DtReaderWriterRegistry* const parentRegistry = NULL); 00035 DtRwEntityTypeList(const DtSymbolString& name, DtReaderWriterRegistry* const parentRegistry = NULL); 00036 00038 virtual ~DtRwEntityTypeList(); 00039 00041 DtRwEntityTypeList(const DtString& name, 00042 const DtRwEntityTypeList& orig, 00043 DtReaderWriterRegistry* const parentRegistry = NULL); 00044 00045 DtRwEntityTypeList(const DtSymbolString& name, 00046 const DtRwEntityTypeList& orig, 00047 DtReaderWriterRegistry* const parentRegistry = NULL); 00048 00050 DtRwEntityTypeList& operator=(const DtRwEntityTypeList& orig); 00051 00052 virtual void addEntityType(const DtString& name, const DtEntityType& type); 00053 virtual void addEntityType(const DtSymbolString& name, const DtEntityType& type); 00054 00055 virtual void removeEntityType(const DtEntityType& entityType); 00056 00057 virtual void copyList(const DtRwEntityTypeList& orig); 00058 00061 virtual void emptyList(); 00062 00063 virtual void addEntityType(DtRwEntityType* entityType); 00064 virtual void removeEntityType(DtRwEntityType* entityType, DtListItem* listItem); 00065 00066 protected: 00067 00070 virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath, 00071 const DtVariableBindingsList& variableBindings); 00072 }; 00073 00074 #endif