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

Search Toolkit Book for CTablePrinter::SColInfo

This structure contains info about a given column. More...

#include <util/table_printer.hpp>

Public Member Functions

 SColInfo (const string &sColName, Uint4 iColWidth, EJustify eJustify=eJustify_Left, EDataTooLong eDataTooLong=eDataTooLong_ShowErrorInColumn)
 

Public Attributes

string m_sColName
 The name of the column, which is shown in the header. More...
 
Uint4 m_iColWidth
 How many characters wide the column is. More...
 
EJustify m_eJustify
 Justification of data cells in this column (the name of the column is always left-justified, though) More...
 
EDataTooLong m_eDataTooLong
 How data cells should behave in this column behave when there is too much data to fit in them. More...
 

Detailed Description

This structure contains info about a given column.

Definition at line 113 of file table_printer.hpp.

Constructor & Destructor Documentation

◆ SColInfo()

CTablePrinter::SColInfo::SColInfo ( const string sColName,
Uint4  iColWidth,
EJustify  eJustify = eJustify_Left,
EDataTooLong  eDataTooLong = eDataTooLong_ShowErrorInColumn 
)
inline

Definition at line 114 of file table_printer.hpp.

Member Data Documentation

◆ m_eDataTooLong

EDataTooLong CTablePrinter::SColInfo::m_eDataTooLong

How data cells should behave in this column behave when there is too much data to fit in them.

Definition at line 130 of file table_printer.hpp.

Referenced by CTablePrinter::x_AddCellValue().

◆ m_eJustify

EJustify CTablePrinter::SColInfo::m_eJustify

Justification of data cells in this column (the name of the column is always left-justified, though)

Definition at line 127 of file table_printer.hpp.

Referenced by CTablePrinter::x_AddCellValue().

◆ m_iColWidth

Uint4 CTablePrinter::SColInfo::m_iColWidth

How many characters wide the column is.

Definition at line 124 of file table_printer.hpp.

Referenced by CTablePrinter::x_AddCellValue().

◆ m_sColName

string CTablePrinter::SColInfo::m_sColName

The name of the column, which is shown in the header.

Definition at line 122 of file table_printer.hpp.

Referenced by CTablePrinter::x_AddCellValue().


The documentation for this struct was generated from the following file:
Modified on Tue Apr 16 20:14:27 2024 by modify_doxy.py rev. 669887