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

#include <cpp-terminal/size.hpp>

Public Member Functions

 Rows ()=default
 
 Rows (const std::uint16_t &rows)
 
 operator std::size_t () const noexcept
 

Private Attributes

std::uint16_t m_rows {0}
 

Detailed Description

Definition at line 18 of file size.hpp.

Constructor & Destructor Documentation

◆ Rows() [1/2]

Term::Rows::Rows ( )
default

◆ Rows() [2/2]

Term::Rows::Rows ( const std::uint16_t & rows)
inlineexplicit

Definition at line 22 of file size.hpp.

22: m_rows(rows) {}
std::uint16_t m_rows
Definition size.hpp:26

Member Function Documentation

◆ operator std::size_t()

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

Definition at line 23 of file size.hpp.

23{ return m_rows; }

Member Data Documentation

◆ m_rows

std::uint16_t Term::Rows::m_rows {0}
private

Definition at line 26 of file size.hpp.

26{0};

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