My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
PerlModOutputStream Class Reference

Public Member Functions

 PerlModOutputStream (FTextStream *t=0)
 
void add (char c)
 
void add (const char *s)
 
void add (QCString &s)
 
void add (int n)
 
void add (unsigned int n)
 

Public Attributes

QCString m_s
 
FTextStreamm_t
 

Detailed Description

Definition at line 49 of file perlmodgen.cpp.

Constructor & Destructor Documentation

PerlModOutputStream::PerlModOutputStream ( FTextStream t = 0)
inline

Definition at line 56 of file perlmodgen.cpp.

: m_t(t) { }

Member Function Documentation

void PerlModOutputStream::add ( char  c)
void PerlModOutputStream::add ( const char *  s)

Definition at line 73 of file perlmodgen.cpp.

References m_s, and m_t.

{
if (m_t != 0)
(*m_t) << s;
else
m_s += s;
}
void PerlModOutputStream::add ( QCString &  s)

Definition at line 81 of file perlmodgen.cpp.

References m_s, and m_t.

{
if (m_t != 0)
(*m_t) << s;
else
m_s += s;
}
void PerlModOutputStream::add ( int  n)

Definition at line 89 of file perlmodgen.cpp.

References m_s, and m_t.

{
if (m_t != 0)
(*m_t) << n;
else
m_s += n;
}
void PerlModOutputStream::add ( unsigned int  n)

Definition at line 97 of file perlmodgen.cpp.

References m_s, and m_t.

{
if (m_t != 0)
(*m_t) << n;
else
m_s += n;
}

Member Data Documentation

QCString PerlModOutputStream::m_s

Definition at line 53 of file perlmodgen.cpp.

Referenced by add(), and PerlModOutput::icloseSave().

FTextStream* PerlModOutputStream::m_t

Definition at line 54 of file perlmodgen.cpp.

Referenced by add().


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