VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
simCommandStmt.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2006 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: simCommandStmt.h,v $ $Revision: 1.6 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 
13 #ifndef simCommandStmt_H_
14 #define simCommandStmt_H_
15 
16 #include "vrfplan/simStatement.h"
17 #include <vlutil/vlNetTypes.h>
18 
19 const char DtSimCommandStmtTypeName[] = "SimCommand";
20 
21 class DtSimCommand;
22 
25 #include "vrfplan/vrfplanDefines.h"
27 {
28 public:
30  DtSimCommandStmt(DtReaderWriterRegistry* parentRegistry = NULL);
31 
34  DtReaderWriterRegistry* parentRegistry = NULL);
35 
37  virtual ~DtSimCommandStmt();
38 
41 
43  virtual DtSimStatement* clone(
44  DtReaderWriterRegistry* parentRegistry = NULL) const;
45 
47  virtual int type() const;
48 
51  virtual void execute(DtPlan& planContext);
52 
60  virtual DtString stringRep(int subBlockIndex = DtSR_STMT) const;
61 
63  virtual DtSimCommand* simCommand() const;
64 
66  virtual void setSimCommand(DtSimCommand* arg);
67 
72  virtual void putSelf(FILE *fp, int indentLevel = 0,
73  bool writeUnspecified = false, const DtFilename& path = DtReaderWriter::appPath());
74 
77  virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
78  const DtVariableBindingsList& variableBindings);
79 
81  virtual int netRepSize() const;
82 
84  virtual bool setFromNet(const char* contentBuffer,
85  unsigned contentSize);
86 
89  virtual bool setToNet();
90 
91  static DtSimStatement * creator(DtReaderWriterRegistry* parentRegistry = NULL);
92 
93 protected:
94 
96 };
97 
98 #endif

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)