Public Member Functions | |
PerlModOutput (bool pretty) | |
virtual | ~PerlModOutput () |
void | setPerlModOutputStream (PerlModOutputStream *os) |
PerlModOutput & | openSave () |
PerlModOutput & | closeSave (QString &s) |
PerlModOutput & | continueBlock () |
PerlModOutput & | add (char c) |
PerlModOutput & | add (const char *s) |
PerlModOutput & | add (QCString &s) |
PerlModOutput & | add (QString &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 (QString &) |
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) |
Definition at line 101 of file perlmodgen.cpp.
PerlModOutput::PerlModOutput | ( | bool | pretty | ) | [inline] |
Definition at line 107 of file perlmodgen.cpp.
virtual PerlModOutput::~PerlModOutput | ( | ) | [inline, virtual] |
Definition at line 113 of file perlmodgen.cpp.
void PerlModOutput::setPerlModOutputStream | ( | PerlModOutputStream * | os | ) | [inline] |
Definition at line 115 of file perlmodgen.cpp.
Referenced by PerlModGenerator::generatePerlModOutput().
PerlModOutput& PerlModOutput::openSave | ( | ) | [inline] |
PerlModOutput& PerlModOutput::closeSave | ( | QString & | s | ) | [inline] |
PerlModOutput& PerlModOutput::continueBlock | ( | ) | [inline] |
Definition at line 120 of file perlmodgen.cpp.
References PerlModOutputStream::add(), and indent().
Referenced by iaddField(), and iopen().
PerlModOutput& PerlModOutput::add | ( | char | c | ) | [inline] |
Definition at line 130 of file perlmodgen.cpp.
References PerlModOutputStream::add().
Referenced by PerlModDocVisitor::finish(), PerlModGenerator::generatePerlModOutput(), PerlModDocVisitor::visit(), PerlModDocVisitor::visitPost(), and PerlModDocVisitor::visitPre().
PerlModOutput& PerlModOutput::add | ( | const char * | s | ) | [inline] |
PerlModOutput& PerlModOutput::add | ( | QCString & | s | ) | [inline] |
PerlModOutput& PerlModOutput::add | ( | QString & | s | ) | [inline] |
PerlModOutput& PerlModOutput::add | ( | int | n | ) | [inline] |
PerlModOutput& PerlModOutput::add | ( | unsigned int | n | ) | [inline] |
PerlModOutput& PerlModOutput::addQuoted | ( | const char * | s | ) | [inline] |
Definition at line 137 of file perlmodgen.cpp.
References iaddQuoted().
Referenced by PerlModDocVisitor::visit(), and PerlModDocVisitor::visitPre().
PerlModOutput& PerlModOutput::indent | ( | ) | [inline] |
Definition at line 139 of file perlmodgen.cpp.
References PerlModOutputStream::add(), and m_pretty.
Referenced by continueBlock(), and iclose().
PerlModOutput& PerlModOutput::open | ( | char | c, | |
const char * | s = 0 | |||
) | [inline] |
Definition at line 148 of file perlmodgen.cpp.
References iopen().
Referenced by openHash(), and openList().
PerlModOutput& PerlModOutput::close | ( | char | c = 0 |
) | [inline] |
Definition at line 149 of file perlmodgen.cpp.
References iclose().
Referenced by closeHash(), and closeList().
PerlModOutput& PerlModOutput::addField | ( | const char * | s | ) | [inline] |
PerlModOutput& PerlModOutput::addFieldQuotedChar | ( | const char * | field, | |
char | content | |||
) | [inline] |
Definition at line 152 of file perlmodgen.cpp.
References iaddFieldQuotedChar().
Referenced by PerlModDocVisitor::visit().
PerlModOutput& PerlModOutput::addFieldQuotedString | ( | const char * | field, | |
const char * | content | |||
) | [inline] |
Definition at line 156 of file perlmodgen.cpp.
References iaddFieldQuotedString().
Referenced by addFieldBoolean(), PerlModGenerator::addListOfAllMembers(), PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForFile(), PerlModGenerator::generatePerlModForGroup(), PerlModGenerator::generatePerlModForMember(), PerlModGenerator::generatePerlModForNamespace(), PerlModGenerator::generatePerlModForPage(), PerlModGenerator::generatePerlModSection(), PerlModDocVisitor::visit(), and PerlModDocVisitor::visitPre().
PerlModOutput& PerlModOutput::addFieldBoolean | ( | const char * | field, | |
bool | content | |||
) | [inline] |
Definition at line 160 of file perlmodgen.cpp.
References addFieldQuotedString().
Referenced by PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForMember(), and PerlModDocVisitor::visit().
PerlModOutput& PerlModOutput::openList | ( | const char * | s = 0 |
) | [inline] |
Definition at line 164 of file perlmodgen.cpp.
References open().
Referenced by PerlModGenerator::addListOfAllMembers(), PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForFile(), PerlModGenerator::generatePerlModForGroup(), PerlModGenerator::generatePerlModForMember(), PerlModGenerator::generatePerlModForNamespace(), PerlModGenerator::generatePerlModOutput(), PerlModGenerator::generatePerlModSection(), PerlModDocVisitor::PerlModDocVisitor(), and PerlModDocVisitor::visitPre().
PerlModOutput& PerlModOutput::closeList | ( | ) | [inline] |
Definition at line 165 of file perlmodgen.cpp.
References close().
Referenced by PerlModGenerator::addListOfAllMembers(), PerlModDocVisitor::finish(), PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForFile(), PerlModGenerator::generatePerlModForGroup(), PerlModGenerator::generatePerlModForMember(), PerlModGenerator::generatePerlModForNamespace(), PerlModGenerator::generatePerlModOutput(), PerlModGenerator::generatePerlModSection(), PerlModDocVisitor::visitPost(), and PerlModDocVisitor::visitPre().
PerlModOutput& PerlModOutput::openHash | ( | const char * | s = 0 |
) | [inline] |
Definition at line 166 of file perlmodgen.cpp.
References open().
Referenced by PerlModGenerator::addListOfAllMembers(), PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForFile(), PerlModGenerator::generatePerlModForGroup(), PerlModGenerator::generatePerlModForMember(), PerlModGenerator::generatePerlModForNamespace(), PerlModGenerator::generatePerlModForPage(), PerlModGenerator::generatePerlModOutput(), PerlModGenerator::generatePerlModSection(), and PerlModDocVisitor::visitPre().
PerlModOutput& PerlModOutput::closeHash | ( | ) | [inline] |
Definition at line 167 of file perlmodgen.cpp.
References close().
Referenced by PerlModGenerator::generatePerlModForClass(), PerlModGenerator::generatePerlModForFile(), PerlModGenerator::generatePerlModForGroup(), PerlModGenerator::generatePerlModForMember(), PerlModGenerator::generatePerlModForNamespace(), PerlModGenerator::generatePerlModForPage(), PerlModGenerator::generatePerlModOutput(), PerlModGenerator::generatePerlModSection(), PerlModDocVisitor::visitPost(), and PerlModDocVisitor::visitPre().
void PerlModOutput::iopenSave | ( | ) | [protected] |
void PerlModOutput::icloseSave | ( | QString & | ) | [protected] |
Definition at line 201 of file perlmodgen.cpp.
References PerlModOutputStream::m_s.
Referenced by closeSave().
void PerlModOutput::incIndent | ( | ) | [protected] |
Definition at line 208 of file perlmodgen.cpp.
References PERLOUTPUT_MAX_INDENTATION.
Referenced by iopen().
void PerlModOutput::decIndent | ( | ) | [protected] |
Definition at line 218 of file perlmodgen.cpp.
References PERLOUTPUT_MAX_INDENTATION.
Referenced by iclose().
void PerlModOutput::iaddQuoted | ( | const char * | ) | [protected] |
Definition at line 225 of file perlmodgen.cpp.
References PerlModOutputStream::add().
Referenced by addQuoted(), and iaddFieldQuotedString().
void PerlModOutput::iaddFieldQuotedChar | ( | const char * | , | |
char | ||||
) | [protected] |
Definition at line 242 of file perlmodgen.cpp.
References PerlModOutputStream::add(), and iaddField().
Referenced by addFieldQuotedChar().
void PerlModOutput::iaddFieldQuotedString | ( | const char * | , | |
const char * | ||||
) | [protected] |
Definition at line 252 of file perlmodgen.cpp.
References PerlModOutputStream::add(), iaddField(), and iaddQuoted().
Referenced by addFieldQuotedString().
void PerlModOutput::iaddField | ( | const char * | ) | [protected] |
Definition at line 235 of file perlmodgen.cpp.
References PerlModOutputStream::add(), continueBlock(), and m_pretty.
Referenced by addField(), iaddFieldQuotedChar(), iaddFieldQuotedString(), and iopen().
void PerlModOutput::iopen | ( | char | , | |
const char * | ||||
) | [protected] |
Definition at line 262 of file perlmodgen.cpp.
References PerlModOutputStream::add(), continueBlock(), iaddField(), and incIndent().
Referenced by open().
void PerlModOutput::iclose | ( | char | ) | [protected] |
Definition at line 273 of file perlmodgen.cpp.
References PerlModOutputStream::add(), decIndent(), and indent().
Referenced by close().