occ
Loading...
Searching...
No Matches
occ::io::Table Class Reference

#include <table.h>

Public Member Functions

 Table ()
 
 Table (const std::vector< std::string > &column_names)
 
template<typename T >
int set_column (const std::string &name, const std::vector< T > &column, const std::string &fmt_string="{}")
 
template<typename TA >
int set_column (const std::string &name, const Eigen::DenseBase< TA > &a, std::string fmt_string="{}")
 
size_t num_rows () const
 
size_t num_cols () const
 
size_t width () const
 
size_t height () const
 
void print () const
 

Constructor & Destructor Documentation

◆ Table() [1/2]

occ::io::Table::Table ( )

◆ Table() [2/2]

occ::io::Table::Table ( const std::vector< std::string > &  column_names)

Member Function Documentation

◆ height()

size_t occ::io::Table::height ( ) const

◆ num_cols()

size_t occ::io::Table::num_cols ( ) const

◆ num_rows()

size_t occ::io::Table::num_rows ( ) const

◆ print()

void occ::io::Table::print ( ) const

◆ set_column() [1/2]

template<typename TA >
int occ::io::Table::set_column ( const std::string &  name,
const Eigen::DenseBase< TA > &  a,
std::string  fmt_string = "{}" 
)
inline

◆ set_column() [2/2]

template<typename T >
int occ::io::Table::set_column ( const std::string &  name,
const std::vector< T > &  column,
const std::string &  fmt_string = "{}" 
)
inline

◆ width()

size_t occ::io::Table::width ( ) const

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