UtilsLite
Utilities for C++ programming
Loading...
Searching...
No Matches
Utils::Table::Style Class Reference

Defines the style and structure of table borders, padding, and alignment. More...

#include <Table.hxx>

Public Member Functions

 Style ()=default
 Default constructor initializing the table style with default borders.
 
char border_top () const
 
void border_top (char borderStyle)
 
char border_top_mid () const
 
void border_top_mid (char borderStyle)
 
char border_top_left () const
 
void border_top_left (char borderStyle)
 
char border_top_right () const
 
void border_top_right (char borderStyle)
 
char border_bottom () const
 
void border_bottom (char borderStyle)
 
char border_bottom_mid () const
 
void border_bottom_mid (char borderStyle)
 
char border_bottom_left () const
 
void border_bottom_left (char borderStyle)
 
char border_bottom_right () const
 
void border_bottom_right (char borderStyle)
 
char border_left () const
 
void border_left (char borderStyle)
 
char border_left_mid () const
 
void border_left_mid (char borderStyle)
 
char border_mid () const
 
void border_mid (char borderStyle)
 
char border_mid_mid () const
 
void border_mid_mid (char borderStyle)
 
char border_right () const
 
void border_right (char borderStyle)
 
char border_right_mid () const
 
void border_right_mid (char borderStyle)
 
char border_middle () const
 
void border_middle (char borderStyle)
 
integer padding_left () const
 
void padding_left (integer padding)
 
integer padding_right () const
 
void padding_right (integer padding)
 
Alignment alignment () const
 
void alignment (Alignment align)
 
integer width () const
 
void width (integer width)
 

Detailed Description

Defines the style and structure of table borders, padding, and alignment.

The Style class configures visual properties of the table, including border characters (for all edges and dividers), cell padding, and alignment of text.

Constructor & Destructor Documentation

◆ Style()

Utils::Table::Style::Style ( )
default

Default constructor initializing the table style with default borders.

Member Function Documentation

◆ alignment() [1/2]

Alignment Utils::Table::Style::alignment ( ) const
inline

◆ alignment() [2/2]

void Utils::Table::Style::alignment ( Alignment align)
inline

◆ border_bottom() [1/2]

char Utils::Table::Style::border_bottom ( ) const
inline

◆ border_bottom() [2/2]

void Utils::Table::Style::border_bottom ( char borderStyle)
inline

◆ border_bottom_left() [1/2]

char Utils::Table::Style::border_bottom_left ( ) const
inline

◆ border_bottom_left() [2/2]

void Utils::Table::Style::border_bottom_left ( char borderStyle)
inline

◆ border_bottom_mid() [1/2]

char Utils::Table::Style::border_bottom_mid ( ) const
inline

◆ border_bottom_mid() [2/2]

void Utils::Table::Style::border_bottom_mid ( char borderStyle)
inline

◆ border_bottom_right() [1/2]

char Utils::Table::Style::border_bottom_right ( ) const
inline

◆ border_bottom_right() [2/2]

void Utils::Table::Style::border_bottom_right ( char borderStyle)
inline

◆ border_left() [1/2]

char Utils::Table::Style::border_left ( ) const
inline

◆ border_left() [2/2]

void Utils::Table::Style::border_left ( char borderStyle)
inline

◆ border_left_mid() [1/2]

char Utils::Table::Style::border_left_mid ( ) const
inline

◆ border_left_mid() [2/2]

void Utils::Table::Style::border_left_mid ( char borderStyle)
inline

◆ border_mid() [1/2]

char Utils::Table::Style::border_mid ( ) const
inline

◆ border_mid() [2/2]

void Utils::Table::Style::border_mid ( char borderStyle)
inline

◆ border_mid_mid() [1/2]

char Utils::Table::Style::border_mid_mid ( ) const
inline

◆ border_mid_mid() [2/2]

void Utils::Table::Style::border_mid_mid ( char borderStyle)
inline

◆ border_middle() [1/2]

char Utils::Table::Style::border_middle ( ) const
inline

◆ border_middle() [2/2]

void Utils::Table::Style::border_middle ( char borderStyle)
inline

◆ border_right() [1/2]

char Utils::Table::Style::border_right ( ) const
inline

◆ border_right() [2/2]

void Utils::Table::Style::border_right ( char borderStyle)
inline

◆ border_right_mid() [1/2]

char Utils::Table::Style::border_right_mid ( ) const
inline

◆ border_right_mid() [2/2]

void Utils::Table::Style::border_right_mid ( char borderStyle)
inline

◆ border_top() [1/2]

char Utils::Table::Style::border_top ( ) const
inline

◆ border_top() [2/2]

void Utils::Table::Style::border_top ( char borderStyle)
inline

◆ border_top_left() [1/2]

char Utils::Table::Style::border_top_left ( ) const
inline

◆ border_top_left() [2/2]

void Utils::Table::Style::border_top_left ( char borderStyle)
inline

◆ border_top_mid() [1/2]

char Utils::Table::Style::border_top_mid ( ) const
inline

◆ border_top_mid() [2/2]

void Utils::Table::Style::border_top_mid ( char borderStyle)
inline

◆ border_top_right() [1/2]

char Utils::Table::Style::border_top_right ( ) const
inline

◆ border_top_right() [2/2]

void Utils::Table::Style::border_top_right ( char borderStyle)
inline

◆ padding_left() [1/2]

integer Utils::Table::Style::padding_left ( ) const
inline

◆ padding_left() [2/2]

void Utils::Table::Style::padding_left ( integer padding)
inline

◆ padding_right() [1/2]

integer Utils::Table::Style::padding_right ( ) const
inline

◆ padding_right() [2/2]

void Utils::Table::Style::padding_right ( integer padding)
inline

◆ width() [1/2]

integer Utils::Table::Style::width ( ) const
inline

◆ width() [2/2]

void Utils::Table::Style::width ( integer width)
inline

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