![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtSimResourceList: More...

Public Member Functions | |
| DtSimResourceList () | |
| default constructor | |
| DtSimResourceList (const DtString &name, DtReaderWriterRegistry *parentRegistry=0) | |
| real constructor | |
| DtSimResourceList (const DtSimResourceList &orig, DtSimResource *parent, DtReaderWriterRegistry *parentRegistry=0) | |
| copy constructor | |
| DtSimResourceList & | operator= (const DtSimResourceList &orig) |
| assignment operator | |
| virtual | ~DtSimResourceList () |
| destructor | |
| virtual void | addResource (DtSimResource *resource) |
| virtual bool | removeResource (DtSimResource *resource) |
| Removes the specified resource from this list, or any from any of the subresource lists of resources in this list. | |
| virtual DtSimResourceList * | clone (DtSimResource *parent, DtReaderWriterRegistry *parentRegistry=0) const |
| virtual DtlObjPtr | getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings) |
| This method must be overridden by a subclass. | |
| virtual DtSimResource * | parent () const |
| virtual void | setParent (DtSimResource *parent) |
| virtual void | addResourceToParent (DtSimResource *resource) |
| virtual void | copyList (const DtSimResourceList &orig, DtReaderWriterRegistry *parentRegistry=0) |
| virtual const char * | readerWriterType () const |
| Used to supply a string type that this reader writer type is. | |
Protected Attributes | |
| DtSimResource * | myParent |
| The resource for which this list maintains sub resources. | |
class DtSimResourceList:
default constructor
| DtSimResourceList::DtSimResourceList | ( | const DtString & | name, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
real constructor
| DtSimResourceList::DtSimResourceList | ( | const DtSimResourceList & | orig, |
| DtSimResource * | parent, | ||
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) |
copy constructor
| virtual DtSimResourceList::~DtSimResourceList | ( | ) | [virtual] |
destructor
| DtSimResourceList& DtSimResourceList::operator= | ( | const DtSimResourceList & | orig | ) |
assignment operator
| virtual void DtSimResourceList::addResource | ( | DtSimResource * | resource | ) | [virtual] |
| virtual bool DtSimResourceList::removeResource | ( | DtSimResource * | resource | ) | [virtual] |
Removes the specified resource from this list, or any from any of the subresource lists of resources in this list.
Sets the resource's parent to NULL if it is removed. Does not delete the resource.
| virtual DtSimResourceList* DtSimResourceList::clone | ( | DtSimResource * | parent, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | const [virtual] |
| virtual DtlObjPtr DtSimResourceList::getData | ( | DtlObjPtr | args, |
| const DtFilename & | searchPath, | ||
| const DtVariableBindingsList & | variableBindings | ||
| ) | [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.
| virtual DtSimResource* DtSimResourceList::parent | ( | ) | const [virtual] |
| virtual void DtSimResourceList::setParent | ( | DtSimResource * | parent | ) | [virtual] |
| virtual void DtSimResourceList::addResourceToParent | ( | DtSimResource * | resource | ) | [virtual] |
| virtual void DtSimResourceList::copyList | ( | const DtSimResourceList & | orig, |
| DtReaderWriterRegistry * | parentRegistry = 0 |
||
| ) | [virtual] |
| virtual const char* DtSimResourceList::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 DtRwList.
DtSimResource* DtSimResourceList::myParent [protected] |
The resource for which this list maintains sub resources.