BoosterSeat  0.1
A C++ library that includes common utilities that are used in other projects.
bst::layout Namespace Reference

Enumerations

enum class  Alignment { LEFT , RIGHT , CENTER }
 

Functions

std::string fixedWidthRow (const std::vector< std::string > &row, const Alignment align, const int row_width)
 
std::string fixedWidthString (const std::string &s, const Alignment align, const int width)
 
std::string simpleColumns (const std::vector< std::vector< std::string >> &rows, const Alignment align, const int column_width)
 

Enumeration Type Documentation

◆ Alignment

Enumerator
LEFT 
RIGHT 
CENTER 

Function Documentation

◆ simpleColumns()

std::string bst::layout::simpleColumns ( const std::vector< std::vector< std::string >> &  rows,
const Alignment  align,
const int  column_width 
)

References align_cases().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fixedWidthRow()

std::string bst::layout::fixedWidthRow ( const std::vector< std::string > &  row,
const Alignment  align,
const int  row_width 
)

References align_cases().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fixedWidthString()

std::string bst::layout::fixedWidthString ( const std::string &  s,
const Alignment  align,
const int  width 
)

References align_cases().

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function: