lecui 1.0.0-alpha.20
lecui C++ user interface library
Public Member Functions | Public Attributes | List of all members
liblec::lecui::table_column Struct Reference

Table column. More...

#include <lecui.h>

Public Member Functions

bool operator== (const table_column &param)
 Check whether two columns are equal. Only the name and width are considered. More...
 
bool operator!= (const table_column &param)
 Check whether two columns are NOT equal. Only the name and width are considered. More...
 

Public Attributes

std::string name
 The name of the column. Has to be unique.
 
unsigned short width = 80
 The width of the column, in pixels.
 
int precision = 2
 The number of decimal places to round off the entries in this column to when displaying (if they are floats or doubles).
 

Detailed Description

Table column.

Member Function Documentation

◆ operator!=()

bool liblec::lecui::table_column::operator!= ( const table_column param)

Check whether two columns are NOT equal. Only the name and width are considered.

Parameters
paramThe column to compare to.
Returns
Returns true if the columns are NOT equal, else false.

◆ operator==()

bool liblec::lecui::table_column::operator== ( const table_column param)

Check whether two columns are equal. Only the name and width are considered.

Parameters
paramThe column to compare to.
Returns
Returns true if the columns are equal, else false.

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