mmCEsim 0.3.0
mmWave Channel Estimation Simulation
TermOpt Class Reference

Terminal option. More...

#include <term.h>

Public Member Functions

 TermOpt (const std::string &val)
 Construct a new TermOpt object. More...
 
 TermOpt (const char *val)
 Construct a new TermOpt object. More...
 

Public Attributes

std::string v
 ANSI color code. More...
 
bool vld = true
 valid status (whether a colorful terminal is used) More...
 

Detailed Description

Terminal option.

This will be directly used in ostream.

Constructor & Destructor Documentation

◆ TermOpt() [1/2]

TermOpt::TermOpt ( const std::string &  val)
inline

Construct a new TermOpt object.

Parameters
valThe ANSI color code in string.

◆ TermOpt() [2/2]

TermOpt::TermOpt ( const char *  val)
inline

Construct a new TermOpt object.

Parameters
valThe ANSI color code in const char*.

Member Data Documentation

◆ v

std::string TermOpt::v

ANSI color code.

◆ vld

bool TermOpt::vld = true

valid status (whether a colorful terminal is used)


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