![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: textReport.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef textReport_h 00015 #define textReport_h 00016 00017 #include "vrftasks/simReport.h" 00018 #include "vrfutil/rwString.h" 00019 #include "vrftasks/vrftasksDefines.h" 00020 00022 class DT_DLL_vrftasks DtTextReport : public DtSimReport 00023 { 00024 public: 00026 DtTextReport(); 00027 00030 DtTextReport(const DtString & writeName, DtReaderWriterRegistry * 00031 parentRegistry = 0); 00032 00034 DtTextReport(const DtString& writeName, const DtTextReport& 00035 orig, DtReaderWriterRegistry * parentRegistry = 0); 00036 00038 const DtTextReport & operator=(const DtTextReport & orig); 00039 00040 virtual ~DtTextReport(); 00041 00042 virtual int type() const; 00043 00045 00046 virtual DtString text() const; 00047 virtual void setText(const DtString& t); 00049 00051 virtual DtSimReport * clone(const DtString & name, DtReaderWriterRegistry * 00052 parentRegistry = 0) const; 00053 00054 virtual int netRepSize() const; 00055 00056 virtual bool setFromNet(const char* contentBuffer, 00057 unsigned contentSize); 00058 00059 virtual bool setToNet(); 00060 00061 virtual DtString stringRep() const; 00062 00063 static DtSimReport* creator(); 00064 00065 protected: 00066 DtRwString myText; 00067 }; 00068 00069 #endif