![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 1999 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: setStmt.h,v $ $Revision: 1.17 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtSetDataRequestStmt_H_ 00013 #define DtSetDataRequestStmt_H_ 00014 00015 class DtSetDataRequestStmt; 00016 00017 #include "vrfplan/simStmt.h" 00018 #include <vlutil/vlNetTypes.h> 00019 #include "vrfplan/vrfplanDefines.h" 00020 00021 const char DtSetDataRequestStmtTypeName[] = "Set"; 00022 00023 class DtSetDataRequest; 00024 00026 class DT_DLL_vrfplan DtSetDataRequestStmt : public DtSimStatement 00027 { 00028 public: 00029 00031 DtSetDataRequestStmt(DtReaderWriterRegistry* parentRegistry = NULL); 00032 00034 DtSetDataRequestStmt(const DtSetDataRequestStmt& orig, 00035 DtReaderWriterRegistry* parentRegistry = NULL); 00036 00038 virtual ~DtSetDataRequestStmt(); 00039 00041 DtSetDataRequestStmt& operator=(const DtSetDataRequestStmt& orig); 00042 00044 virtual DtSimStatement* clone( 00045 DtReaderWriterRegistry* parentRegistry = NULL) const; 00046 00048 virtual int type() const; 00049 00052 virtual void execute(DtPlan& planContext); 00053 00061 virtual DtString stringRep(int subBlockIndex = DtSR_STMT) const; 00062 00064 virtual DtSetDataRequest* setDataRequest() const; 00066 virtual void setSetDataRequest(DtSetDataRequest* arg); 00067 00073 virtual void putSelf(FILE *fp, int indentLevel = 0, 00074 bool writeUnspecified = false, const DtFilename& path = DtReaderWriter::appPath()); 00075 00079 virtual void getSelf(DtlObjPtr args, const DtFilename& searchPath, 00080 const DtVariableBindingsList& variableBindings); 00081 00083 virtual int netRepSize() const; 00084 00086 virtual bool setFromNet(const char* contentBuffer, 00087 unsigned contentSize); 00088 00091 virtual bool setToNet(); 00092 00093 static DtSimStatement * creator(DtReaderWriterRegistry* parentRegistry = NULL); 00094 00095 protected: 00096 00097 DtSetDataRequest* mySetDataRequest; 00098 }; 00099 00100 #endif