percent (3) - Linux Manuals

percent: output manipulators

NAME

ql/utilities/dataformatters.hpp - output manipulators

SYNOPSIS


#include <ql/utilities/null.hpp>
#include <ostream>

Functions


template<typename T > std::ostream & operator<< (std::ostream &, const null_checker< T > &)

std::ostream & operator<< (std::ostream &, const ordinal_holder &)

template<typename T > std::ostream & operator<< (std::ostream &, const power_of_two_holder< T > &)

std::ostream & operator<< (std::ostream &, const percent_holder &)

template<typename T > detail::null_checker< T > checknull (T)
check for nulls before output
detail::ordinal_holder ordinal (Size)
outputs naturals as 1st, 2nd, 3rd...
template<typename T > detail::power_of_two_holder< T > power_of_two (T)
output integers as powers of two
detail::percent_holder percent (Real)
output reals as percentages
detail::percent_holder rate (Rate)
output rates and spreads as percentages
detail::percent_holder volatility (Volatility)
output volatilities as percentages

Detailed Description

output manipulators

Author

Generated automatically by Doxygen for QuantLib from the source code.