C++ Utilities: CppUtilities::TerminalSize Struct Reference

C++ Utilities 5.34.0 Useful C++ classes and routines such as argument parser, IO and conversion utilities

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CppUtilities::TerminalSize Struct Reference

The TerminalSize struct describes a terminal size. More...

`#include <commandlineutils.h>`

## Public Member Functions
| TerminalSize (unsigned short rows=0, unsigned short columns=0, unsigned short width=0, unsigned short height=0)

## Public Attributes
unsigned short | rows
| number of rows
unsigned short | columns
| number of columns
unsigned short | width
| width in pixel
unsigned short | height
| height in pixel

## Detailed Description

The TerminalSize struct describes a terminal size.

Remarks
  The same as the winsize structure is defined in sys/ioctl.h.

See also
  determineTerminalSize()

Definition at line 45 of file commandlineutils.h.

## Constructor & Destructor Documentation

## ◆ TerminalSize()

CppUtilities::TerminalSize::TerminalSize | ( | unsigned short | rows = 0,
|  | unsigned short | columns = 0,
|  | unsigned short | width = 0,
|  | unsigned short | height = 0 )
| inline

Definition at line 58 of file commandlineutils.h.

## Member Data Documentation

## ◆ columns

unsigned short CppUtilities::TerminalSize::columns

number of columns

Definition at line 51 of file commandlineutils.h.

## ◆ height

unsigned short CppUtilities::TerminalSize::height

height in pixel

Definition at line 55 of file commandlineutils.h.

## ◆ rows

unsigned short CppUtilities::TerminalSize::rows

number of rows

Definition at line 49 of file commandlineutils.h.

## ◆ width

unsigned short CppUtilities::TerminalSize::width

width in pixel

Definition at line 53 of file commandlineutils.h.

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

- application/commandlineutils.h