ZeroErr
zeroerr::Card Struct Reference

Card defines a display range in the console. More...

#include <table.h>

Inheritance diagram for zeroerr::Card:
Collaboration diagram for zeroerr::Card:

Public Member Functions

 Card ()
 
 Card (std::string title)
 
 Card (unsigned width, unsigned height)
 
 Card (std::string title, unsigned width, unsigned height)
 
void show (std::ostream &os, std::string str)
 

Public Attributes

std::string title
 
unsigned width
 
unsigned height
 

Detailed Description

Card defines a display range in the console.

Constructor & Destructor Documentation

◆ Card() [1/4]

zeroerr::Card::Card ( )
inline

◆ Card() [2/4]

zeroerr::Card::Card ( std::string  title)
inline

◆ Card() [3/4]

zeroerr::Card::Card ( unsigned  width,
unsigned  height 
)
inline

◆ Card() [4/4]

zeroerr::Card::Card ( std::string  title,
unsigned  width,
unsigned  height 
)
inline

Member Function Documentation

◆ show()

void zeroerr::Card::show ( std::ostream &  os,
std::string  str 
)

Member Data Documentation

◆ height

unsigned zeroerr::Card::height

◆ title

std::string zeroerr::Card::title

◆ width

unsigned zeroerr::Card::width

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