Application programmer defined types
[Type Manipulation and Column Name re-mapping]


Functions

template<typename U>
std::string eepgwde::detail::i0::ys (typename enable_if< boost::is_same< ql::Date, U >, U >::type, const boost::any &o, dummy< 1 >=1) throw (std::domain_error &)
 A visitor method for QuantLib date.
template<typename U>
eepgwde::detail::i0::xs (typename enable_if< boost::is_same< ql::Date, U >, U >::type, const std::string &s, dummy< 1 >=2) throw (std::domain_error &)
 A visitor method for QuantLib date.

Detailed Description

These functions have been added to support an extra data type. They are provided as an example. The functions have to be included before the templates. So here is an example of the load order.
The new types are defined by the functions in typing_ql.hpp.
You will also need to allocate a runtime Renderer, see types0.cpp for an example.

#include "src/typing0.hpp"
#include "src0/typing_ql.hpp"
#include "src/typing3.hpp"
#include "src/typing1.hpp"

Function Documentation

template<typename U>
U eepgwde::detail::i0::xs ( typename enable_if< boost::is_same< ql::Date, U >, U >::type  ,
const std::string &  s,
dummy< 1 >  = 2 
) throw (std::domain_error &) [inline]

A visitor method for QuantLib date.

Definition at line 43 of file scalt5.cpp.

template<typename U>
std::string eepgwde::detail::i0::ys ( typename enable_if< boost::is_same< ql::Date, U >, U >::type  ,
const boost::any &  o,
dummy< 1 >  = 1 
) throw (std::domain_error &) [inline]

A visitor method for QuantLib date.

Definition at line 33 of file scalt5.cpp.


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