MeshNet  1.0.0
Public Member Functions
InlinePrintable Class Reference

Interface for printing derived class collection as table with header and rows. More...

#include <meshHelper.h>

Inheritance diagram for InlinePrintable:
Inheritance graph
[legend]
Collaboration diagram for InlinePrintable:
Collaboration graph
[legend]

Public Member Functions

virtual size_t printHeader (OSTREAM *stream) const
 Prints header of table. More...
 
virtual size_t printLine (OSTREAM *stream) const
 Prints this data as row to table. More...
 

Detailed Description

Interface for printing derived class collection as table with header and rows.

Member Function Documentation

◆ printHeader()

virtual size_t InlinePrintable::printHeader ( OSTREAM stream) const
inlinevirtual

Prints header of table.

Parameters
streamPonter to wtream, where header has to be print.
Returns
Returns number of printed characters.
Note
Print "\r\n" at the end of the header.

Reimplemented in MeshPacket.

◆ printLine()

virtual size_t InlinePrintable::printLine ( OSTREAM stream) const
inlinevirtual

Prints this data as row to table.

Parameters
streamPonter to wtream, where row has to be print.
Returns
Returns number of printed characters.
Note
Print "\r\n" at the end of the line.

Reimplemented in MeshPacket.


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