Macros
LoopMacros.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _UNITID(_id)
 
#define _UNITSLISTID(_id)
 
#define _UNITSPTRLISTID(_id)
 
#define _PCSORDID(_id)
 
#define _UNITSLISTITERID(_id)
 
#define _UNITSPTRLISTITERID(_id)
 
#define _EVENTSLISTITERID(_id)
 
#define _OPENFLUID_UNITS_ORDERED_LOOP_WITHID(unitsclass, unitptr, id)
 
#define OPENFLUID_UNITS_ORDERED_LOOP(unitsclass, unitptr)
 
#define _OPENFLUID_ALLUNITS_ORDERED_LOOP_WITHID(unitptr, id)
 
#define OPENFLUID_ALLUNITS_ORDERED_LOOP(unitptr)
 
#define _OPENFLUID_UNITSLIST_LOOP_WITHID(unitslist, unitptr, id)
 
#define OPENFLUID_UNITSLIST_LOOP(unitslist, unitptr)
 
#define _OPENFLUID_EVENT_COLLECTION_LOOP_WITHID(id, evlist, evobj)
 
#define OPENFLUID_EVENT_COLLECTION_LOOP(evlist, evobj)
 

Detailed Description

Author
Jean-Christophe FABRE jean-.nosp@m.chri.nosp@m.stoph.nosp@m.e.fa.nosp@m.bre@s.nosp@m.upag.nosp@m.ro.in.nosp@m.ra.f.nosp@m.r

Macro Definition Documentation

#define _EVENTSLISTITERID (   _id)
#define _OPENFLUID_ALLUNITS_ORDERED_LOOP_WITHID (   unitptr,
  id 
)
#define _OPENFLUID_EVENT_COLLECTION_LOOP_WITHID (   id,
  evlist,
  evobj 
)
#define _OPENFLUID_UNITS_ORDERED_LOOP_WITHID (   unitsclass,
  unitptr,
  id 
)
#define _OPENFLUID_UNITSLIST_LOOP_WITHID (   unitslist,
  unitptr,
  id 
)
#define _PCSORDID (   _id)
#define _UNITID (   _id)
#define _UNITSLISTID (   _id)
#define _UNITSLISTITERID (   _id)
#define _UNITSPTRLISTID (   _id)
#define _UNITSPTRLISTITERID (   _id)
#define OPENFLUID_ALLUNITS_ORDERED_LOOP (   unitptr)

Macro for a loop processing all units, following their process order

Parameters
[out]unitptrpointer to a openfluid::core::SpatialUnit object, automatically pointing to the current processed unit
#define OPENFLUID_EVENT_COLLECTION_LOOP (   evlist,
  evobj 
)

Macro for a loop processing an events list from an event collection

Parameters
[in]evlistpointer to a list of events
[out]evobjthe current processed event
#define OPENFLUID_UNITS_ORDERED_LOOP (   unitsclass,
  unitptr 
)

Macro for a loop processing all units of a class, following their process order

Parameters
[in]unitsclassname of the units class
[out]unitptrpointer to a openfluid::core::SpatialUnit object, automatically pointing to the current processed unit
#define OPENFLUID_UNITSLIST_LOOP (   unitslist,
  unitptr 
)

Macro for a loop processing a list of units

Parameters
[in]unitslistpointer to a list of openfluid::core::Unit
[out]unitptrunitptr pointer to a openfluid::core::SpatialUnit object, pointing to the current processed unit