![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: trueAggregateResourceEntry.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 00013 #ifndef DtTrueAggregateResourceEntry_H_ 00014 #define DtTrueAggregateResourceEntry_H_ 00015 00016 #include "vrfutil/rwEntType.h" 00017 00018 #include "vrfutil/vrfutilDefines.h" 00019 class DT_DLL_vrfutil DtTrueAggregateResource : public DtReaderWriter 00020 { 00021 public: 00023 DtTrueAggregateResource(); 00024 00026 DtTrueAggregateResource(const DtString& name, DtReaderWriterRegistry* parentRegistry = NULL); 00027 DtTrueAggregateResource(const DtSymbolString& name, DtReaderWriterRegistry* parentRegistry = NULL); 00028 00030 DtTrueAggregateResource(const DtString& name, 00031 const DtTrueAggregateResource& orig, 00032 DtReaderWriterRegistry* parentRegistry = NULL); 00033 00034 DtTrueAggregateResource(const DtSymbolString& name, 00035 const DtTrueAggregateResource& orig, 00036 DtReaderWriterRegistry* parentRegistry = NULL); 00037 00039 const DtTrueAggregateResource& operator=(const DtTrueAggregateResource & orig); 00040 00041 virtual ~DtTrueAggregateResource(); 00042 00043 virtual DtTrueAggregateResource* clone(const DtString& name, 00044 DtReaderWriterRegistry* parentRegistry = NULL) const; 00045 00046 virtual DtTrueAggregateResource* clone(const DtSymbolString& name, 00047 DtReaderWriterRegistry* parentRegistry = NULL) const; 00048 00049 00051 virtual void setAmount(DtReal amount); 00052 virtual DtReal amount() const; 00053 00054 00055 protected: 00056 00057 DtRwReal myAmount; 00058 00059 }; 00060 00061 00062 #endif 00063 00064 00065