The PerlModOutput
Class Reference
Declaration
Public Constructors Index
PerlModOutput (bool pretty) | |
Public Destructor Index
~PerlModOutput () | |
Public Member Functions Index
void | reset () |
void | setPerlModOutputStream (PerlModOutputStream *os) |
PerlModOutput & | continueBlock () |
PerlModOutput & | add (char c) |
PerlModOutput & | add (const QCString &s) |
PerlModOutput & | add (QCString &s) |
PerlModOutput & | add (int n) |
PerlModOutput & | add (unsigned int n) |
PerlModOutput & | addQuoted (const QCString &s) |
PerlModOutput & | indent () |
PerlModOutput & | open (char c, const QCString &s=QCString()) |
PerlModOutput & | close (char c=0) |
PerlModOutput & | addField (const QCString &s) |
PerlModOutput & | addFieldQuotedChar (const QCString &field, char content) |
PerlModOutput & | addFieldQuotedString (const QCString &field, const QCString &content) |
PerlModOutput & | addFieldBoolean (const QCString &field, bool content) |
PerlModOutput & | openList (const QCString &s=QCString()) |
PerlModOutput & | closeList () |
PerlModOutput & | openHash (const QCString &s=QCString()) |
PerlModOutput & | closeHash () |
Protected Member Functions Index
void | incIndent () |
void | decIndent () |
void | iaddQuoted (const QCString &) |
void | iaddFieldQuotedChar (const QCString &, char) |
void | iaddFieldQuotedString (const QCString &, const QCString &) |
void | iaddField (const QCString &) |
void | iopen (char, const QCString &) |
void | iclose (char) |
Public Member Attributes Index
bool | m_pretty |
Private Member Attributes Index
PerlModOutputStream * | m_stream |
int | m_indentation |
bool | m_blockstart |
char | m_spaces[PERLOUTPUT_MAX_INDENTATION *2+2] |
Definition at line 81 of file perlmodgen.cpp.
Public Constructors
PerlModOutput()
| inline |
Definition at line 87 of file perlmodgen.cpp.
References m_blockstart, m_indentation, m_pretty, m_spaces and m_stream.
Referenced by add, add, add, add, add, addField, addFieldBoolean, addFieldQuotedChar, addFieldQuotedString, addQuoted, close, closeHash, closeList, continueBlock, indent, open, openHash and openList.
Public Destructor
~PerlModOutput()
| inline virtual |
Definition at line 93 of file perlmodgen.cpp.
Reference reset.
Public Member Functions
add()
| inline |
Definition at line 113 of file perlmodgen.cpp.
References m_stream and PerlModOutput.
Referenced by addPerlModDocBlock.
add()
| inline |
Definition at line 114 of file perlmodgen.cpp.
References m_stream and PerlModOutput.
add()
| inline |
Definition at line 115 of file perlmodgen.cpp.
References m_stream and PerlModOutput.
add()
| inline |
Definition at line 116 of file perlmodgen.cpp.
References m_stream and PerlModOutput.
add()
| inline |
Definition at line 117 of file perlmodgen.cpp.
References m_stream and PerlModOutput.
addField()
| inline |
Definition at line 133 of file perlmodgen.cpp.
References iaddField and PerlModOutput.
Referenced by addPerlModDocBlock.
addFieldBoolean()
| inline |
Definition at line 142 of file perlmodgen.cpp.
References addFieldQuotedString and PerlModOutput.
addFieldQuotedChar()
| inline |
Definition at line 134 of file perlmodgen.cpp.
References iaddFieldQuotedChar and PerlModOutput.
addFieldQuotedString()
| inline |
Definition at line 138 of file perlmodgen.cpp.
References iaddFieldQuotedString and PerlModOutput.
Referenced by addFieldBoolean and addTemplateArgumentList.
addQuoted()
| inline |
Definition at line 119 of file perlmodgen.cpp.
References iaddQuoted and PerlModOutput.
close()
| inline |
Definition at line 131 of file perlmodgen.cpp.
References iclose and PerlModOutput.
closeHash()
| inline |
Definition at line 149 of file perlmodgen.cpp.
References close and PerlModOutput.
Referenced by addPerlModDocBlock and addTemplateArgumentList.
closeList()
| inline |
Definition at line 147 of file perlmodgen.cpp.
References close and PerlModOutput.
Referenced by addTemplateArgumentList.
continueBlock()
| inline |
Definition at line 103 of file perlmodgen.cpp.
References indent, m_blockstart, m_stream and PerlModOutput.
indent()
| inline |
Definition at line 121 of file perlmodgen.cpp.
References m_pretty, m_spaces, m_stream and PerlModOutput.
Referenced by continueBlock and iclose.
open()
openHash()
Definition at line 148 of file perlmodgen.cpp.
References open and PerlModOutput.
Referenced by addPerlModDocBlock and addTemplateArgumentList.
openList()
Definition at line 146 of file perlmodgen.cpp.
References open and PerlModOutput.
Referenced by addTemplateArgumentList.
reset()
| inline |
Definition at line 96 of file perlmodgen.cpp.
References m_stream and reset.
Referenced by reset and ~PerlModOutput.
setPerlModOutputStream()
| inline |
Definition at line 98 of file perlmodgen.cpp.
Reference m_stream.
Protected Member Functions
decIndent()
| protected |
Definition at line 157 of file perlmodgen.cpp.
References m_indentation, m_spaces and PERLOUTPUT_MAX_INDENTATION.
Referenced by iclose.
iaddField()
| protected |
Definition at line 162 of file perlmodgen.cpp.
References continueBlock, m_pretty and m_stream.
Referenced by addField, iaddFieldQuotedChar, iaddFieldQuotedString and iopen.
iaddFieldQuotedChar()
| protected |
Definition at line 160 of file perlmodgen.cpp.
References iaddField and m_stream.
Referenced by addFieldQuotedChar.
iaddFieldQuotedString()
| protected |
Definition at line 161 of file perlmodgen.cpp.
References iaddField, iaddQuoted and m_stream.
Referenced by addFieldQuotedString.
iaddQuoted()
| protected |
Definition at line 159 of file perlmodgen.cpp.
References QCString::data, QCString::isEmpty and m_stream.
Referenced by addQuoted and iaddFieldQuotedString.
iclose()
| protected |
Definition at line 165 of file perlmodgen.cpp.
References decIndent, indent, m_blockstart and m_stream.
Referenced by close.
incIndent()
| protected |
Definition at line 156 of file perlmodgen.cpp.
References m_indentation, m_spaces and PERLOUTPUT_MAX_INDENTATION.
Referenced by iopen.
iopen()
| protected |
Definition at line 164 of file perlmodgen.cpp.
References continueBlock, iaddField, incIndent, m_blockstart and m_stream.
Referenced by open.
Public Member Attributes
m_pretty
|
Definition at line 85 of file perlmodgen.cpp.
Referenced by iaddField, indent and PerlModOutput.
Private Member Attributes
m_blockstart
|
Definition at line 171 of file perlmodgen.cpp.
Referenced by continueBlock, iclose, iopen and PerlModOutput.
m_indentation
|
Definition at line 170 of file perlmodgen.cpp.
Referenced by decIndent, incIndent and PerlModOutput.
m_spaces
|
Definition at line 174 of file perlmodgen.cpp.
Referenced by decIndent, incIndent, indent and PerlModOutput.
m_stream
|
Definition at line 169 of file perlmodgen.cpp.
Referenced by add, add, add, add, add, continueBlock, iaddField, iaddFieldQuotedChar, iaddFieldQuotedString, iaddQuoted, iclose, indent, iopen, PerlModOutput, reset and setPerlModOutputStream.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus by Doxygen 1.14.0.