cpp-terminal 1.0.0
Small C++ library for writing multiplatform terminal applications
Loading...
Searching...
No Matches
Term::Columns Class Reference

#include <cpp-terminal/size.hpp>

Public Member Functions

 Columns ()=default
 
 Columns (const std::uint16_t &columns)
 
 operator std::size_t () const noexcept
 

Private Attributes

std::uint16_t m_columns {0}
 

Detailed Description

Definition at line 29 of file size.hpp.

Constructor & Destructor Documentation

◆ Columns() [1/2]

Term::Columns::Columns ( )
default

◆ Columns() [2/2]

Term::Columns::Columns ( const std::uint16_t & columns)
inlineexplicit

Definition at line 33 of file size.hpp.

33: m_columns(columns) {}
std::uint16_t m_columns
Definition size.hpp:37

Member Function Documentation

◆ operator std::size_t()

Term::Columns::operator std::size_t ( ) const
inlinenoexcept

Definition at line 34 of file size.hpp.

34{ return m_columns; }

Member Data Documentation

◆ m_columns

std::uint16_t Term::Columns::m_columns {0}
private

Definition at line 37 of file size.hpp.

37{0};

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