VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions
DtRwScenarioExtras Class Reference

This class is a collection of different kinds of scenario data that is saved in the .xtr file in the scenario file set. More...

Inheritance diagram for DtRwScenarioExtras:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtRwScenarioExtras (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 constructor
 DtRwScenarioExtras (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 DtRwScenarioExtras (const DtRwScenarioExtras &orig, const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 copy constructor
const DtRwScenarioExtrasoperator= (const DtRwScenarioExtras &orig)
 assignment operator
virtual ~DtRwScenarioExtras ()
 Destructor.
virtual const char * readerWriterType () const
 Used to supply a string type that this reader writer type is.
virtual void clear ()
 Accessors and mutators for the scenario data.
virtual void setForceHostilityList (const DtRwForceDescriptionList &l)
 Force-hostility data (managed by the hostility manager).
virtual const
DtRwForceDescriptionList
forceHostilityList () const
 Force-hostility data (managed by the hostility manager).
virtual void setSpawnTemplates (const DtRwSpawnDataList &t)
 Spawn templates (managed by the spawn-sink manager).
virtual const DtRwSpawnDataListspawnTemplates () const
 Spawn templates (managed by the spawn-sink manager).

Protected Member Functions

 DtRwScenarioExtras ()
 Constructors etc.

Protected Attributes

DtRwForceDescriptionList myForceHostilityList
 These members are saved and loaded in the .xtr scenario file.
DtRwSpawnDataList mySpawnTemplates
 These members are saved and loaded in the .xtr scenario file.

Detailed Description

This class is a collection of different kinds of scenario data that is saved in the .xtr file in the scenario file set.


Constructor & Destructor Documentation

Constructors etc.

Default constructor; not implemented.

DtRwScenarioExtras::DtRwScenarioExtras ( const DtString name,
DtReaderWriterRegistry parentRegistry = NULL 
)

constructor

DtRwScenarioExtras::DtRwScenarioExtras ( const DtSymbolString name,
DtReaderWriterRegistry parentRegistry = NULL 
)
DtRwScenarioExtras::DtRwScenarioExtras ( const DtRwScenarioExtras orig,
const DtString name,
DtReaderWriterRegistry parentRegistry = NULL 
)

copy constructor

Destructor.


Member Function Documentation

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

assignment operator

virtual const char* DtRwScenarioExtras::readerWriterType ( ) const [virtual]

Used to supply a string type that this reader writer type is.

This can be used in place of dynamic-casting. Also used by the opd editor to determine which type of control to create

Reimplemented from DtReaderWriter.

virtual void DtRwScenarioExtras::clear ( ) [virtual]

Accessors and mutators for the scenario data.

Clears (deletes) current data; used e.g. by scenario extras mgr to init

Force-hostility data (managed by the hostility manager).

Force-hostility data (managed by the hostility manager).

virtual void DtRwScenarioExtras::setSpawnTemplates ( const DtRwSpawnDataList t) [virtual]

Spawn templates (managed by the spawn-sink manager).

virtual const DtRwSpawnDataList& DtRwScenarioExtras::spawnTemplates ( ) const [virtual]

Spawn templates (managed by the spawn-sink manager).


Member Data Documentation

These members are saved and loaded in the .xtr scenario file.

These members are saved and loaded in the .xtr scenario file.


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)