Classes | |
struct | eepgwde::detail::Typing::mapping_t |
Typedefs | |
typedef struct eepgwde::detail::Typing::mapping_t | eepgwde::detail::Typing::mapping_t |
typedef std::map< std::string, std::string > | eepgwde::detail::Typing::mappings_t |
Functions | |
types0_t & | eepgwde::detail::Typing::types0 () |
Get the types list. | |
Renderer const * | eepgwde::detail::Typing::add (Renderer *) |
Add a Renderer to the type system. | |
mappings_t & | eepgwde::detail::Typing::mappings () |
Get the mapping store. | |
void | eepgwde::detail::Typing::mappings (const mapping_t mappings[]) |
Set the mapping store. |
The map is usually maintained as a <source name> -> <generic name>.
Typing t0; Typing::mappings_t map0 = t0.mappings(); map0["PX_LAST"] = "price";
This would set up a mappings_t instance that could be used to change the column PX_LAST
to have the name price
.
typedef struct eepgwde::detail::Typing::mapping_t eepgwde::detail::Typing::mapping_t [inherited] |
Array container for mapping pairs.
typedef std::map<std::string, std::string> eepgwde::detail::Typing::mappings_t [inherited] |
Definition at line 81 of file runtime2.hpp.
Renderer const * eepgwde::detail::Typing::add | ( | Renderer * | p | ) | [inherited] |
Add a Renderer to the type system.
Add a Renderer to the singleton.
The Renderer needs to be static. This code doesn't copy it. And it will only write it once. If you do want to overwrite it, then you must delete from the update.
Definition at line 132 of file runtime2.cpp.
References eepgwde::detail::Typing::impl, and eepgwde::detail::Renderer::name().
void eepgwde::detail::Typing::mappings | ( | const mapping_t | mappings[] | ) | [inherited] |
Set the mapping store.
Definition at line 146 of file runtime2.cpp.
References eepgwde::detail::Typing::impl, eepgwde::detail::Typing::mapping_t::new_, and eepgwde::detail::Typing::mapping_t::old_.
Typing::mappings_t & eepgwde::detail::Typing::mappings | ( | ) | [inherited] |
Get the mapping store.
Definition at line 142 of file runtime2.cpp.
References eepgwde::detail::Typing::impl.
Referenced by Test::header0_t::header0::ab2(), Test::sort0_t::sort0::b6(), Test::sort0_t::sort0::b7(), Test::sort0_t::sort0::b8(), Test::mi3_t::mi3::e0(), Test::misc_t::misc::e0(), and Test::curves_t::curves::yceur().
Typing::types0_t & eepgwde::detail::Typing::types0 | ( | ) | [inherited] |
Get the types list.
Definition at line 123 of file runtime2.cpp.
References eepgwde::detail::Typing::impl.
Referenced by Test::typing0_t::typing0::tnull01().