Extra data types.


Classes

struct  eepgwde::detail::Numeric< T, Enable >
struct  eepgwde::detail::is_Numeric
struct  eepgwde::detail::Numeric< T, typename enable_if< is_arithmetic< T > >::type >
struct  eepgwde::detail::usdate
struct  eepgwde::detail::posixdate
struct  eepgwde::detail::eudate
struct  eepgwde::detail::scaling< T, P, Q >
struct  eepgwde::detail::rate
struct  eepgwde::detail::bps

Functions

template<typename T>
std::ostream & eepgwde::detail::operator<< (std::ostream &o, const Numeric< T > &t)
template<typename T>
std::istream & eepgwde::detail::operator>> (std::istream &i, Numeric< T > &t)
std::ostream & eepgwde::detail::operator<< (std::ostream &o, const usdate &t)
std::istream & eepgwde::detail::operator>> (std::istream &i, usdate &t)
std::ostream & eepgwde::detail::operator<< (std::ostream &o, const posixdate &t)
std::istream & eepgwde::detail::operator>> (std::istream &i, posixdate &t)
std::ostream & eepgwde::detail::operator<< (std::ostream &o, const eudate &t)
std::istream & eepgwde::detail::operator>> (std::istream &i, eudate &t)

Detailed Description

These data types have been added to make working with input data more regular. Referring to the input rendering system Type Manipulation and Column Name re-mapping. This requires that data types support boost::lexical_cast<T>. We would also like to have numeric types that have some notion of their scale. Another issue is that date strings come in a number of formats and boost::gregorian::date doesn't support boost::lexical_cast<T>.

These data types have been added to provide these features.

Each of these data types associated null0 and a rendering function as(). These are implemented using a null1(), a ys() and an xs(). You will also need to add the Renderer to the eepgwde::detail::Typing::types0() map.

A default constructor is needed for these types.

These classes need a default constructor and stream << and >> operators to use boost::lexical_cast: this is the templated method of for implementing as().

See also:
types0.cpp eepgwde::detail::Typing::types0() map

Function Documentation

std::ostream & eepgwde::detail::operator<< ( std::ostream &  o,
const eudate &  t 
)

Definition at line 338 of file runtime2.cpp.

References boost::gregorian::to_uk_string().

std::ostream & eepgwde::detail::operator<< ( std::ostream &  o,
const posixdate &  t 
)

Definition at line 350 of file runtime2.cpp.

std::ostream & eepgwde::detail::operator<< ( std::ostream &  o,
const usdate &  t 
)

Definition at line 326 of file runtime2.cpp.

References boost::gregorian::to_us_string().

template<typename T>
std::ostream& eepgwde::detail::operator<< ( std::ostream &  o,
const Numeric< T > &  t 
) [inline]

Definition at line 154 of file typing0.hpp.

std::istream & eepgwde::detail::operator>> ( std::istream &  i,
eudate &  t 
)

Definition at line 343 of file runtime2.cpp.

std::istream & eepgwde::detail::operator>> ( std::istream &  i,
posixdate &  t 
)

Definition at line 355 of file runtime2.cpp.

std::istream & eepgwde::detail::operator>> ( std::istream &  i,
usdate &  t 
)

Definition at line 331 of file runtime2.cpp.

template<typename T>
std::istream& eepgwde::detail::operator>> ( std::istream &  i,
Numeric< T > &  t 
) [inline]

Definition at line 159 of file typing0.hpp.


Generated on Thu Feb 18 21:30:12 2010 for eleve by  doxygen 1.5.6