outputlist.cpp File Reference

#include "outputlist.h"
#include "outputgen.h"
#include "config.h"
#include "message.h"
#include "definition.h"
#include "docparser.h"

Go to the source code of this file.

Defines

#define FORALL1(a1, p1)
#define FORALL2(a1, a2, p1, p2)
#define FORALL3(a1, a2, a3, p1, p2, p3)
#define FORALL4(a1, a2, a3, a4, p1, p2, p3, p4)
#define FORALL5(a1, a2, a3, a4, a5, p1, p2, p3, p4, p5)


Detailed Description

This class represents a list of output generators that work in "parallel". The class only knows about the abstract base class OutputGenerators. All output is produced by calling a method of this class, which forwards the call to all output generators.

Definition in file outputlist.cpp.


Define Documentation

#define FORALL1 ( a1,
p1   ) 

Value:

void OutputList::forall(void (OutputGenerator::*func)(a1),a1) \
{                                                             \
  OutputGenerator *og=outputs->first();                       \
  while (og)                                                  \
  {                                                           \
    if (og->isEnabled()) (og->*func)(p1);                     \
    og=outputs->next();                                       \
  }                                                           \
}

Definition at line 217 of file outputlist.cpp.

#define FORALL2 ( a1,
a2,
p1,
p2   ) 

Value:

void OutputList::forall(void (OutputGenerator::*func)(a1,a2),a1,a2) \
{                                                                   \
  OutputGenerator *og=outputs->first();                             \
  while (og)                                                        \
  {                                                                 \
    if (og->isEnabled()) (og->*func)(p1,p2);                        \
    og=outputs->next();                                             \
  }                                                                 \
}

Definition at line 229 of file outputlist.cpp.

#define FORALL3 ( a1,
a2,
a3,
p1,
p2,
p3   ) 

Value:

void OutputList::forall(void (OutputGenerator::*func)(a1,a2,a3),a1,a2,a3) \
{                                                                         \
  OutputGenerator *og=outputs->first();                                   \
  while (og)                                                              \
  {                                                                       \
    if (og->isEnabled()) (og->*func)(p1,p2,p3);                           \
    og=outputs->next();                                                   \
  }                                                                       \
}

Definition at line 241 of file outputlist.cpp.

#define FORALL4 ( a1,
a2,
a3,
a4,
p1,
p2,
p3,
p4   ) 

Value:

void OutputList::forall(void (OutputGenerator::*func)(a1,a2,a3,a4),a1,a2,a3,a4) \
{                                                                               \
  OutputGenerator *og=outputs->first();                                         \
  while (og)                                                                    \
  {                                                                             \
    if (og->isEnabled()) (og->*func)(p1,p2,p3,p4);                              \
    og=outputs->next();                                                         \
  }                                                                             \
}

Definition at line 253 of file outputlist.cpp.

#define FORALL5 ( a1,
a2,
a3,
a4,
a5,
p1,
p2,
p3,
p4,
p5   ) 

Value:

void OutputList::forall(void (OutputGenerator::*func)(a1,a2,a3,a4,a5),a1,a2,a3,a4,a5) \
{                                                                                     \
  OutputGenerator *og=outputs->first();                                               \
  while (og)                                                                          \
  {                                                                                   \
    if (og->isEnabled()) (og->*func)(p1,p2,p3,p4,p5);                                 \
    og=outputs->next();                                                               \
  }                                                                                   \
}

Definition at line 265 of file outputlist.cpp.



Generated on Mon Mar 31 10:58:53 2008 by  doxygen 1.5.1