libDwm-0.9.45
Dwm::TermioFlags Class Referenceabstract

Base class for input, output, control and local termio flags. More...

#include <DwmTermios.hh>

Inheritance diagram for Dwm::TermioFlags:
Collaboration diagram for Dwm::TermioFlags:

Public Member Functions

bool IsSet (const std::string &flagName) const
 Returns true if the given flagName is set, else returns false.
 
bool Set (const std::string &flagName)
 Sets the flag for the given flagName.
 
bool Unset (const std::string &flagName)
 Unsets the flag for the given flagName.
 
virtual const TermioFlagInfo_tKnownFlags () const =0
 Returns the known flags.
 

Protected Member Functions

const TermioFlagInfo_tFindFlag (const std::string &flagName) const
 

Protected Attributes

tcflag_t * _flagPtr
 
const TermioFlagInfo_t_flagInfo
 

Friends

std::ostream & operator<< (std::ostream &os, const TermioFlags &flags)
 Prints to an ostream.
 

Detailed Description

Base class for input, output, control and local termio flags.

Member Function Documentation

◆ KnownFlags()

virtual const TermioFlagInfo_t * Dwm::TermioFlags::KnownFlags ( ) const
pure virtual

◆ Set()

bool Dwm::TermioFlags::Set ( const std::string & flagName)

Sets the flag for the given flagName.

Returns true on success, false on failure.

◆ Unset()

bool Dwm::TermioFlags::Unset ( const std::string & flagName)

Unsets the flag for the given flagName.

Returns true on success, false on failure.


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