VR-Forces 4.1 Class Documentation
ceAnd.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: ceAnd.h,v $ $Revision: 1.5 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtCeAnd_H_
13 #define DtCeAnd_H_
14 
15 #include "vrfutil/rdrWritr.h"
16 #include "vrfutil/condExpr.h"
17 
18 const char DtCeAndTypeName[] = "AND";
19 
20 
24 struct DtNetCeAnd
25 {
26  DtNetU16 myLeftCondExprType;
28  DtNetU16 myPadding;
29  DtNetU16 myPadding2;
30 };
31 
37 #include "vrfutil/vrfutilDefines.h"
39 {
40 public:
41 
43  DtCeAnd();
44 
46  DtCeAnd(DtReaderWriterRegistry* parentRegistry);
47 
49  DtCeAnd(const DtCeAnd& orig,
50  DtReaderWriterRegistry* parentRegistry = NULL);
51 
53  virtual ~DtCeAnd();
54 
56  DtCeAnd& operator=(const DtCeAnd& orig);
57 
59  virtual DtSimCondExpr* clone(DtReaderWriterRegistry* parentRegistry = NULL);
60 
63  virtual int type() const;
64 
67  virtual void setLeftCondExpr(DtSimCondExpr* leftExpr);
68  virtual DtSimCondExpr* leftCondExpr();
69  virtual const DtSimCondExpr* leftCondExpr() const;
70 
73  virtual void setRightCondExpr(DtSimCondExpr* rightExpr);
74  virtual DtSimCondExpr* rightCondExpr();
75  virtual const DtSimCondExpr* rightCondExpr() const;
76 
79  virtual int subExprCount() const;
86  virtual DtSimCondExpr* subExpr(int index);
87 
98  virtual DtString stringRep(int subExprIndex = DtSR_EXPR) const;
99 
100 
104  virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
105  const DtVariableBindingsList& variableBindings);
106 
109  virtual int netRepSize() const;
110 
112  virtual bool setFromNet(const char* contentBuffer,
113  unsigned contentSize);
114 
117  virtual bool setToNet();
118 
119  static DtSimCondExpr * creator();
120 
121 protected:
124 };
125 
126 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)