15 #include <vlutil/vlList.h>
73 DtListItem* first()
const;
74 DtListItem* last()
const;
77 unsigned count()
const;
117 virtual void removeAndDelete(DtListItem* item);
121 virtual void removeAll();
124 virtual void removeAllAndDelete();
146 virtual DtlObjPtr getLocalData(DtlObjPtr args);
340 return myList.itemLookup(data);
345 return remove(data->
myItem);
DtList * myList
Definition: rwIntrusiveList.h:218
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is.
DtListItem * addToEnd(DtRwListedObj *data)
Add element to the end of the list.
Definition: rwIntrusiveList.h:266
DtListItem * itemLookup(DtRwListedObj *data) const
Returns the DtListItem envelope object containing the indicated data element.
Definition: rwIntrusiveList.h:338
Definition: symbolString.h:20
DtListItem * last() const
Definition: rwIntrusiveList.h:256
virtual DtlObjPtr getData(DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
Definition: readerWriter.h:85
unsigned count() const
Returns the number of elements in the list.
Definition: rwIntrusiveList.h:261
Definition: readerWriterRegistry.h:39
void removeAndDelete(DtRwListedObj *data)
Remove and delete an element from the list.
Definition: rwIntrusiveList.h:348
DtRwListedObj * wrapPrev() const
Definition: rwIntrusiveList.h:300
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DtRwListedObj * remove(DtRwListedObj *data)
Remove an element from the list.
Definition: rwIntrusiveList.h:343
DtListItem * first() const
Return first and last item on the list.
Definition: rwIntrusiveList.h:251
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
Top level to read itself from an input stream.
virtual DtListItem * addToList(DtRwListedObj *data, DtRwListedObj *after)
Add element to the list just after the indicated item.
class DtRwIntrusiveList:
Definition: rwIntrusiveList.h:38
DtRwListedObj * next() const
Return next (previous) elements on the list, or NULL if hit the end (beginning) of the list...
Definition: rwIntrusiveList.h:277
! This is a base class from which elements of a DtRwIntrusiveList must be derived.
Definition: rwIntrusiveList.h:173
DtListItem * addToStart(DtRwListedObj *data)
Add element to the beginning of the list.
Definition: rwIntrusiveList.h:326
DtListItem * myItem
Definition: rwIntrusiveList.h:219
DtRwListedObj * wrapNext() const
Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit...
Definition: rwIntrusiveList.h:292
DtRwListedObj * firstObj() const
Return first and last item on the list.
Definition: rwIntrusiveList.h:224
DtListItem * add(DtRwListedObj *data)
Add element to the end of the list.
Definition: rwIntrusiveList.h:309
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
DtRwListedObj * prev() const
Definition: rwIntrusiveList.h:284
DtListItem * addBefore(DtRwListedObj *data, DtRwListedObj *before)
Add element to the list just before the indicated object.
Definition: rwIntrusiveList.h:320
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.
DtListItem * addAfter(DtRwListedObj *data, DtRwListedObj *after)
Add element to the list just after the indicated object.
Definition: rwIntrusiveList.h:314
DtRwListedObj * lastObj() const
Definition: rwIntrusiveList.h:238
DtList myList
The actual DtList used to store the items.
Definition: rwIntrusiveList.h:164