![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: promoteEntry.h,v $ $Revision: 1.5 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtPromotionEntry_H_ 00013 #define DtPromotionEntry_H_ 00014 00015 class DtFormationEntry; 00016 00017 #include <vlutil/vlString.h> 00018 #include "vrfutil/rwString.h" 00019 #include "vrfutil/formEntry.h" 00020 00027 00028 #include "vrfobjcore/vrfobjcoreDefines.h" 00029 class DT_DLL_vrfobjcore DtPromotionEntry : public DtReaderWriter 00030 { 00031 public: 00032 00034 DtPromotionEntry(); 00035 00037 DtPromotionEntry(const DtString& rwName, 00038 DtReaderWriterRegistry* const parentRegistry = 0); 00039 00041 virtual ~DtPromotionEntry(); 00042 00044 DtPromotionEntry(const DtString & name, const DtPromotionEntry & orig, 00045 DtReaderWriterRegistry * parentRegistry = 0); 00046 00048 DtPromotionEntry& operator=(const DtPromotionEntry& orig); 00049 00051 virtual void setFormationEntry(const DtFormationEntry& formation); 00052 00054 virtual void setEntityName(const DtString& name); 00055 virtual const DtString& entityName() const; 00056 00058 virtual const DtFormationEntry& formationEntry() const; 00059 00061 DtPromotionEntry * clone(const DtString& name, 00062 DtReaderWriterRegistry * parentRegistry = NULL) const; 00063 00064 protected: 00065 00066 DtFormationEntry myFormationEntry; 00067 00068 DtRwString myEntityName; 00069 }; 00070 00071 #endif