PerlModOutput Class Reference

List of all members.

Public Member Functions

 PerlModOutput (bool pretty)
virtual ~PerlModOutput ()
void setPerlModOutputStream (PerlModOutputStream *os)
PerlModOutputopenSave ()
PerlModOutputcloseSave (QString &s)
PerlModOutputcontinueBlock ()
PerlModOutputadd (char c)
PerlModOutputadd (const char *s)
PerlModOutputadd (QCString &s)
PerlModOutputadd (QString &s)
PerlModOutputadd (int n)
PerlModOutputadd (unsigned int n)
PerlModOutputaddQuoted (const char *s)
PerlModOutputindent ()
PerlModOutputopen (char c, const char *s=0)
PerlModOutputclose (char c=0)
PerlModOutputaddField (const char *s)
PerlModOutputaddFieldQuotedChar (const char *field, char content)
PerlModOutputaddFieldQuotedString (const char *field, const char *content)
PerlModOutputaddFieldBoolean (const char *field, bool content)
PerlModOutputopenList (const char *s=0)
PerlModOutputcloseList ()
PerlModOutputopenHash (const char *s=0)
PerlModOutputcloseHash ()

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)

Detailed Description

Definition at line 101 of file perlmodgen.cpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

void PerlModOutput::setPerlModOutputStream ( PerlModOutputStream os  )  [inline]

Definition at line 115 of file perlmodgen.cpp.

Referenced by PerlModGenerator::generatePerlModOutput().

PerlModOutput& PerlModOutput::openSave (  )  [inline]

Definition at line 117 of file perlmodgen.cpp.

References iopenSave().

PerlModOutput& PerlModOutput::closeSave ( QString &  s  )  [inline]

Definition at line 118 of file perlmodgen.cpp.

References icloseSave().

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]

Definition at line 131 of file perlmodgen.cpp.

References PerlModOutputStream::add().

PerlModOutput& PerlModOutput::add ( QCString &  s  )  [inline]

Definition at line 132 of file perlmodgen.cpp.

References PerlModOutputStream::add().

PerlModOutput& PerlModOutput::add ( QString &  s  )  [inline]

Definition at line 133 of file perlmodgen.cpp.

References PerlModOutputStream::add().

PerlModOutput& PerlModOutput::add ( int  n  )  [inline]

Definition at line 134 of file perlmodgen.cpp.

References PerlModOutputStream::add().

PerlModOutput& PerlModOutput::add ( unsigned int  n  )  [inline]

Definition at line 135 of file perlmodgen.cpp.

References PerlModOutputStream::add().

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]

Definition at line 151 of file perlmodgen.cpp.

References iaddField().

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]

Definition at line 195 of file perlmodgen.cpp.

Referenced by openSave().

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().


Member Data Documentation

bool PerlModOutput::m_pretty

Definition at line 105 of file perlmodgen.cpp.

Referenced by iaddField(), and indent().


The documentation for this class was generated from the following file:



Generated on Mon Mar 31 10:59:02 2008 by  doxygen 1.5.1