#include <eleve/src0/csv1.hpp>
Public Member Functions | |
Record (DataFrame *df, DataFrame::iterator0 itr, eepgwde::detail::record_t r) | |
template<typename T> | |
T | as (const std::string &key) const throw (std::domain_error & ) |
Return a field from the record map, correctly typed. | |
record_t * | attrs () |
virtual void | attributes (const std::string &) |
Public Attributes | |
DataFrame * | df_ |
Reference to the data frame that holds the frame. | |
DataFrame::iterator0 | itr_ |
Reference to the row iterator in the frame. | |
eepgwde::detail::record_t | r_ |
Reference to a row record map in the frame. | |
std::list< boost::any > | attrs0_ |
A list of attributes we might derive from the row. | |
record_t | attrs_ |
A map to hold them. |
Used as a base class for comparison classes.
Definition at line 253 of file csv1.hpp.
eepgwde::detail::DataFrame::Record::Record | ( | DataFrame * | df, | |
DataFrame::iterator0 | itr, | |||
eepgwde::detail::record_t | r | |||
) | [inline] |
T eepgwde::detail::DataFrame::Record::as | ( | const std::string & | key | ) | const throw (std::domain_error & ) [inline] |
Return a field from the record map, correctly typed.
Definition at line 271 of file csv1.hpp.
References eepgwde::daemon::watcher.
record_t* eepgwde::detail::DataFrame::Record::attrs | ( | ) | [inline] |
virtual void eepgwde::detail::DataFrame::Record::attributes | ( | const std::string & | ) | [inline, virtual] |
A dummy method - intended to update the list attrs0 and populate attrs for a particular key.
Reimplemented in Test::attrs_t::attrs::Attr0.
DataFrame* eepgwde::detail::DataFrame::Record::df_ [mutable] |
Reference to a row record map in the frame.
Definition at line 259 of file csv1.hpp.
Referenced by eepgwde::detail::StrikeMaturity::as_(), and eepgwde::detail::QPXisc::compare().
std::list<boost::any> eepgwde::detail::DataFrame::Record::attrs0_ |