VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ceReceiveTextMessage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrfutil/simCondExpr.h"
15 #include <readerWriter/rwString.h>
16 #include <readerWriter/rwBoolean.h>
17 #include "vrfutil/vrfutilDefines.h"
18 
21 const char DtCeReceiveTextMessageTypeName[] = "ReceiveText";
22 
27 {
28 public:
29 
32 
35 
38  DtReaderWriterRegistry* parentRegistry = NULL);
39 
41  virtual ~DtCeReceiveTextMessage();
42 
45 
47  virtual DtSimCondExpr* clone(DtReaderWriterRegistry* parentRegistry = NULL) const;
48 
49  virtual bool operator==(const DtCeReceiveTextMessage& rhs) const;
50 
52  virtual int type() const;
53 
61 
62  virtual void setMatchingText(const DtString& text);
63  virtual DtString matchingText() const;
65 
67 
68  virtual void setAllowContaining(bool allow);
69  virtual bool allowContaining() const;
71 
72  virtual DtString stringRep(int subExprIndex = DtSR_EXPR) const;
73 
74  virtual int netRepSize() const;
75 
77  virtual bool setFromNet(const char* contentBuffer,
78  unsigned contentSize);
79 
82  virtual bool setToNet();
83 
85  static DtSimCondExpr * creator();
86 
87 protected:
90 };
bool operator==(const DtReaderWriter &) const
Equivalence operator.
const char DtCeReceiveTextMessageTypeName[]
DtCeReceiveTextMessage.
Definition: ceReceiveTextMessage.h:21
DtSimCondExpr & operator=(const DtSimCondExpr &orig)
assignment operator
virtual DtSimCondExpr * clone(DtReaderWriterRegistry *parentRegistry=NULL) const =0
clone operator
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simCondExpr.h:148
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
Conditional expression which tests whether the associated entity receives a DtTextReport that contain...
Definition: ceReceiveTextMessage.h:26
virtual int netRepSize() const
These 3 should become pure virtual functions.
Definition: simCondExpr.h:145
DtRwString myMatchingText
Definition: ceReceiveTextMessage.h:88
DtSimCondExpr is an abstract base class representing various Conditional Expressions used by the Plan...
Definition: simCondExpr.h:53
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
virtual DtString stringRep(int subExprIndex=DtSR_EXPR) const =0
Get a readable string representation of this level of this expression.
DtRwBoolean myAllowContaining
Definition: ceReceiveTextMessage.h:89
virtual bool setToNet()
Definition: simCondExpr.h:152
virtual int type() const =0
Returns the type of conditional expression defined in condExprTypes.h.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)