Classes | |
struct | loader |
struct | nonatom |
struct | notpresent |
struct | uncached |
struct | Calendars |
Implementation class to provide an extension. More... | |
struct | Facilities |
Implementation class to provide an extension. More... | |
struct | type_t |
struct | Typing |
Implementation class can be instantiated singly or within a Singleton. More... | |
struct | Rate0 |
struct | Numeric |
struct | is_Numeric |
struct | Numeric< T, typename enable_if< is_arithmetic< T > >::type > |
struct | usdate |
struct | posixdate |
struct | eudate |
struct | scaling |
struct | rate |
struct | bps |
struct | pointerize0 |
struct | Renderer |
struct | null0 |
struct | Bag |
struct | DataFrame0 |
struct | Collector |
class | DataFrame |
A transient data structure to use the data from a CSV file loaded into a multi_array. More... | |
struct | Matrix0 |
Simple class for casting to a Matrix. More... | |
struct | Filter0 |
struct | render0_t |
Defines what boost::any type string gets rendered by what function. More... | |
struct | col_overrides_t |
struct | TimeSeries0 |
class | CounterA |
struct | QPXisc |
struct | StrikeMaturity |
struct | Pivotter |
Pivotter provides a means of pivotting a table on a column. More... | |
Namespaces | |
namespace | i0 |
Provides the implementation space for many methods used by eepgwde::detail::null0. | |
Typedefs | |
typedef std::pair< fs::path, fs::path > | atomic_t |
typedef std::vector< std::string > | compound_t |
typedef std::map< const std::string, QuantLib::Calendar > | cache_t |
typedef struct eepgwde::detail::type_t | type_t |
typedef boost::array< const std::locale, 3 > | locales_t |
typedef std::list< std::list < boost::any > > | columns_t |
A list of lists used as a pool of storage for the column values. | |
typedef std::map< std::string, boost::any * > | record_t |
A column name to value map. | |
typedef boost::multi_array < boost::any, 2 > | ma_any_t |
typedef std::mem_fun1_ref_t < void, eepgwde::detail::DataFrame, std::string > | fn1_ref_t |
A rendering function. | |
typedef struct eepgwde::detail::render0_t | render0_t |
Defines what boost::any type string gets rendered by what function. | |
typedef Typing::mapping_t | col_t |
typedef struct eepgwde::detail::col_overrides_t | col_overrides_t |
typedef Typing::mappings_t | map_t |
typedef std::map< std::string, col_t * > | map_overrides_t |
typedef std::map< std::string, fn1_ref_t * > | render0_map_t |
typedef multi_index_container < StrikeMaturity, indexed_by < ordered_non_unique < composite_key < StrikeMaturity, member < StrikeMaturity, double,&StrikeMaturity::strike_ > , member< StrikeMaturity, int,&StrikeMaturity::maturity_ > > > > > | Prices |
Functions | |
static std::vector< type_t > | types_1 (types_0, types_0+(sizeof(types_0)/sizeof(types_0[0]))) |
const locale * | dating (const std::locale &ours) |
boost::gregorian::date | locale_trier (const std::string &sdt) throw (std::domain_error) |
template<> | |
const char ** | as< const char * > (const char **v, const boost::any &operand) |
Another specialization. | |
std::string | as (const boost::any &operand) |
std::ostream & | operator<< (std::ostream &o, const usdate &t) |
std::istream & | operator>> (std::istream &i, usdate &t) |
std::ostream & | operator<< (std::ostream &o, const eudate &t) |
std::istream & | operator>> (std::istream &i, eudate &t) |
std::ostream & | operator<< (std::ostream &o, const posixdate &t) |
std::istream & | operator>> (std::istream &i, posixdate &t) |
int | scaltypes0 (int argc, char *argv[]) |
template<typename T> | |
std::ostream & | operator<< (std::ostream &o, const Numeric< T > &t) |
template<typename T> | |
std::istream & | operator>> (std::istream &i, Numeric< T > &t) |
template<typename B, typename C> | |
B | pointerize (C &c) |
template<typename B, typename C> | |
B | pointerize1 (C b, C e) |
template<typename T> | |
T * | as (T *v, const boost::any &o) throw (std::domain_error) |
template<typename T> | |
bool | is (const boost::any &o) throw (std::domain_error) |
A short form for comparing null0<T> types. | |
template<typename T> | |
int | count (const std::list< boost::any > *values) |
template<typename T> | |
T | renderer (const boost::any &o, const T &null_, int fatal) throw (const boost::bad_any_cast &) |
template<typename T> | |
std::vector< T > * | render (std::vector< T > *r, const std::list< boost::any > *l, int &fails, const T null_=(eepgwde::detail::null0< T >())()) throw (const boost::bad_any_cast &) |
template<typename T> | |
void | renderer (boost::any &o, const boost::any &null_, int is_overwrite, int fatal) throw (const boost::bad_any_cast &) |
template<typename T> | |
std::list< boost::any > * | render (std::list< boost::any > *l, int &fails, const boost::any null_=(eepgwde::detail::null0< boost::any >())()) throw (const boost::bad_any_cast &) |
void | writer0 (std::ostream &os, const Bag::attr_pos_t::left_value_type &l) |
std::ostream & | operator<< (std::ostream &os, const Bag::attr_pos_t::left_map &l) |
std::ostream & | operator<< (std::ostream &os, const eepgwde::detail::Bag::attr_pos_t::left_map &l) |
DataFrame::payload_t | init0 (DataFrame::ma_any_t &frame_) |
DataFrame::columnar::operator std::list< boost::any > () | |
DataFrame::rowar::operator std::list< boost::any > () | |
static std::ostream & | dumper (std::ostream &o, DataFrame::ma_any_t &frame) |
An output trace method. | |
std::ostream & | operator<< (std::ostream &o, DataFrame::ma_any_t &frame) |
Output for trace. | |
std::ostream & | operator<< (std::ostream &os, const eepgwde::detail::DataFrame::attr_pos_t::left_map &l) |
Variables | |
static boost::regex_constants::syntax_option_type | flags = boost::regex_constants::basic |
static std::vector< Renderer const * > | null_types |
type_t | types_0 [] = {} |
static locales_t | locales = { Typing::posix, Typing::us, Typing::uk } |
static Bag | bag0 |
col_t | defaults_attrs [] |
render0_t | render0s_ [] |
col_overrides_t | overrides_attrs [] |
DataFrame::ma_any_t | frame |
std::string | fname0 |
std::queue< std::string > | fnames |
std::vector< double > | mties0_ |
std::vector< double > | strikes0_ |
std::map< std::string, boost::any > | results |
eepgwde::detail::Typing::mapping_t | bbg_mappings [] |
This namespace is used to package implementation classes.
Classes in this namespace should only be visible to class implementations and not to the application programmer.
typedef std::pair<fs::path, fs::path> eepgwde::detail::atomic_t |
Definition at line 63 of file runtime0.cpp.
typedef std::map<const std::string, QuantLib::Calendar> eepgwde::detail::cache_t |
Definition at line 65 of file runtime0.cpp.
typedef struct eepgwde::detail::col_overrides_t eepgwde::detail::col_overrides_t |
typedef std::list< std::list<boost::any> > eepgwde::detail::columns_t |
typedef std::vector<std::string> eepgwde::detail::compound_t |
Definition at line 64 of file runtime0.cpp.
typedef std::mem_fun1_ref_t<void, eepgwde::detail::DataFrame, std::string> eepgwde::detail::fn1_ref_t |
typedef boost::array<const std::locale, 3> eepgwde::detail::locales_t |
Definition at line 156 of file runtime2.cpp.
typedef boost::multi_array<boost::any, 2> eepgwde::detail::ma_any_t |
typedef std::map<std::string, col_t * > eepgwde::detail::map_overrides_t |
typedef multi_index_container< StrikeMaturity, indexed_by< ordered_non_unique< composite_key< StrikeMaturity, member<StrikeMaturity,double,&StrikeMaturity::strike_>, member<StrikeMaturity,int,&StrikeMaturity::maturity_> > > > > eepgwde::detail::Prices |
define a multi_index_container with a composite key on strike and maturity
Definition at line 88 of file pivot1.hpp.
typedef std::map<std::string, fn1_ref_t * > eepgwde::detail::render0_map_t |
typedef struct eepgwde::detail::render0_t eepgwde::detail::render0_t |
Defines what boost::any type string gets rendered by what function.
typedef struct eepgwde::detail::type_t eepgwde::detail::type_t |
T* eepgwde::detail::as | ( | T * | v, | |
const boost::any & | o | |||
) | throw (std::domain_error) [inline] |
< already compatible
< o is holding a string, try custom cast.
Definition at line 261 of file typing1.hpp.
References e0().
Referenced by Test::split0_t::split0::a4(), Test::split0_t::split0::a5(), Test::header0_t::header0::ab1(), Test::header0_t::header0::ab2(), Test::col_t::col::d7(), Test::typing1_t::typing1::tas0(), Test::typing1_t::typing1::tas1(), Test::date1_t::date1::tas2(), Test::typing6_t::typing6::tas3(), Test::date1_t::date1::tas3(), Test::typing1_t::typing1::tas3(), Test::date1_t::date1::tas4(), Test::date1_t::date1::tas5(), Test::date1_t::date1::tas6(), Test::date1_t::date1::tas7(), Test::date1_t::date1::tas8(), and Test::ts_t::ts::ts0().
std::string eepgwde::detail::as | ( | const boost::any & | operand | ) |
This uses all the as() methods to render as a string.
This method is used for debugging. It returns a string.
Definition at line 262 of file runtime2.cpp.
References eepgwde::detail::Typing::as().
Referenced by eepgwde::detail::Typing::as(), Test::attrs_t::attrs::Attr0::attributes(), Test::date0_t::date0::format2(), and Test::attrs_t::attrs::Attr0::show().
const char ** eepgwde::detail::as< const char * > | ( | const char ** | v, | |
const boost::any & | operand | |||
) | [inline] |
Another specialization.
A specialization for old C-string.
eepgwde::detail::DataFrame::columnar::operator std::list< boost::any > | ( | ) |
eepgwde::detail::DataFrame::rowar::operator std::list< boost::any > | ( | ) |
static std::ostream& eepgwde::detail::dumper | ( | std::ostream & | o, | |
DataFrame::ma_any_t & | frame | |||
) | [static] |
An output trace method.
Definition at line 567 of file csv1.cpp.
References eepgwde::detail::DataFrame::payloader::as().
Referenced by operator<<().
DataFrame::payload_t eepgwde::detail::init0 | ( | DataFrame::ma_any_t & | frame_ | ) |
bool eepgwde::detail::is | ( | const boost::any & | o | ) | throw (std::domain_error) [inline] |
A short form for comparing null0<T> types.
Definition at line 283 of file typing1.hpp.
References Test::typing5_t::typing5::eepgwde::detail::nullT.
Referenced by Test::header0_t::header0::ab1(), and eepgwde::detail::Facilities::readlines().
boost::gregorian::date eepgwde::detail::locale_trier | ( | const std::string & | sdt | ) | throw (std::domain_error) |
Tries to format a date in a string using some heuristics.
This could be more efficient, but the heuristics are more useful.
Definition at line 198 of file runtime2.cpp.
References dating(), eepgwde::detail::Typing::posix, eepgwde::detail::Typing::uk, and eepgwde::detail::Typing::us.
std::ostream& eepgwde::detail::operator<< | ( | std::ostream & | os, | |
const eepgwde::detail::Bag::attr_pos_t::left_map & | l | |||
) |
std::ostream& eepgwde::detail::operator<< | ( | std::ostream & | os, | |
const Bag::attr_pos_t::left_map & | l | |||
) |
int eepgwde::detail::scaltypes0 | ( | int | argc, | |
char * | argv[] | |||
) |
Listing function.
Definition at line 20 of file scaltypes0.cpp.
Referenced by main().
static std::vector<type_t> eepgwde::detail::types_1 | ( | types_0 | , | |
types_0+ | sizeof(types_0)/sizeof(types_0[0]) | |||
) | [static] |
Referenced by eepgwde::detail::Typing::Impl::Impl().
void eepgwde::detail::writer0 | ( | std::ostream & | os, | |
const Bag::attr_pos_t::left_value_type & | l | |||
) |
Bag eepgwde::detail::bag0 [static] |
Initial value:
{ { std::string("PX"), std::string("name") }, { std::string("PX_LAST"), std::string("price") }, { std::string("X1"), std::string("strike") }, { std::string("X2"), std::string("maturity") }, { std::string(""), std::string("") } }
Definition at line 60 of file acsvt2.cpp.
Referenced by Test::header0_t::header0::ab2().
boost::regex_constants::syntax_option_type eepgwde::detail::flags = boost::regex_constants::basic [static] |
Definition at line 20 of file runtime1.cpp.
std::string eepgwde::detail::fname0 |
Definition at line 47 of file ivol2/acsvt00.cpp.
Referenced by Test::split0_t::split0::a4(), Test::split0_t::split0::a5(), Test::header0_t::header0::ab0(), Test::header0_t::header0::ab1(), Test::header0_t::header0::ab2(), Test::sort0_t::sort0::b3(), Test::sort0_t::sort0::b4(), Test::sort0_t::sort0::b5(), Test::sort0_t::sort0::b6(), Test::sort0_t::sort0::b7(), Test::sort0_t::sort0::b8(), Test::schema0_t::schema0::csd0(), Test::schema0_t::schema0::csd1(), Test::schema0_t::schema0::csd2(), Test::colt_t::colt::d0(), Test::colt_t::colt::d1(), Test::mi3_t::mi3::e0(), Test::misc_t::misc::e0(), Test::attrs_t::attrs::q0(), and Test::attrs_t::attrs::q1().
std::queue< std::string > eepgwde::detail::fnames |
Definition at line 48 of file ivol2/acsvt00.cpp.
Referenced by Test::caps0_t::caps0::caps0(), Test::misc_t::misc::qldt(), Test::curves_t::curves::yceur(), Test::curves_t::curves::ycuk(), and Test::yoyeu_t::yoyeu::yoyeur().
Definition at line 45 of file ivol2/acsvt00.cpp.
Referenced by Test::split0_t::split0::a4(), Test::split0_t::split0::a5(), Test::header0_t::header0::ab0(), Test::header0_t::header0::ab1(), Test::header0_t::header0::ab2(), Test::sort0_t::sort0::b3(), Test::sort0_t::sort0::b4(), Test::sort0_t::sort0::b5(), Test::sort0_t::sort0::b6(), Test::sort0_t::sort0::b7(), Test::sort0_t::sort0::b8(), Test::schema0_t::schema0::csd0(), Test::schema0_t::schema0::csd1(), Test::schema0_t::schema0::csd2(), Test::frame0_t::frame0::csv1(), Test::frame0_t::frame0::csv2(), Test::frame0_t::frame0::csv3(), Test::frame0_t::frame0::csv4(), Test::frame0_t::frame0::csv5(), Test::frame0_t::frame0::csv6(), Test::colt_t::colt::d0(), Test::col_t::col::d0(), Test::colt_t::colt::d1(), Test::col_t::col::d1(), Test::col_t::col::d2(), Test::col_t::col::d3(), Test::col_t::col::d4(), Test::col_t::col::d5(), Test::col_t::col::d6(), Test::col_t::col::d7(), eepgwde::detail::DataFrame::DataFrame(), Test::mi3_t::mi3::e0(), Test::misc_t::misc::e0(), Test::attrs_t::attrs::q0(), and Test::attrs_t::attrs::q1().
locales_t eepgwde::detail::locales = { Typing::posix, Typing::us, Typing::uk } [static] |
std::vector< double > eepgwde::detail::mties0_ |
std::vector<Renderer const *> eepgwde::detail::null_types [static] |
Definition at line 34 of file runtime2.cpp.
Definition at line 1 of file moverrides.cpp.
Referenced by eepgwde::detail::DataFrame::Impl::Impl().
Initial value:
{ { std::string("N7eepgwde6detail9posixdateE"), &render_dt }, { std::string("Ss"), &render_s }, { std::string("d"), &render_d }, { std::string("i"), &render_i }, { std::string(), 0 } }
Definition at line 45 of file ivol2/render1.cpp.
Referenced by eepgwde::detail::DataFrame::Impl::Impl().
std::map< std::string, boost::any > eepgwde::detail::results |
Definition at line 53 of file ivol2/acsvt00.cpp.
Referenced by eepgwde::detail::Facilities::readlines().
std::vector< double > eepgwde::detail::strikes0_ |
type_t eepgwde::detail::types_0[] = {} |
Definition at line 92 of file runtime2.cpp.