Empirical
Public Member Functions | Public Attributes | List of all members
emp::web::internal::TableRowInfo Struct Reference

#include <Table.h>

Public Member Functions

template<typename SETTING_TYPE >
TableRowInfoCellsCSS (const std::string &setting, SETTING_TYPE &&value)
 Apply CSS to all cells in row. More...
 
template<typename SETTING_TYPE >
TableRowInfoCellCSS (size_t col_id, const std::string &setting, SETTING_TYPE &&value)
 Apply CSS to specific cell in row. More...
 
bool OK (std::stringstream &ss, bool verbose=false, const std::string &prefix="")
 Debug function to determine if this row is structually consistent. More...
 

Public Attributes

emp::vector< TableDataInfodata
 detail object for each cell in this row. More...
 
WidgetExtras extras
 Extra annotations (attributes, style, listeners) More...
 

Member Function Documentation

template<typename SETTING_TYPE >
TableRowInfo& emp::web::internal::TableRowInfo::CellCSS ( size_t  col_id,
const std::string &  setting,
SETTING_TYPE &&  value 
)
inline

Apply CSS to specific cell in row.

template<typename SETTING_TYPE >
TableRowInfo& emp::web::internal::TableRowInfo::CellsCSS ( const std::string &  setting,
SETTING_TYPE &&  value 
)
inline

Apply CSS to all cells in row.

bool emp::web::internal::TableRowInfo::OK ( std::stringstream &  ss,
bool  verbose = false,
const std::string &  prefix = "" 
)
inline

Debug function to determine if this row is structually consistent.

Member Data Documentation

emp::vector<TableDataInfo> emp::web::internal::TableRowInfo::data

detail object for each cell in this row.

WidgetExtras emp::web::internal::TableRowInfo::extras

Extra annotations (attributes, style, listeners)


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