Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Public Attributes
gmx::TextTableFormatter::Impl Class Reference

Description

Private implementation class for TextTableFormatter.

Classes

struct  ColumnData
 Manages a single column for TextTableFormatter. More...
 

Public Types

typedef std::vector< ColumnDataColumnList
 Container type for column data.
 

Public Member Functions

 Impl ()
 Initializes data for an empty formatter.
 
ColumnDatacolumnData (int index)
 Convenience method for checked access to data for a column. More...
 
const ColumnDatacolumnData (int index) const
 Convenience method for checked access to data for a column. More...
 

Public Attributes

ColumnList columns_
 Container for column data.
 
int firstColumnIndent_
 Indentation before the first column.
 
int foldLastColumnToNextLineIndent_
 Indentation before the last column if folded.
 
bool bFirstRow_
 If true, no output has yet been produced.
 
bool bPrintHeader_
 If true, a header will be printed before the first row.
 

Member Function Documentation

ColumnData& gmx::TextTableFormatter::Impl::columnData ( int  index)
inline

Convenience method for checked access to data for a column.

Parameters
[in]indexZero-based column index.
Returns
columns_[index]
const ColumnData& gmx::TextTableFormatter::Impl::columnData ( int  index) const
inline

Convenience method for checked access to data for a column.

Parameters
[in]indexZero-based column index.
Returns
columns_[index]

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