My Project
|
Public Member Functions | |
PerlModOutput (bool pretty) | |
virtual | ~PerlModOutput () |
void | setPerlModOutputStream (PerlModOutputStream *os) |
PerlModOutput & | openSave () |
PerlModOutput & | closeSave (QCString &s) |
PerlModOutput & | continueBlock () |
PerlModOutput & | add (char c) |
PerlModOutput & | add (const char *s) |
PerlModOutput & | add (QCString &s) |
PerlModOutput & | add (int n) |
PerlModOutput & | add (unsigned int n) |
PerlModOutput & | addQuoted (const char *s) |
PerlModOutput & | indent () |
PerlModOutput & | open (char c, const char *s=0) |
PerlModOutput & | close (char c=0) |
PerlModOutput & | addField (const char *s) |
PerlModOutput & | addFieldQuotedChar (const char *field, char content) |
PerlModOutput & | addFieldQuotedString (const char *field, const char *content) |
PerlModOutput & | addFieldBoolean (const char *field, bool content) |
PerlModOutput & | openList (const char *s=0) |
PerlModOutput & | closeList () |
PerlModOutput & | openHash (const char *s=0) |
PerlModOutput & | closeHash () |
Public Attributes | |
bool | m_pretty |
Protected Member Functions | |
void | iopenSave () |
void | icloseSave (QCString &) |
void | incIndent () |
void | decIndent () |
void | iaddQuoted (const char *) |
void | iaddFieldQuotedChar (const char *, char) |
void | iaddFieldQuotedString (const char *, const char *) |
void | iaddField (const char *) |
void | iopen (char, const char *) |
void | iclose (char) |
Private Attributes | |
PerlModOutputStream * | m_stream |
int | m_indentation |
bool | m_blockstart |
QStack< PerlModOutputStream > | m_saved |
char | m_spaces [PERLOUTPUT_MAX_INDENTATION *2+2] |
Definition at line 105 of file perlmodgen.cpp.
|
inline |
Definition at line 111 of file perlmodgen.cpp.
References m_spaces.
|
inlinevirtual |
Definition at line 117 of file perlmodgen.cpp.
|
inline |
Definition at line 134 of file perlmodgen.cpp.
References PerlModOutputStream::add(), and m_stream.
Referenced by addPerlModDocBlock(), PerlModDocVisitor::enterText(), PerlModDocVisitor::finish(), PerlModGenerator::generatePerlModOutput(), PerlModDocVisitor::leaveText(), PerlModDocVisitor::visit(), PerlModDocVisitor::visitPost(), and PerlModDocVisitor::visitPre().
|
inline |
Definition at line 135 of file perlmodgen.cpp.
References PerlModOutputStream::add(), and m_stream.
|
inline |
Definition at line 136 of file perlmodgen.cpp.
References PerlModOutputStream::add(), and m_stream.
|
inline |
Definition at line 137 of file perlmodgen.cpp.
References PerlModOutputStream::add(), and m_stream.
|
inline |
Definition at line 138 of file perlmodgen.cpp.
References PerlModOutputStream::add(), and m_stream.
|
inline |
Definition at line 154 of file perlmodgen.cpp.
References iaddField().
Referenced by addPerlModDocBlock(), and PerlModDocVisitor::enterText().
|
inline |
Definition at line 163 of file perlmodgen.cpp.
References addFieldQuotedString().
Referenced by PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForMember(), and PerlModDocVisitor::visit().
|
inline |
Definition at line 155 of file perlmodgen.cpp.
References iaddFieldQuotedChar().
Referenced by PerlModDocVisitor::visit().
|
inline |
Definition at line 159 of file perlmodgen.cpp.
References iaddFieldQuotedString().
Referenced by addFieldBoolean(), PerlModDocVisitor::addLink(), PerlModGenerator::addListOfAllMembers(), addTemplateArgumentList(), PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForFile(), PerlModGenerator::generatePerlModForGroup(), PerlModGenerator::generatePerlModForMember(), PerlModGenerator::generatePerlModForNamespace(), PerlModGenerator::generatePerlModForPage(), PerlModGenerator::generatePerlModSection(), PerlModDocVisitor::openItem(), PerlModDocVisitor::visit(), and PerlModDocVisitor::visitPre().
|
inline |
Definition at line 140 of file perlmodgen.cpp.
References iaddQuoted().
Referenced by PerlModDocVisitor::visit(), and PerlModDocVisitor::visitPre().
|
inline |
Definition at line 152 of file perlmodgen.cpp.
References iclose().
Referenced by closeHash(), and closeList().
|
inline |
Definition at line 170 of file perlmodgen.cpp.
References close().
Referenced by addPerlModDocBlock(), addTemplateArgumentList(), PerlModDocVisitor::closeItem(), PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForFile(), PerlModGenerator::generatePerlModForGroup(), PerlModGenerator::generatePerlModForMember(), PerlModGenerator::generatePerlModForNamespace(), PerlModGenerator::generatePerlModForPage(), PerlModGenerator::generatePerlModOutput(), PerlModGenerator::generatePerlModSection(), PerlModDocVisitor::leaveText(), PerlModDocVisitor::visitPost(), and PerlModDocVisitor::visitPre().
|
inline |
Definition at line 168 of file perlmodgen.cpp.
References close().
Referenced by PerlModGenerator::addListOfAllMembers(), addTemplateArgumentList(), PerlModDocVisitor::closeSubBlock(), PerlModDocVisitor::finish(), PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForFile(), PerlModGenerator::generatePerlModForGroup(), PerlModGenerator::generatePerlModForMember(), PerlModGenerator::generatePerlModForNamespace(), PerlModGenerator::generatePerlModOutput(), PerlModGenerator::generatePerlModSection(), PerlModDocVisitor::visitPost(), and PerlModDocVisitor::visitPre().
|
inline |
|
inline |
Definition at line 124 of file perlmodgen.cpp.
References PerlModOutputStream::add(), indent(), m_blockstart, and m_stream.
Referenced by iaddField(), and iopen().
|
protected |
Definition at line 221 of file perlmodgen.cpp.
References m_indentation, m_spaces, and PERLOUTPUT_MAX_INDENTATION.
Referenced by iclose().
|
protected |
Definition at line 238 of file perlmodgen.cpp.
References PerlModOutputStream::add(), continueBlock(), m_pretty, and m_stream.
Referenced by addField(), iaddFieldQuotedChar(), iaddFieldQuotedString(), and iopen().
|
protected |
Definition at line 245 of file perlmodgen.cpp.
References PerlModOutputStream::add(), iaddField(), and m_stream.
Referenced by addFieldQuotedChar().
|
protected |
Definition at line 255 of file perlmodgen.cpp.
References PerlModOutputStream::add(), iaddField(), iaddQuoted(), and m_stream.
Referenced by addFieldQuotedString().
|
protected |
Definition at line 228 of file perlmodgen.cpp.
References PerlModOutputStream::add(), and m_stream.
Referenced by addQuoted(), and iaddFieldQuotedString().
|
protected |
Definition at line 276 of file perlmodgen.cpp.
References PerlModOutputStream::add(), decIndent(), indent(), m_blockstart, and m_stream.
Referenced by close().
|
protected |
Definition at line 204 of file perlmodgen.cpp.
References PerlModOutputStream::m_s, m_saved, and m_stream.
Referenced by closeSave().
|
protected |
Definition at line 211 of file perlmodgen.cpp.
References m_indentation, m_spaces, and PERLOUTPUT_MAX_INDENTATION.
Referenced by iopen().
|
inline |
Definition at line 142 of file perlmodgen.cpp.
References PerlModOutputStream::add(), m_pretty, m_spaces, and m_stream.
Referenced by continueBlock(), and iclose().
|
protected |
Definition at line 265 of file perlmodgen.cpp.
References PerlModOutputStream::add(), continueBlock(), iaddField(), incIndent(), m_blockstart, and m_stream.
Referenced by open().
|
protected |
Definition at line 198 of file perlmodgen.cpp.
References m_saved, and m_stream.
Referenced by openSave().
|
inline |
Definition at line 151 of file perlmodgen.cpp.
References iopen().
Referenced by openHash(), and openList().
|
inline |
Definition at line 169 of file perlmodgen.cpp.
References open().
Referenced by PerlModGenerator::addListOfAllMembers(), addPerlModDocBlock(), addTemplateArgumentList(), PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForFile(), PerlModGenerator::generatePerlModForGroup(), PerlModGenerator::generatePerlModForMember(), PerlModGenerator::generatePerlModForNamespace(), PerlModGenerator::generatePerlModForPage(), PerlModGenerator::generatePerlModOutput(), PerlModGenerator::generatePerlModSection(), PerlModDocVisitor::openItem(), and PerlModDocVisitor::visitPre().
|
inline |
Definition at line 167 of file perlmodgen.cpp.
References open().
Referenced by PerlModGenerator::addListOfAllMembers(), addTemplateArgumentList(), PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForFile(), PerlModGenerator::generatePerlModForGroup(), PerlModGenerator::generatePerlModForMember(), PerlModGenerator::generatePerlModForNamespace(), PerlModGenerator::generatePerlModOutput(), PerlModGenerator::generatePerlModSection(), PerlModDocVisitor::openSubBlock(), PerlModDocVisitor::PerlModDocVisitor(), and PerlModDocVisitor::visitPre().
|
inline |
|
inline |
Definition at line 119 of file perlmodgen.cpp.
References m_stream.
Referenced by PerlModGenerator::generatePerlModOutput().
|
private |
Definition at line 192 of file perlmodgen.cpp.
Referenced by continueBlock(), iclose(), and iopen().
|
private |
Definition at line 191 of file perlmodgen.cpp.
Referenced by decIndent(), and incIndent().
bool PerlModOutput::m_pretty |
Definition at line 109 of file perlmodgen.cpp.
Referenced by iaddField(), and indent().
|
private |
Definition at line 194 of file perlmodgen.cpp.
Referenced by icloseSave(), and iopenSave().
|
private |
Definition at line 195 of file perlmodgen.cpp.
Referenced by decIndent(), incIndent(), indent(), and PerlModOutput().
|
private |
Definition at line 190 of file perlmodgen.cpp.
Referenced by add(), continueBlock(), iaddField(), iaddFieldQuotedChar(), iaddFieldQuotedString(), iaddQuoted(), iclose(), icloseSave(), indent(), iopen(), iopenSave(), and setPerlModOutputStream().