Bugz Door Project
Public Member Functions | Friends | List of all members
door::Clrscr Class Reference

Clear the screen. More...

#include <door.h>

Public Member Functions

 Clrscr (void)
 

Friends

std::ostream & operator<< (std::ostream &os, const Clrscr &clr)
 

Detailed Description

Clear the screen.

Clear the screen

Constructor & Destructor Documentation

◆ Clrscr()

door::Clrscr::Clrscr ( void  )

Construct a new Clrscr:: Clrscr object

This is used to clear the screen.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const Clrscr clr 
)
friend

Clear the screen using ANSI codes.

Not all systems home the cursor after clearing the screen. We automatically home the cursor as well.

Parameters
osstd::ostream&
clrconst Clrscr&
Returns
std::ostream&

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