#include <genesis/utils/containers/dataframe.hpp>
Definition at line 59 of file containers/dataframe.hpp.
Public Member Functions | |
Dataframe ()=default | |
Dataframe (Dataframe &&)=default | |
Dataframe (Dataframe const &other) | |
~Dataframe ()=default | |
template<class T > | |
Column< T > & | add_col (std::string const &name) |
template<class T > | |
Column< T > & | add_col (std::string const &name, std::vector< T > &&init) |
template<class T > | |
Column< T > & | add_col (std::string const &name, std::vector< T > const &init) |
template<class T > | |
Column< T > & | add_col (std::string const &name, T const &init) |
self_type & | add_row (std::string const &name) |
template<class T > | |
Column< T > & | add_unnamed_col () |
template<class T > | |
Column< T > & | add_unnamed_col (std::vector< T > &&init) |
template<class T > | |
Column< T > & | add_unnamed_col (std::vector< T > const &init) |
template<class T > | |
Column< T > & | add_unnamed_col (T const &init) |
self_type & | add_unnamed_row () |
reference | at (size_type col_index) |
const_reference | at (size_type col_index) const |
reference | at (std::string const &col_name) |
const_reference | at (std::string const &col_name) const |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () |
const_iterator | cend () |
self_type & | clear () |
self_type & | clear_cols () |
self_type & | clear_rows () |
size_t | col_index (std::string const &col_name) const |
std::string const & | col_name (size_type col_index) const |
self_type & | col_name (size_type col_index, std::string const &value) |
std::vector< std::string > const & | col_names () const |
size_type | cols () const |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
bool | has_col_name (std::string const &col_name) const |
bool | has_row_name (std::string const &row_name) const |
bool | has_unnamed_cols () const |
bool | has_unnamed_rows () const |
Dataframe & | operator= (Dataframe &&)=default |
Dataframe & | operator= (Dataframe const &other) |
reference | operator[] (size_type col_index) |
const_reference | operator[] (size_type col_index) const |
reference | operator[] (std::string const &col_name) |
const_reference | operator[] (std::string const &col_name) const |
self_type & | remove_col (size_type col_index) |
self_type & | remove_col (std::string const &col_name) |
self_type & | remove_row (size_type row_index) |
self_type & | remove_row (std::string const &row_name) |
template<class T > | |
Column< T > & | replace_col (size_type at_index) |
template<class T > | |
Column< T > & | replace_col (size_type at_index, std::vector< T > &&init) |
template<class T > | |
Column< T > & | replace_col (size_type at_index, std::vector< T > const &init) |
template<class T > | |
Column< T > & | replace_col (size_type at_index, T const &init) |
template<class T > | |
Column< T > & | replace_col (std::string const &at_name) |
template<class T > | |
Column< T > & | replace_col (std::string const &at_name, std::vector< T > &&init) |
template<class T > | |
Column< T > & | replace_col (std::string const &at_name, std::vector< T > const &init) |
template<class T > | |
Column< T > & | replace_col (std::string const &at_name, T const &init) |
size_t | row_index (std::string const &row_name) const |
std::string const & | row_name (size_type row_index) const |
self_type & | row_name (size_type row_index, std::string const &value) |
std::vector< std::string > const & | row_names () const |
size_type | rows () const |
Public Types | |
using | const_iterator = utils::DereferenceIterator< container_type::const_iterator > |
using | const_pointer = value_type const * |
using | const_reference = value_type const & |
using | container_type = std::vector< std::unique_ptr< value_type > > |
using | iterator = utils::DereferenceIterator< container_type::iterator > |
using | pointer = value_type * |
using | reference = value_type & |
using | self_type = Dataframe |
using | size_type = size_t |
using | value_type = ColumnBase |
Classes | |
class | Column |
class | ColumnBase |
Friends | |
void | swap (self_type &lhs, self_type &rhs) |
bool | validate (Dataframe const &) |
Helper function to validate internal invariants. More... | |
|
default |
|
default |
Definition at line 514 of file containers/dataframe.hpp.
|
inline |
Definition at line 809 of file containers/dataframe.hpp.
|
inline |
Definition at line 848 of file containers/dataframe.hpp.
|
inline |
Definition at line 841 of file containers/dataframe.hpp.
|
inline |
Definition at line 831 of file containers/dataframe.hpp.
|
inline |
Definition at line 878 of file containers/dataframe.hpp.
|
inline |
Definition at line 763 of file containers/dataframe.hpp.
|
inline |
Definition at line 791 of file containers/dataframe.hpp.
|
inline |
Definition at line 784 of file containers/dataframe.hpp.
|
inline |
Definition at line 774 of file containers/dataframe.hpp.
|
inline |
Definition at line 866 of file containers/dataframe.hpp.
Definition at line 652 of file containers/dataframe.hpp.
|
inline |
Definition at line 657 of file containers/dataframe.hpp.
|
inline |
Definition at line 662 of file containers/dataframe.hpp.
|
inline |
Definition at line 667 of file containers/dataframe.hpp.
|
inline |
Definition at line 578 of file containers/dataframe.hpp.
|
inline |
Definition at line 583 of file containers/dataframe.hpp.
|
inline |
Definition at line 598 of file containers/dataframe.hpp.
|
inline |
Definition at line 603 of file containers/dataframe.hpp.
|
inline |
Definition at line 1012 of file containers/dataframe.hpp.
|
inline |
Definition at line 1032 of file containers/dataframe.hpp.
|
inline |
Definition at line 1022 of file containers/dataframe.hpp.
|
inline |
Definition at line 730 of file containers/dataframe.hpp.
|
inline |
Definition at line 738 of file containers/dataframe.hpp.
Definition at line 743 of file containers/dataframe.hpp.
|
inline |
Definition at line 753 of file containers/dataframe.hpp.
|
inline |
Definition at line 617 of file containers/dataframe.hpp.
|
inline |
Definition at line 623 of file containers/dataframe.hpp.
|
inline |
Definition at line 588 of file containers/dataframe.hpp.
|
inline |
Definition at line 593 of file containers/dataframe.hpp.
|
inline |
Definition at line 717 of file containers/dataframe.hpp.
|
inline |
Definition at line 676 of file containers/dataframe.hpp.
|
inline |
Definition at line 725 of file containers/dataframe.hpp.
|
inline |
Definition at line 684 of file containers/dataframe.hpp.
Definition at line 531 of file containers/dataframe.hpp.
Definition at line 632 of file containers/dataframe.hpp.
|
inline |
Definition at line 637 of file containers/dataframe.hpp.
|
inline |
Definition at line 642 of file containers/dataframe.hpp.
|
inline |
Definition at line 647 of file containers/dataframe.hpp.
Definition at line 1040 of file containers/dataframe.hpp.
|
inline |
Definition at line 1072 of file containers/dataframe.hpp.
Definition at line 1080 of file containers/dataframe.hpp.
|
inline |
Definition at line 1107 of file containers/dataframe.hpp.
Definition at line 907 of file containers/dataframe.hpp.
Definition at line 939 of file containers/dataframe.hpp.
Definition at line 932 of file containers/dataframe.hpp.
Definition at line 922 of file containers/dataframe.hpp.
|
inline |
Definition at line 957 of file containers/dataframe.hpp.
|
inline |
Definition at line 991 of file containers/dataframe.hpp.
|
inline |
Definition at line 984 of file containers/dataframe.hpp.
|
inline |
Definition at line 974 of file containers/dataframe.hpp.
|
inline |
Definition at line 689 of file containers/dataframe.hpp.
|
inline |
Definition at line 697 of file containers/dataframe.hpp.
Definition at line 702 of file containers/dataframe.hpp.
|
inline |
Definition at line 712 of file containers/dataframe.hpp.
|
inline |
Definition at line 612 of file containers/dataframe.hpp.
Definition at line 549 of file containers/dataframe.hpp.
|
friend |
Helper function to validate internal invariants.
Located in genesis/utils/containers/dataframe/operators.hpp
Definition at line 404 of file utils/containers/dataframe/operators.cpp.
using const_iterator = utils::DereferenceIterator< container_type::const_iterator > |
Definition at line 503 of file containers/dataframe.hpp.
using const_pointer = value_type const* |
Definition at line 500 of file containers/dataframe.hpp.
using const_reference = value_type const& |
Definition at line 498 of file containers/dataframe.hpp.
using container_type = std::vector< std::unique_ptr< value_type > > |
Definition at line 495 of file containers/dataframe.hpp.
using iterator = utils::DereferenceIterator< container_type::iterator > |
Definition at line 502 of file containers/dataframe.hpp.
using pointer = value_type* |
Definition at line 499 of file containers/dataframe.hpp.
using reference = value_type& |
Definition at line 497 of file containers/dataframe.hpp.
Definition at line 493 of file containers/dataframe.hpp.
using size_type = size_t |
Definition at line 505 of file containers/dataframe.hpp.
using value_type = ColumnBase |
Definition at line 494 of file containers/dataframe.hpp.