GEOS
Public Member Functions | Public Attributes | List of all members
geos::TableLayout::ColumnParam Struct Reference

Structure to set up each colum parameters. More...

#include <TableLayout.hpp>

Public Member Functions

 ColumnParam (std::string const &name, Alignment align)
 Construct a ColumnParam object with the specified name and alignment. More...
 
 ColumnParam (std::string const &name, Alignment align, bool display)
 Construct a ColumnParam object with the specified name, alignment, and display flag. More...
 

Public Attributes

string columnName
 Name for a column.
 
Alignment alignment = Alignment::right
 Alignment for a column. By default aligned to the right side.
 
bool enabled = true
 A boolean to display a colummn.
 
std::vector< stringsplitColumnNameLines
 Vector containing substring column name delimited by "\n".
 

Detailed Description

Structure to set up each colum parameters.

Definition at line 56 of file TableLayout.hpp.

Constructor & Destructor Documentation

◆ ColumnParam() [1/2]

geos::TableLayout::ColumnParam::ColumnParam ( std::string const &  name,
Alignment  align 
)
inline

Construct a ColumnParam object with the specified name and alignment.

Parameters
nameThe name of the column
alignThe alignment of the column

Definition at line 72 of file TableLayout.hpp.

◆ ColumnParam() [2/2]

geos::TableLayout::ColumnParam::ColumnParam ( std::string const &  name,
Alignment  align,
bool  display 
)
inline

Construct a ColumnParam object with the specified name, alignment, and display flag.

Parameters
nameThe name of the column
alignThe alignment of the column
displayFlag indicating whether the column is enabled

Definition at line 82 of file TableLayout.hpp.


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