Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::TableImpl::Cell Class Reference
+ Collaboration diagram for Feel::TableImpl::Cell:

Classes

struct  Format
 Format of a Cell in a Table. More...
 

Public Types

using variant_value_type = Table::variant_value_type
 

Public Member Functions

 Cell (Cell &&)=default
 
 Cell (Cell const &)=default
 
 Cell (variant_value_type const &v)
 
Format & format ()
 
Format const & format () const
 
template<typename T >
bool is_a () const
 
Cell & operator= (Cell &&)=default
 
Cell & operator= (Cell const &)=default
 
template<typename T , std::enable_if_t< !std::is_same_v< std::decay_t< T >, Cell >, bool > = true>
Cell & operator= (T &&v)
 
std::vector< Printer::OutputText > toOutputText (Format const &format, bool enableWidthMax=true) const
 
template<typename T >
T const & value () const
 

Static Public Member Functions

static void updateWidthAndHorizontalAlign (Printer::OutputText &ot, size_t width, Format const &format)
 

Friends

std::ostream & operator<< (std::ostream &o, Cell const &c)