VR-Forces 4.0.4 Class Documentation
include/vrfutil/ceFactory.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2000 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ceFactory.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 
00018 
00019 #ifndef DtCondExprFactory_H_
00020 #define DtCondExprFactory_H_
00021 
00022 #include <vlutil/vlHashlist.h>
00023 
00024 class DtCondExprFactoryEntry;
00025 class DtReaderWriterRegistry;
00026 class DtSimCondExpr;
00027 
00028 typedef DtSimCondExpr * (*DtCondExprCreatorFcn)();
00029 
00036 
00037 #include "vrfutil/vrfutilDefines.h"
00038 class DT_DLL_vrfutil DtCondExprFactory
00039 {
00040 public:
00042    DtCondExprFactory();
00043 
00045    DtCondExprFactory(const DtCondExprFactory& orig);
00046 
00048    const DtCondExprFactory& operator=(const DtCondExprFactory& orig);
00049 
00051    virtual ~DtCondExprFactory();
00052 
00054    virtual void addCreatorFcn(const DtString& type, const int intType,
00055       DtCondExprCreatorFcn fcn);
00056 
00057    virtual DtSimCondExpr * createConditionalExpression(const DtString& type);
00058    virtual DtSimCondExpr* createConditionalExpression(int type);
00059 
00060    static DtCondExprFactory* create();
00061 
00062 protected:
00063    DtHashlist myStringTypeHashlist;
00064    DtHashlist myIntTypeHashlist;
00065 
00066 };
00067 
00068 #endif
00069 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)