NCBI C++ ToolKit
Public Types | Public Member Functions | Public Attributes | List of all members
CTablePrinter::SColInfoVec Struct Reference

Search Toolkit Book for CTablePrinter::SColInfoVec

This holds the info about all columns for the table. More...

#include <util/table_printer.hpp>

Public Types

typedef vector< SColInfoTColInfoVec
 

Public Member Functions

void AddCol (const string &sColName, Uint4 iColWidth=0, EJustify eJustify=eJustify_Left, EDataTooLong eDataTooLong=eDataTooLong_Default)
 

Public Attributes

TColInfoVec m_colInfoVec
 The underlying column info vector for which SColInfoVec is a wrapper. More...
 

Detailed Description

This holds the info about all columns for the table.

Call AddCol() until all the columns you want are added, then use it to create a CTablePrinter.

Definition at line 135 of file table_printer.hpp.

Member Typedef Documentation

◆ TColInfoVec

Definition at line 141 of file table_printer.hpp.

Member Function Documentation

◆ AddCol()

void CTablePrinter::SColInfoVec::AddCol ( const string sColName,
Uint4  iColWidth = 0,
EJustify  eJustify = eJustify_Left,
EDataTooLong  eDataTooLong = eDataTooLong_Default 
)

Member Data Documentation

◆ m_colInfoVec

TColInfoVec CTablePrinter::SColInfoVec::m_colInfoVec

The underlying column info vector for which SColInfoVec is a wrapper.

Definition at line 144 of file table_printer.hpp.

Referenced by AddCol(), CTablePrinter::CTablePrinter(), CTablePrinter::x_AddCellValue(), CTablePrinter::x_PrintColumnNames(), and CTablePrinter::x_PrintDashes().


The documentation for this struct was generated from the following files:
Modified on Wed Feb 21 09:58:15 2024 by modify_doxy.py rev. 669887