VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtTextReport Class Reference

DtTextReport. More...

Inheritance diagram for DtTextReport:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtTextReport ()
 default constructor
 DtTextReport (const DtString &writeName, DtReaderWriterRegistry *parentRegistry=0)
 constructor If you have a task 'put' itself, the writeName will preface the task.
 DtTextReport (const DtString &writeName, const DtTextReport &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
const DtTextReportoperator= (const DtTextReport &orig)
 assignment operator
virtual ~DtTextReport ()
virtual int type () const
 What kind of report am I? Returns a character string representing the kind of report.
virtual DtSimReportclone (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const
 Creates a copy of this report.
virtual int netRepSize () const
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
virtual bool setToNet ()
virtual DtString stringRep () const
virtual DtString text () const
 The text of the report.
virtual void setText (const DtString &t)
 The text of the report.

Static Public Member Functions

static DtSimReportcreator ()

Protected Attributes

DtRwString myText

Detailed Description

DtTextReport.

A simple report that contains a free form string.


Constructor & Destructor Documentation

default constructor

DtTextReport::DtTextReport ( const DtString writeName,
DtReaderWriterRegistry parentRegistry = 0 
)

constructor If you have a task 'put' itself, the writeName will preface the task.

DtTextReport::DtTextReport ( const DtString writeName,
const DtTextReport orig,
DtReaderWriterRegistry parentRegistry = 0 
)

copy constructor

virtual DtTextReport::~DtTextReport ( ) [virtual]

Member Function Documentation

const DtTextReport& DtTextReport::operator= ( const DtTextReport orig)

assignment operator

virtual int DtTextReport::type ( ) const [virtual]

What kind of report am I? Returns a character string representing the kind of report.

Derived classes must implement this function, returning a string that uniquely represents the kind of report it is. The definitions for report types used in VR-Forces are in radioMsgTypes.h.

Implements DtSimReport.

virtual DtString DtTextReport::text ( ) const [virtual]

The text of the report.

virtual void DtTextReport::setText ( const DtString t) [virtual]

The text of the report.

virtual DtSimReport* DtTextReport::clone ( const DtString name,
DtReaderWriterRegistry parentRegistry = 0 
) const [virtual]

Creates a copy of this report.

Implements DtSimReport.

virtual int DtTextReport::netRepSize ( ) const [virtual]

Implements DtSimReport.

virtual bool DtTextReport::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
) [virtual]

Implements DtSimReport.

virtual bool DtTextReport::setToNet ( ) [virtual]

Implements DtSimReport.

virtual DtString DtTextReport::stringRep ( ) const [virtual]

Reimplemented from DtSimReport.

static DtSimReport* DtTextReport::creator ( ) [static]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)