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

RW List which holds DtSubordinatesEntry subclasses. More...

Inheritance diagram for DtAggregatedResourceList:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtAggregatedResourceList ()
 default constructor
 DtAggregatedResourceList (const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 real constructor
 DtAggregatedResourceList (const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
 DtAggregatedResourceList (const DtString &name, const DtAggregatedResourceList &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 List elements are not copied.
 DtAggregatedResourceList (const DtSymbolString &name, const DtAggregatedResourceList &orig, DtReaderWriterRegistry *parentRegistry=NULL)
 List elements are not copied.
virtual ~DtAggregatedResourceList ()
 destructor.
const DtAggregatedResourceListoperator= (const DtAggregatedResourceList &orig)
virtual const char * readerWriterType () const
virtual void copyListFrom (const DtAggregatedResourceList &orig)
 Clones all the list elements from the source list and adds them to this list.
virtual void clear ()
 Removes and deletes all list elements.
bool operator== (const DtAggregatedResourceList &) const
 Equivalence operators.
bool operator!= (const DtAggregatedResourceList &) const

Protected Member Functions

virtual DtlObjPtr getData (DtlObjPtr args, const DtFilename &searchPath, const DtVariableBindingsList &variableBindings)
 This method must be overridden by a subclass.

Detailed Description

RW List which holds DtSubordinatesEntry subclasses.


Constructor & Destructor Documentation

default constructor

real constructor

List elements are not copied.

List elements are not copied.

destructor.


Member Function Documentation

const DtAggregatedResourceList& DtAggregatedResourceList::operator= ( const DtAggregatedResourceList orig)
virtual const char* DtAggregatedResourceList::readerWriterType ( ) const [virtual]
Returns:
DtAggregatedResourceListType from rwTypes.h.

Reimplemented from DtRwList.

virtual void DtAggregatedResourceList::copyListFrom ( const DtAggregatedResourceList orig) [virtual]

Clones all the list elements from the source list and adds them to this list.

virtual void DtAggregatedResourceList::clear ( ) [virtual]

Removes and deletes all list elements.

bool DtAggregatedResourceList::operator== ( const DtAggregatedResourceList ) const

Equivalence operators.

bool DtAggregatedResourceList::operator!= ( const DtAggregatedResourceList ) const
virtual DtlObjPtr DtAggregatedResourceList::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.

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.


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)