NCBI C++ ToolKit
Classes | Functions
table_printer.hpp File Reference
#include <corelib/ncbistd.hpp>
#include <corelib/ncbistre.hpp>
#include <corelib/ncbiobj.hpp>
#include <sstream>
+ Include dependency graph for table_printer.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CTablePrinter
 This can be used to lay out neat ASCII data. More...
 
struct  CTablePrinter::SColInfo
 This structure contains info about a given column. More...
 
struct  CTablePrinter::SColInfoVec
 This holds the info about all columns for the table. More...
 
struct  CTablePrinter::SEndOfCell
 Stream an instance of this object into the CTablePrinter to have it write out the current table cell and prepare for the next one. More...
 

Functions

template<typename TValue >
CTablePrinteroperator<< (CTablePrinter &table_printer, const TValue &value)
 Writes object to current table cell. More...
 
template<>
CTablePrinteroperator<<< CTablePrinter::SEndOfCell > (CTablePrinter &table_printer, const CTablePrinter::SEndOfCell &)
 Flushes table cell contents and prepares for the next cell. More...
 

Function Documentation

◆ operator<<()

template<typename TValue >
CTablePrinter& operator<< ( CTablePrinter table_printer,
const TValue &  value 
)
inline

Writes object to current table cell.

Definition at line 250 of file table_printer.hpp.

References CTablePrinter::StreamToCurrentCell(), and rapidjson::value.

◆ operator<<< CTablePrinter::SEndOfCell >()

template<>
CTablePrinter& operator<<< CTablePrinter::SEndOfCell > ( CTablePrinter table_printer,
const CTablePrinter::SEndOfCell  
)
inline

Flushes table cell contents and prepares for the next cell.

Definition at line 259 of file table_printer.hpp.

References CTablePrinter::EndOfCurrentCell().

Modified on Sun Jul 14 04:59:44 2024 by modify_doxy.py rev. 669887