1Output manipulators(3) QuantLib Output manipulators(3)
2
3
4
6 Output manipulators -
7
9 Helper functions for creating formatted output.
10
11 Functions
12 detail::short_date_holder short_date (const Date &)
13 output dates in short format (mm/dd/yyyy)
14 detail::long_date_holder long_date (const Date &)
15 output dates in long format (Month ddth, yyyy)
16 detail::iso_date_holder iso_date (const Date &)
17 output dates in ISO format (yyyy-mm-dd)
18 detail::long_period_holder long_period (const Period &)
19 output periods in long format (e.g. '2 weeks')
20 detail::short_period_holder short_period (const Period &)
21 output periods in short format (e.g. '2w')
22 detail::long_weekday_holder long_weekday (Weekday)
23 output weekdays in long format
24 detail::short_weekday_holder short_weekday (Weekday)
25 output weekdays in short format (three letters)
26 detail::shortest_weekday_holder shortest_weekday (Weekday)
27 output weekdays in shortest format (two letters)
28 template<typename T> detail::null_checker< T > checknull (T)
29 check for nulls before output
30 detail::ordinal_holder ordinal (Size)
31 outputs naturals as 1st, 2nd, 3rd...
32 template<typename T> detail::power_of_two_holder< T > power_of_two (T)
33 output integers as powers of two
34 detail::percent_holder percent (Real)
35 output reals as percentages
36 detail::percent_holder rate (Rate)
37 output rates and spreads as percentages
38 detail::percent_holder volatility (Volatility)
39 output volatilities as percentages
40
42 detail::short_date_holder QuantLib::io::short_date (const Date &)
43 output dates in short format (mm/dd/yyyy)
44
45 detail::long_date_holder QuantLib::io::long_date (const Date &)
46 output dates in long format (Month ddth, yyyy)
47
48 detail::iso_date_holder QuantLib::io::iso_date (const Date &)
49 output dates in ISO format (yyyy-mm-dd)
50
51 detail::long_period_holder QuantLib::io::long_period (const Period &)
52 output periods in long format (e.g. '2 weeks')
53
54 detail::short_period_holder QuantLib::io::short_period (const Period &)
55 output periods in short format (e.g. '2w')
56
57 detail::long_weekday_holder QuantLib::io::long_weekday (Weekday)
58 output weekdays in long format
59
60 detail::short_weekday_holder QuantLib::io::short_weekday (Weekday)
61 output weekdays in short format (three letters)
62
63 detail::shortest_weekday_holder QuantLib::io::shortest_weekday (Weekday)
64 output weekdays in shortest format (two letters)
65
66Version 0.8.1 29 Oct 2007 Output manipulators(3)