![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: ceFactoryEnt.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 00018 00019 #ifndef DtCondExprFactoryEntry_H_ 00020 #define DtCondExprFactoryEntry_H_ 00021 00022 #include "vrfutil/ceFactory.h" 00023 00030 00031 #include "vrfutil/vrfutilDefines.h" 00032 class DT_DLL_vrfutil DtCondExprFactoryEntry 00033 { 00034 public: 00036 DtCondExprFactoryEntry(); 00037 00039 DtCondExprFactoryEntry(const DtCondExprFactoryEntry& orig); 00040 00042 const DtCondExprFactoryEntry& operator=(const DtCondExprFactoryEntry& 00043 orig); 00044 00046 virtual ~DtCondExprFactoryEntry(); 00047 00048 virtual const DtString& typeToCreate() const; 00049 virtual void setTypeToCreate(const DtString& type); 00050 00051 virtual const int intTypeToCreate() const; 00052 virtual void setIntTypeToCreate(const int type); 00053 00054 virtual const DtCondExprCreatorFcn& creatorFcn() const; 00055 virtual void setCreatorFcn(const DtCondExprCreatorFcn& fcn); 00056 00057 virtual DtCondExprFactoryEntry * clone(const DtCondExprFactoryEntry& 00058 orig) const; 00059 00060 protected: 00061 DtString myTypeToCreate; 00062 int myIntTypeToCreate; 00063 DtCondExprCreatorFcn myCreatorFcn; 00064 }; 00065 00066 #endif 00067