133 const QCString &docStr,
bool indexWords,
134 bool isExample,
const char *exampleName,
135 bool singleLine,
bool linkFromIndex)
146 if (count==0)
return TRUE;
150 ctx,md,docStr,indexWords,isExample,exampleName,
151 singleLine,linkFromIndex);
155 bool isEmpty = root->
isEmpty();
184 if (count==0)
return TRUE;
193 bool isEmpty = root->
isEmpty();
218 #define FORALL1(a1,p1) \ 219 void OutputList::forall(void (OutputGenerator::*func)(a1),a1) \ 221 QListIterator<OutputGenerator> it(m_outputs); \ 222 OutputGenerator *og; \ 223 for (it.toFirst();(og=it.current());++it) \ 225 if (og->isEnabled()) (og->*func)(p1); \ 230 #define FORALL2(a1,a2,p1,p2) \ 231 void OutputList::forall(void (OutputGenerator::*func)(a1,a2),a1,a2) \ 233 QListIterator<OutputGenerator> it(m_outputs); \ 234 OutputGenerator *og; \ 235 for (it.toFirst();(og=it.current());++it) \ 237 if (og->isEnabled()) (og->*func)(p1,p2); \ 242 #define FORALL3(a1,a2,a3,p1,p2,p3) \ 243 void OutputList::forall(void (OutputGenerator::*func)(a1,a2,a3),a1,a2,a3) \ 245 QListIterator<OutputGenerator> it(m_outputs); \ 246 OutputGenerator *og; \ 247 for (it.toFirst();(og=it.current());++it) \ 249 if (og->isEnabled()) (og->*func)(p1,p2,p3); \ 254 #define FORALL4(a1,a2,a3,a4,p1,p2,p3,p4) \ 255 void OutputList::forall(void (OutputGenerator::*func)(a1,a2,a3,a4),a1,a2,a3,a4) \ 257 QListIterator<OutputGenerator> it(m_outputs); \ 258 OutputGenerator *og; \ 259 for (it.toFirst();(og=it.current());++it) \ 261 if (og->isEnabled()) (og->*func)(p1,p2,p3,p4); \ 266 #define FORALL5(a1,a2,a3,a4,a5,p1,p2,p3,p4,p5) \ 267 void OutputList::forall(void (OutputGenerator::*func)(a1,a2,a3,a4,a5),a1,a2,a3,a4,a5) \ 269 QListIterator<OutputGenerator> it(m_outputs); \ 270 OutputGenerator *og; \ 271 for (it.toFirst();(og=it.current());++it) \ 273 if (og->isEnabled()) (og->*func)(p1,p2,p3,p4,p5); \ 278 #define FORALL6(a1,a2,a3,a4,a5,a6,p1,p2,p3,p4,p5,p6) \ 279 void OutputList::forall(void (OutputGenerator::*func)(a1,a2,a3,a4,a5,a6),a1,a2,a3,a4,a5,a6) \ 281 QListIterator<OutputGenerator> it(m_outputs); \ 282 OutputGenerator *og; \ 283 for (it.toFirst();(og=it.current());++it) \ 285 if (og->isEnabled()) (og->*func)(p1,p2,p3,p4,p5,p6); \ 290 #define FORALL7(a1,a2,a3,a4,a5,a6,a7,p1,p2,p3,p4,p5,p6,p7) \ 291 void OutputList::forall(void (OutputGenerator::*func)(a1,a2,a3,a4,a5,a6,a7),a1,a2,a3,a4,a5,a6,a7) \ 293 QListIterator<OutputGenerator> it(m_outputs); \ 294 OutputGenerator *og; \ 295 for (it.toFirst();(og=it.current());++it) \ 297 if (og->isEnabled()) (og->*func)(p1,p2,p3,p4,p5,p6,p7); \ 303 #define FORALL8(a1,a2,a3,a4,a5,a6,a7,a8,p1,p2,p3,p4,p5,p6,p7,p8) \ 304 void OutputList::forall(void (OutputGenerator::*func)(a1,a2,a3,a4,a5,a6,a7,a8),a1,a2,a3,a4,a5,a6,a7,a8) \ 306 QListIterator<OutputGenerator> it(m_outputs); \ 307 OutputGenerator *og; \ 308 for (it.toFirst();(og=it.current());++it) \ 310 if (og->isEnabled()) (og->*func)(p1,p2,p3,p4,p5,p6,p7,p8); \ 326 #if defined(HAS_BOOL_TYPE) || defined(Q_HAS_BOOL_TYPE) 341 FORALL3(
bool a1,
bool a2,
bool a3,a1,a2,a3)
354 FORALL6(
const char *a1,
const char *a2,
const char *a3,
const char *a4,
const char *a5,
const char *
a6,a1,a2,a3,a4,a5,a6)
355 FORALL6(
const char *a1,
const DocLinkInfo &a2,
const char *a3,
const char *a4,
const SourceLinkInfo &a5,
const SourceLinkInfo &a6,a1,a2,a3,a4,a5,a6)
virtual bool isEnabled(OutputType o)=0
void pushGeneratorState()
void append(const type *d)
bool generateDoc(const char *fileName, int startLine, Definition *ctx, MemberDef *md, const QCString &docStr, bool indexWords, bool isExample, const char *exampleName=0, bool singleLine=FALSE, bool linkFromIndex=FALSE)
void disableAllBut(OutputGenerator::OutputType o)
#define FORALL5(a1, a2, a3, a4, a5, p1, p2, p3, p4, p5)
DocText * validatingParseText(const char *input)
DocRoot * validatingParseDoc(const char *fileName, int startLine, Definition *ctx, MemberDef *md, const char *input, bool indexWords, bool isExample, const char *exampleName, bool singleLine, bool linkFromIndex)
bool isEnabled(OutputGenerator::OutputType o)
bool parseText(const QCString &textStr)
#define FORALL6(a1, a2, a3, a4, a5, a6, p1, p2, p3, p4, p5, p6)
#define FORALL4(a1, a2, a3, a4, p1, p2, p3, p4)
static void setFlowMember(const MemberDef *flowMember)
void pushGeneratorState()
virtual void disableIfNot(OutputType o)=0
void disable(OutputGenerator::OutputType o)
void writeDoc(DocRoot *root, Definition *ctx, MemberDef *md)
void enable(OutputGenerator::OutputType o)
#define FORALL3(a1, a2, a3, p1, p2, p3)
void add(const OutputGenerator *)
#define FORALL2(a1, a2, p1, p2)
virtual void enableIf(OutputType o)=0
virtual void writeDoc(DocNode *, Definition *ctx, MemberDef *md)=0
void forall(void(OutputGenerator::*func)())
void setAutoDelete(bool enable)
virtual void disableIf(OutputType o)=0
QList< OutputGenerator > m_outputs