VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
textReport.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrftasks/simReport.h"
14 #include <readerWriter/rwString.h>
16 
19 {
20 public:
22  DtTextReport();
23 
26  DtTextReport(const DtString & writeName, DtReaderWriterRegistry *
27  parentRegistry = 0);
28 
30  DtTextReport(const DtString& writeName, const DtTextReport&
31  orig, DtReaderWriterRegistry * parentRegistry = 0);
32 
34  const DtTextReport & operator=(const DtTextReport & orig);
35 
36  virtual ~DtTextReport();
37 
38  virtual const DtSimReportMessageType& type() const;
39 
41 
42  virtual DtString text() const;
43  virtual void setText(const DtString& t);
45 
47  virtual DtSimReport * clone(const DtString & name, DtReaderWriterRegistry *
48  parentRegistry = 0) const;
49 
50  virtual int netRepSize() const;
51 
52  virtual bool setFromNet(const char* contentBuffer,
53  unsigned contentSize);
54 
55  virtual bool setToNet();
56 
57  virtual DtString stringRep() const;
58 
59  static DtSimReport* creator();
60 
61 protected:
63 };
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)=0
virtual bool setToNet()=0
virtual const DtSimReportMessageType & type() const =0
What kind of report am I? Returns a character string representing the kind of report.
virtual DtSimReport * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this report.
const DtSimReport & operator=(const DtSimReport &orig)
assignment operator; same as copy constructor
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: vrfObjectMessageTypeTemplate.h:24
Definition: readerWriterRegistry.h:39
DtRwString myText
Definition: textReport.h:62
DtTextReport.
Definition: textReport.h:18
virtual int netRepSize() const =0
virtual DtString stringRep() const
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
DtSimReport is an abstract base class from which real reports can derive.
Definition: simReport.h:26

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)