![]() |
VR-Forces 4.0.4 Class Documentation
|
Contains the DtMunitionResource class declaration. More...

Public Member Functions | |
| DtMunitionResource () | |
| default constructor; used by resource factory | |
| DtMunitionResource (const DtString &resourceName, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor | |
| DtMunitionResource (const DtMunitionResource &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| virtual | ~DtMunitionResource () |
| destructor | |
| virtual DtSimResource * | clone (DtReaderWriterRegistry *parentRegistry=0) const |
| Make a copy of myself. | |
| virtual DtString | type () const |
| The data type of the resource. These types are defined in rsrcTypes.h. | |
| virtual const DtSimMunition & | munitionType () const |
| virtual void | setMunitionType (const DtSimMunition &munitionType) |
| virtual const char * | readerWriterType () const |
| Used to supply a string type that this reader writer type is. | |
Static Public Member Functions | |
| static DtSimResource * | creator () |
Protected Member Functions | |
| DtMunitionResource & | operator= (const DtMunitionResource &orig) |
| assignment operator; not implemented | |
Protected Attributes | |
| DtSimMunition | myMunitionType |
Contains the DtMunitionResource class declaration.
default constructor; used by resource factory
| DtMunitionResource::DtMunitionResource | ( | const DtString & | resourceName, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor
The resource name is the name that will be used to look up the resource in the resource manager.
| DtMunitionResource::DtMunitionResource | ( | const DtMunitionResource & | orig, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtMunitionResource::~DtMunitionResource | ( | ) | [virtual] |
destructor
| DtMunitionResource& DtMunitionResource::operator= | ( | const DtMunitionResource & | orig | ) | [protected] |
assignment operator; not implemented
| virtual DtSimResource* DtMunitionResource::clone | ( | DtReaderWriterRegistry * | parentRegistry = 0 | ) | const [virtual] |
Make a copy of myself.
Reimplemented from DtIntegerResource.
| virtual DtString DtMunitionResource::type | ( | ) | const [virtual] |
The data type of the resource. These types are defined in rsrcTypes.h.
Reimplemented from DtIntegerResource.
| virtual const DtSimMunition& DtMunitionResource::munitionType | ( | ) | const [virtual] |
| virtual void DtMunitionResource::setMunitionType | ( | const DtSimMunition & | munitionType | ) | [virtual] |
| static DtSimResource* DtMunitionResource::creator | ( | ) | [static] |
Reimplemented from DtIntegerResource.
| virtual const char* DtMunitionResource::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 DtSimResource.
DtSimMunition DtMunitionResource::myMunitionType [protected] |