Navigation
index
toc
next
previous
Utils
»
C++ API
»
Class Table
Class Table
¶
Defined in
File Table.hxx
Class Documentation
¶
class
Utils
::
Table
::
Table
¶
Public Types
typedef
vector
<
Row
>
vecRow
¶
typedef
vector
<
Cell
>
vecCell
¶
typedef
vector
<
string
>
vecstr
¶
typedef
vector
<
vecstr
>
vecvecstr
¶
typedef
int
integer
¶
Public Functions
inline
Table
(
)
¶
inline
Table
(
Style
const
&
style
,
vecvecstr
const
&
rows
=
vecvecstr
(
)
)
¶
inline
void
setup
(
Style
const
&
style
,
vecvecstr
const
&
rows
=
vecvecstr
(
)
)
¶
void
align_column
(
integer
n
,
Alignment
align
)
¶
void
add_row
(
vecstr
const
&
row
)
¶
integer
cell_spacing
(
)
const
¶
integer
cell_padding
(
)
const
¶
vecCell
column
(
integer
n
)
const
¶
integer
column_width
(
integer
n
)
const
¶
integer
num_columns
(
)
const
¶
inline
Style
const
&
style
(
)
const
¶
inline
void
style
(
Style
const
&
style
)
¶
inline
string
const
&
title
(
)
const
¶
inline
void
title
(
string
const
&
title
)
¶
inline
Row
const
&
headings
(
)
const
¶
void
headings
(
vecstr
const
&
headings
)
¶
Row
&
row
(
integer
n
)
¶
Row
const
&
row
(
integer
n
)
const
¶
inline
Row
&
operator
[]
(
integer
n
)
¶
inline
Row
const
&
operator
[]
(
integer
n
)
const
¶
inline
Cell
&
operator
()
(
integer
i
,
integer
j
)
¶
inline
Cell
const
&
operator
()
(
integer
i
,
integer
j
)
const
¶
inline
vecRow
const
&
rows
(
)
const
¶
void
rows
(
vecvecstr
const
&
rows
)
¶
string
render_separator
(
char
const
left
,
char
const
mid
,
char
const
right
,
char
const
sep
)
const
¶
string
render
(
)
const
¶
Quick search
Table of Contents
rang - Colors for your Terminal
Zstr
C++ API
«
hide menu
menu
sidebar
»
Navigation
index
toc
next
previous
Utils
»
C++ API
»
Class Table