![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2002 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: rwIntegerList.h,v $ $Revision: 1.7 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtRwIntegerList_H_ 00013 #define DtRwIntegerList_H_ 00014 00015 #include "vrfutil/rwList.h" 00016 #include "vrfutil/vrfutilDefines.h" 00017 00018 class DtRwInt; 00019 00023 class DT_DLL_vrfutil DtRwIntegerList : public DtRwList 00024 { 00025 public: 00026 00028 DtRwIntegerList(); 00029 00031 DtRwIntegerList(const DtString& name, DtReaderWriterRegistry* const 00032 parentRegistry = NULL); 00033 DtRwIntegerList(const DtSymbolString& name, DtReaderWriterRegistry* const 00034 parentRegistry = NULL); 00035 00037 virtual ~DtRwIntegerList(); 00038 00042 00043 DtRwIntegerList(const DtString& name, const DtRwIntegerList& orig, 00044 DtReaderWriterRegistry* parentRegistry = NULL); 00045 00046 DtRwIntegerList(const DtSymbolString& name, const DtRwIntegerList& orig, 00047 DtReaderWriterRegistry* parentRegistry = NULL); 00049 00053 DtRwIntegerList& operator=(const DtRwIntegerList& orig); 00054 00063 virtual void addInteger(DtRwInt* rwInt); 00064 00068 virtual void removeInteger(DtRwInt* rwInt, DtListItem* listItem); 00069 00071 void emptyList(); 00072 00073 protected: 00074 00077 virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath, 00078 const DtVariableBindingsList& variableBindings); 00079 00081 void copyList(const DtRwIntegerList& orig); 00082 }; 00083 00084 #endif