VR-Forces 4.1.1 Class Documentation
ifPlanStmt.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifPlanStmt.h,v $ $Revision: 1.19 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef DtIfPlanStatement_H_
13 #define DtIfPlanStatement_H_
14 
15 #include <vlutil/vlString.h>
16 
18 #include <vlutil/vlNetTypes.h>
19 
20 class DtSimStatement;
21 
22 
33 {
34  DtNetU16 myStatementType;
35  DtNetU16 myStatementId;
36  DtNetU16 myStatementSize;
37  DtNetU8 myNameLength;
38  DtNetU8 myIsGlobal;
39 };
40 
59 #include "vrfmsgs/vrfmsgsDefines.h"
61 {
62 public:
63 
66 
68  virtual ~DtIfPlanStatement();
69 
72 
75 
76  virtual int type() const;
77 
78  virtual DtSimInterfaceContent * clone() const;
79 
81  virtual const DtString & name() const;
82  virtual void setName(const DtString & name);
83 
85  virtual int statementId() const;
86  virtual void setStatementId(int id);
87 
90  virtual DtSimStatement* statement() const;
91  virtual void setStatement(DtSimStatement* statement);
92 
95 
96  virtual bool isGlobal() const;
97  virtual void setIsGlobal(bool yesNo);
99 
100  virtual int netRepSize() const;
101  virtual bool setFromNet(const char* contentBuffer,
102  unsigned contentSize);
103  virtual bool setToNet();
104 
105  virtual void printDataToString(DtString& str);
106 
107  static DtSimInterfaceContent* creator();
108 
109 protected:
110 
114 
116 };
117 
118 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)