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.

56 : m_t(t) { }
FTextStream * m_t
Definition: perlmodgen.cpp:54

Member Function Documentation

void PerlModOutputStream::add ( char  c)

Definition at line 65 of file perlmodgen.cpp.

66 {
67  if (m_t != 0)
68  (*m_t) << c;
69  else
70  m_s += c;
71 }
FTextStream * m_t
Definition: perlmodgen.cpp:54
void PerlModOutputStream::add ( const char *  s)

Definition at line 73 of file perlmodgen.cpp.

74 {
75  if (m_t != 0)
76  (*m_t) << s;
77  else
78  m_s += s;
79 }
FTextStream * m_t
Definition: perlmodgen.cpp:54
static QCString * s
Definition: config.cpp:1042
void PerlModOutputStream::add ( QCString s)

Definition at line 81 of file perlmodgen.cpp.

82 {
83  if (m_t != 0)
84  (*m_t) << s;
85  else
86  m_s += s;
87 }
FTextStream * m_t
Definition: perlmodgen.cpp:54
static QCString * s
Definition: config.cpp:1042
void PerlModOutputStream::add ( int  n)

Definition at line 89 of file perlmodgen.cpp.

90 {
91  if (m_t != 0)
92  (*m_t) << n;
93  else
94  m_s += n;
95 }
FTextStream * m_t
Definition: perlmodgen.cpp:54
std::void_t< T > n
void PerlModOutputStream::add ( unsigned int  n)

Definition at line 97 of file perlmodgen.cpp.

98 {
99  if (m_t != 0)
100  (*m_t) << n;
101  else
102  m_s += n;
103 }
FTextStream * m_t
Definition: perlmodgen.cpp:54
std::void_t< T > n

Member Data Documentation

QCString PerlModOutputStream::m_s

Definition at line 53 of file perlmodgen.cpp.

FTextStream* PerlModOutputStream::m_t

Definition at line 54 of file perlmodgen.cpp.


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