![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 00008 00014 00015 #ifndef DtStatementFactoryEntry_H_ 00016 #define DtStatementFactoryEntry_H_ 00017 00018 #include "vrfplan/stmtFactory.h" 00019 00026 00027 #include "vrfplan/vrfplanDefines.h" 00028 class DT_DLL_vrfplan DtStatementFactoryEntry 00029 { 00030 public: 00032 DtStatementFactoryEntry(); 00033 00035 DtStatementFactoryEntry(const DtStatementFactoryEntry& orig); 00036 00038 const DtStatementFactoryEntry& operator=(const DtStatementFactoryEntry& 00039 orig); 00040 00042 virtual ~DtStatementFactoryEntry(); 00043 00044 virtual const DtString& typeToCreate() const; 00045 virtual void setTypeToCreate(const DtString& type); 00046 00047 virtual const int intTypeToCreate() const; 00048 virtual void setIntTypeToCreate(const int type); 00049 00050 virtual const DtStatementCreatorFcn& creatorFcn() const; 00051 virtual void setCreatorFcn(const DtStatementCreatorFcn& fcn); 00052 00053 virtual DtStatementFactoryEntry * clone(const DtStatementFactoryEntry& 00054 orig) const; 00055 00056 protected: 00057 DtString myTypeToCreate; 00058 int myIntTypeToCreate; 00059 DtStatementCreatorFcn myCreatorFcn; 00060 }; 00061 00062 #endif 00063