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

#include <cpp-terminal/position.hpp>

Public Member Functions

 Column ()=default
 
 Column (const std::uint16_t &column)
 
 operator std::size_t () const noexcept
 

Private Attributes

std::uint16_t m_column {0}
 

Detailed Description

Definition at line 29 of file position.hpp.

Constructor & Destructor Documentation

◆ Column() [1/2]

Term::Column::Column ( )
default

◆ Column() [2/2]

Term::Column::Column ( const std::uint16_t & column)
inlineexplicit

Definition at line 33 of file position.hpp.

33: m_column(column) {}
std::uint16_t m_column
Definition position.hpp:37

Member Function Documentation

◆ operator std::size_t()

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

Definition at line 34 of file position.hpp.

34{ return m_column; }

Member Data Documentation

◆ m_column

std::uint16_t Term::Column::m_column {0}
private

Definition at line 37 of file position.hpp.

37{0};

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