VR-Forces 4.0.4 Class Documentation
Public Member Functions
DtTrueAggregateResourceList Class Reference

class DtTrueAggregateResourceList: More...

Inheritance diagram for DtTrueAggregateResourceList:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtTrueAggregateResourceList ()
 default constructor
 DtTrueAggregateResourceList (const DtString &name, DtReaderWriterRegistry *parentRegistry=0)
 real constructor
 DtTrueAggregateResourceList (const DtTrueAggregateResourceList &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
DtTrueAggregateResourceListoperator= (const DtTrueAggregateResourceList &orig)
 assignment operator
virtual ~DtTrueAggregateResourceList ()
 destructor
virtual void addResource (DtTrueAggregateResource *resource)
virtual bool removeResource (DtTrueAggregateResource *resource)
 Removes the specified resource from this list Does not delete the resource.
virtual
DtTrueAggregateResourceList
clone (DtReaderWriterRegistry *parentRegistry=0) const
virtual DtlObjPtr getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings)
 This method must be overridden by a subclass.
virtual void copyList (const DtTrueAggregateResourceList &orig, DtReaderWriterRegistry *parentRegistry=0)
virtual const char * readerWriterType () const
 Used to supply a string type that this reader writer type is.

Detailed Description

class DtTrueAggregateResourceList:


Constructor & Destructor Documentation

default constructor

real constructor

copy constructor

destructor


Member Function Documentation

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

assignment operator

virtual void DtTrueAggregateResourceList::addResource ( DtTrueAggregateResource resource) [virtual]

Removes the specified resource from this list Does not delete the resource.

Returns:
True if the resource was removed.
virtual DtlObjPtr DtTrueAggregateResourceList::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.

Here is some sample code that could be used to implement a override of this class: (This is used in the DtRwIntegerList::getData() method)
 DtlObjPtr nameObj = DtcCar(args);
 DtRwInt* value = new DtRwInt(nameObj->pname());
 value->getSelf(args, searchPath, variableBindings);
 this->add(value);
 return DtcCdr(DtcCdr(args));

Implements DtRwList.

virtual void DtTrueAggregateResourceList::copyList ( const DtTrueAggregateResourceList orig,
DtReaderWriterRegistry parentRegistry = 0 
) [virtual]
virtual const char* DtTrueAggregateResourceList::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.


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)