VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros

This file contains the declaration of DtList and DtListItem. More...

Go to the source code of this file.

Classes

class  DtListItem
 lint -e266 More...
 
class  DtList
 DtList is deprecated, please use std::list<T>. More...
 
class  DtListedObj
 This is a base class from which elements of a DtIntrusiveList must be derived. More...
 
class  DtIntrusiveList
 An intrusive list is a list that assumes that the elements that you add are pointers to instances of classes derived from DtListedObject. More...
 

Macros

#define looplist(theData, list)
 Macro to loop through the list. More...
 
#define looptlist(theData, type, list)
 Typed looplist for cfront (ANSI C and GCC don't require casting from void *). More...
 
#define looptlist2(theData, type, list)
 Looptlist for multiple loops in same scope with C++ without proper scope of loop vars. More...
 

Detailed Description

This file contains the declaration of DtList and DtListItem.

Macro Definition Documentation

#define looplist (   theData,
  list 
)
Value:
for (DtListItem* item=(list)->first(); \
theData = (item ? item->data() : 0); \
item = item->next())
DtListItem * next() const
Definition: vlList.h:226
lint -e266
Definition: vlList.h:25

Macro to loop through the list.

#define looptlist (   theData,
  type,
  list 
)
Value:
for (DtListItem* item=(list)->first(); \
theData = (type)(item ? item->data() : 0); \
item = item->next())
DtListItem * next() const
Definition: vlList.h:226
lint -e266
Definition: vlList.h:25

Typed looplist for cfront (ANSI C and GCC don't require casting from void *).

#define looptlist2 (   theData,
  type,
  list 
)
Value:
for (item=(list)->first(); \
theData = (type)(item ? item->data() : 0); \
item = item->next())

Looptlist for multiple loops in same scope with C++ without proper scope of loop vars.


Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)