![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2001 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: rwIntegerAttribute.h,v $ $Revision: 1.8 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtRwIntegerAttribute_H_ 00013 #define DtRwIntegerAttribute_H_ 00014 00015 #include "vrfutil/integerAttribute.h" 00016 #include "vrfutil/rdrWritr.h" 00017 00021 00022 #include "vrfutil/vrfutilDefines.h" 00023 class DT_DLL_vrfutil DtRwIntegerAttribute : public DtReaderWriter, public DtIntegerAttribute 00024 { 00025 public: 00026 00028 DtRwIntegerAttribute(const DtString& name = DtString::nullString(), 00029 DtReaderWriterRegistry* const parentRegistry = NULL); 00030 00031 DtRwIntegerAttribute(const DtSymbolString& name, 00032 DtReaderWriterRegistry* const parentRegistry = NULL); 00033 00034 DtRwIntegerAttribute(const DtString& name, 00035 const DtString& key, 00036 const int& data, 00037 DtReaderWriterRegistry* const parentRegistry = NULL); 00038 00039 DtRwIntegerAttribute(const DtSymbolString& name, 00040 const DtString& key, 00041 const int& data, 00042 DtReaderWriterRegistry* const parentRegistry = NULL); 00043 00045 virtual ~DtRwIntegerAttribute(); 00046 00048 DtRwIntegerAttribute(const DtRwIntegerAttribute& orig, 00049 const DtString& name = DtString::nullString(), 00050 DtReaderWriterRegistry* parentRegistry = NULL); 00051 00052 DtRwIntegerAttribute(const DtRwIntegerAttribute& orig, 00053 const DtSymbolString& name, 00054 DtReaderWriterRegistry* parentRegistry = NULL); 00055 00057 DtRwIntegerAttribute& operator=(const DtRwIntegerAttribute& orig); 00058 00060 DtIntegerAttribute& operator=(const DtIntegerAttribute& integerAttribute); 00061 00065 virtual void putData(FILE* fp, int indentlLevel = 0); 00066 virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath, 00067 const DtVariableBindingsList& variableBindings); 00068 00072 virtual const char* readerWriterType() const; 00073 }; 00074 00075 #endif