Doxygen
Loading...
Searching...
No Matches
PerlModOutputStream Class Reference

Public Member Functions

 PerlModOutputStream (std::ostream &t)
void add (char c)
void add (const DString &s)
void add (int n)
void add (unsigned int n)

Public Attributes

std::ostream * m_t = nullptr

Detailed Description

Definition at line 50 of file perlmodgen.cpp.

Constructor & Destructor Documentation

◆ PerlModOutputStream()

PerlModOutputStream::PerlModOutputStream ( std::ostream & t)
inline

Definition at line 55 of file perlmodgen.cpp.

55: m_t(&t) { }
std::ostream * m_t

References m_t.

Member Function Documentation

◆ add() [1/4]

◆ add() [2/4]

void PerlModOutputStream::add ( const DString & s)

Definition at line 68 of file perlmodgen.cpp.

69{
70 *m_t << s;
71}

References m_t.

◆ add() [3/4]

void PerlModOutputStream::add ( int n)

Definition at line 73 of file perlmodgen.cpp.

74{
75 *m_t << n;
76}

References m_t.

◆ add() [4/4]

void PerlModOutputStream::add ( unsigned int n)

Definition at line 78 of file perlmodgen.cpp.

79{
80 *m_t << n;
81}

References m_t.

Member Data Documentation

◆ m_t

std::ostream* PerlModOutputStream::m_t = nullptr

Definition at line 53 of file perlmodgen.cpp.

Referenced by add(), add(), add(), add(), and PerlModOutputStream().


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