![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 1999 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: ceNot.h,v $ $Revision: 1.5 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtCeNot_H_ 00013 #define DtCeNot_H_ 00014 00015 #include "vrfutil/rdrWritr.h" 00016 #include "vrfutil/condExpr.h" 00017 00018 const char DtCeNotTypeName[] = "NOT"; 00019 00020 00023 struct DtNetCeNot 00024 { 00025 DtNetU16 myCondExprType; 00026 DtNetU16 myPadding; 00027 DtNetU16 myPadding1; 00028 DtNetU16 myPadding2; 00029 }; 00030 00037 #include "vrfutil/vrfutilDefines.h" 00038 class DT_DLL_vrfutil DtCeNot : public DtSimCondExpr 00039 { 00040 public: 00041 00043 DtCeNot(); 00044 00046 DtCeNot(DtReaderWriterRegistry* parentRegistry); 00047 00049 DtCeNot(const DtCeNot& orig, 00050 DtReaderWriterRegistry* parentRegistry = NULL); 00051 00053 virtual ~DtCeNot(); 00054 00056 DtCeNot& operator=(const DtCeNot& orig); 00057 00059 virtual DtSimCondExpr* clone(DtReaderWriterRegistry* parentRegistry = NULL); 00060 00062 virtual int type() const; 00063 00066 virtual void setCondExpr(DtSimCondExpr* condExpr); 00067 virtual DtSimCondExpr* condExpr(); 00068 virtual const DtSimCondExpr* condExpr() const; 00069 00072 virtual int subExprCount() const; 00079 virtual DtSimCondExpr* subExpr(int index); 00080 00090 virtual DtString stringRep(int subExprIndex = DtSR_EXPR) const; 00091 00095 virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath, 00096 const DtVariableBindingsList& variableBindings); 00097 00100 virtual int netRepSize() const; 00101 00103 virtual bool setFromNet(const char* contentBuffer, 00104 unsigned contentSize); 00105 00108 virtual bool setToNet(); 00109 00110 static DtSimCondExpr * creator(); 00111 00112 protected: 00113 DtSimCondExpr* myCondExpr; 00114 }; 00115 00116 #endif