![]() |
VR-Forces 4.0.4 Class Documentation
|
List of DtRadioDescriptor subclasses that can be read from a RW type file. More...

Public Member Functions | |
| DtRadioDescriptorList (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) | |
| constructor | |
| DtRadioDescriptorList (const DtRadioDescriptorList &orig, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| DtRadioDescriptorList & | operator= (const DtRadioDescriptorList &orig) |
| Assignment operator; removes and deletes all entries on the left hand side - then clones all entries on the right side list, adding them to the left side list. | |
| virtual | ~DtRadioDescriptorList () |
| destructor | |
| virtual DtRadioDescriptorList * | clone (DtReaderWriterRegistry *parentRegistry=0) |
| virtual DtVrfRadioDescriptor * | addRadioDescriptor (const DtVrfRadioDescriptor &descriptor) |
| Clones the descriptor and adds it to the list. | |
| virtual const DtVrfRadioDescriptor * | lookupRadioDescriptor (const DtString &name) const |
| Searches the list for a descriptor of the specified name, and returns a pointer to it if it exists. | |
| virtual DtVrfRadioDescriptor * | lookupRadioDescriptor (const DtString &name) |
Protected Member Functions | |
| DtRadioDescriptorList () | |
| void | emptyList () |
| Removes all descriptors from the list, and destroys them. | |
| void | copyList (const DtRadioDescriptorList &orig) |
| virtual void | addRadioDescriptor (DtVrfRadioDescriptor *descriptor) |
| Adds this descriptor to the list. | |
| virtual DtListItem * | lookupRadioDescriptorItem (const DtString &name) const |
| Looks up the descriptor and returns the list item that points to it. | |
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings) |
| This method must be overridden by a subclass. | |
List of DtRadioDescriptor subclasses that can be read from a RW type file.
This class owns all descriptors contained on the list and deletes them when the list is destroyed.
| DtRadioDescriptorList::DtRadioDescriptorList | ( | ) | [protected] |
| DtRadioDescriptorList::DtRadioDescriptorList | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
constructor
| DtRadioDescriptorList::DtRadioDescriptorList | ( | const DtRadioDescriptorList & | orig, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtRadioDescriptorList::~DtRadioDescriptorList | ( | ) | [virtual] |
destructor
| DtRadioDescriptorList& DtRadioDescriptorList::operator= | ( | const DtRadioDescriptorList & | orig | ) |
Assignment operator; removes and deletes all entries on the left hand side - then clones all entries on the right side list, adding them to the left side list.
| virtual DtRadioDescriptorList* DtRadioDescriptorList::clone | ( | DtReaderWriterRegistry * | parentRegistry = 0 | ) | [virtual] |
| virtual DtVrfRadioDescriptor* DtRadioDescriptorList::addRadioDescriptor | ( | const DtVrfRadioDescriptor & | descriptor | ) | [virtual] |
Clones the descriptor and adds it to the list.
| virtual const DtVrfRadioDescriptor* DtRadioDescriptorList::lookupRadioDescriptor | ( | const DtString & | name | ) | const [virtual] |
Searches the list for a descriptor of the specified name, and returns a pointer to it if it exists.
| virtual DtVrfRadioDescriptor* DtRadioDescriptorList::lookupRadioDescriptor | ( | const DtString & | name | ) | [virtual] |
| void DtRadioDescriptorList::emptyList | ( | ) | [protected] |
Removes all descriptors from the list, and destroys them.
| void DtRadioDescriptorList::copyList | ( | const DtRadioDescriptorList & | orig | ) | [protected] |
| virtual void DtRadioDescriptorList::addRadioDescriptor | ( | DtVrfRadioDescriptor * | descriptor | ) | [protected, virtual] |
Adds this descriptor to the list.
Does not clone the descriptor.
| virtual DtListItem* DtRadioDescriptorList::lookupRadioDescriptorItem | ( | const DtString & | name | ) | const [protected, virtual] |
Looks up the descriptor and returns the list item that points to it.
| virtual DtlObjPtr DtRadioDescriptorList::getData | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath, | ||
| const DtVariableBindingsList & | variableBindings | ||
| ) | [protected, virtual] |
This method must be overridden by a subclass.
Within this method, new instances of the DtReaderWriter subclass that is being handled by this list must be created, and then retrieved from the mtl stream, using the getSelf member of that item.
Implements DtRwList.