NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
Classes | |
struct | choose_trunc_type |
class | decimal_format_seconds |
class | MonthDayTime |
struct | no_overflow |
struct | nodeduct |
struct | rld |
struct | rs |
struct | ru |
class | Rule |
class | save_istream |
class | save_ostream |
struct | static_gcd |
struct | static_gcd< 0, 0 > |
struct | static_gcd< Xp, 0 > |
struct | static_pow10 |
struct | static_pow10< 0 > |
class | string_literal |
struct | undocumented |
struct | unspecified_month_disambiguator |
struct | width |
struct | width< n, d, w, false > |
struct | zonelet |
Typedefs | |
template<typename R1 , typename R2 > | |
using | ratio_multiply = decltype(std::ratio_multiply< R1, R2 >{}) |
template<typename R1 , typename R2 > | |
using | ratio_divide = decltype(std::ratio_divide< R1, R2 >{}) |
template<typename T > | |
using | nodeduct_t = typename nodeduct< T >::type |
Enumerations | |
enum class | tz { utc , local , standard } |
Functions | |
template<class T > | |
CONSTCD11 std::enable_if<!std::chrono::treat_as_floating_point< T >::value, T >::type | trunc (T t) NOEXCEPT |
template<class T > | |
CONSTCD14 std::enable_if< std::chrono::treat_as_floating_point< T >::value, T >::type | trunc (T t) NOEXCEPT |
template<class To , class Rep , class Period > | |
CONSTCD14 std::enable_if<!std::chrono::treat_as_floating_point< typenameTo::rep >::value, To >::type | round_i (const std::chrono::duration< Rep, Period > &d) |
template<class To , class Rep , class Period > | |
CONSTCD14 std::enable_if< std::chrono::treat_as_floating_point< typenameTo::rep >::value, To >::type | round_i (const std::chrono::duration< Rep, Period > &d) |
template<class To , class Clock , class FromDuration > | |
CONSTCD11 std::chrono::time_point< Clock, To > | round_i (const std::chrono::time_point< Clock, FromDuration > &tp) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const day &d) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const month &m) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const year &y) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const weekday &wd) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const weekday_indexed &wdi) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const weekday_last &wdl) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const year_month &ym) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const month_day &md) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const month_day_last &mdl) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const month_weekday &mwd) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const month_weekday_last &mwdl) |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | low_level_fmt (std::basic_ostream< CharT, Traits > &os, const year_month_day_last &ymdl) |
template<class Rep , class Period > | |
CONSTCD11 std::enable_if< std::numeric_limits< Rep >::is_signed, std::chrono::duration< Rep, Period > >::type | abs (std::chrono::duration< Rep, Period > d) |
template<class Rep , class Period > | |
CONSTCD11 std::enable_if<!std::numeric_limits< Rep >::is_signed, std::chrono::duration< Rep, Period > >::type | abs (std::chrono::duration< Rep, Period > d) |
template<class CharT , class Traits , class Duration > | |
unsigned | extract_weekday (std::basic_ostream< CharT, Traits > &os, const fields< Duration > &fds) |
template<class CharT , class Traits , class Duration > | |
unsigned | extract_month (std::basic_ostream< CharT, Traits > &os, const fields< Duration > &fds) |
template<class CharT , class Traits > | |
bool | read_char (std::basic_istream< CharT, Traits > &is, CharT fmt, std::ios::iostate &err) |
template<class CharT , class Traits > | |
unsigned | read_unsigned (std::basic_istream< CharT, Traits > &is, unsigned m=1, unsigned M=10) |
template<class CharT , class Traits > | |
int | read_signed (std::basic_istream< CharT, Traits > &is, unsigned m=1, unsigned M=10) |
template<class CharT , class Traits > | |
long double | read_long_double (std::basic_istream< CharT, Traits > &is, unsigned m=1, unsigned M=10) |
template<class CharT , class Traits > | |
void | read (std::basic_istream< CharT, Traits > &) |
template<class CharT , class Traits , class ... Args> | |
void | read (std::basic_istream< CharT, Traits > &is, CharT a0, Args &&...args) |
template<class CharT , class Traits , class ... Args> | |
void | read (std::basic_istream< CharT, Traits > &is, rs a0, Args &&...args) |
template<class CharT , class Traits , class ... Args> | |
void | read (std::basic_istream< CharT, Traits > &is, ru a0, Args &&...args) |
template<class CharT , class Traits , class ... Args> | |
void | read (std::basic_istream< CharT, Traits > &is, int a0, Args &&...args) |
template<class CharT , class Traits , class ... Args> | |
void | read (std::basic_istream< CharT, Traits > &is, rld a0, Args &&...args) |
template<class T , class CharT , class Traits > | |
void | checked_set (T &value, T from, T not_a_value, std::basic_ios< CharT, Traits > &is) |
template<class T > | |
T * | to_raw_pointer (T *p) NOEXCEPT |
template<class Pointer > | |
auto | to_raw_pointer (Pointer p) NOEXCEPT -> decltype(detail::to_raw_pointer(p.operator->())) |
std::istream & | operator>> (std::istream &is, MonthDayTime &x) |
std::ostream & | operator<< (std::ostream &os, const MonthDayTime &x) |
bool | operator== (const Rule &x, const Rule &y) |
bool | operator< (const Rule &x, const Rule &y) |
bool | operator== (const Rule &x, const date::year &y) |
bool | operator< (const Rule &x, const date::year &y) |
bool | operator== (const date::year &x, const Rule &y) |
bool | operator< (const date::year &x, const Rule &y) |
bool | operator== (const Rule &x, const std::string &y) |
bool | operator< (const Rule &x, const std::string &y) |
bool | operator== (const std::string &x, const Rule &y) |
bool | operator< (const std::string &x, const Rule &y) |
std::ostream & | operator<< (std::ostream &os, const Rule &r) |
bool | operator!= (const Rule &x, const Rule &y) |
bool | operator> (const Rule &x, const Rule &y) |
bool | operator<= (const Rule &x, const Rule &y) |
bool | operator>= (const Rule &x, const Rule &y) |
bool | operator!= (const Rule &x, const date::year &y) |
bool | operator> (const Rule &x, const date::year &y) |
bool | operator<= (const Rule &x, const date::year &y) |
bool | operator>= (const Rule &x, const date::year &y) |
bool | operator!= (const date::year &x, const Rule &y) |
bool | operator> (const date::year &x, const Rule &y) |
bool | operator<= (const date::year &x, const Rule &y) |
bool | operator>= (const date::year &x, const Rule &y) |
bool | operator!= (const Rule &x, const std::string &y) |
bool | operator> (const Rule &x, const std::string &y) |
bool | operator<= (const Rule &x, const std::string &y) |
bool | operator>= (const Rule &x, const std::string &y) |
bool | operator!= (const std::string &x, const Rule &y) |
bool | operator> (const std::string &x, const Rule &y) |
bool | operator<= (const std::string &x, const Rule &y) |
bool | operator>= (const std::string &x, const Rule &y) |
using date::detail::nodeduct_t = typedef typename nodeduct<T>::type |
using date::detail::ratio_divide = typedef decltype(std::ratio_divide<R1, R2>{}) |
using date::detail::ratio_multiply = typedef decltype(std::ratio_multiply<R1, R2>{}) |
|
strong |
Enumerator | |
---|---|
utc | |
local | |
standard |
Definition at line 45 of file tz_private.h.
|
inline |
|
inline |
Definition at line 4056 of file date.h.
Referenced by date::from_stream(), and date::to_stream().
|
inline |
Definition at line 6549 of file date.h.
Referenced by date::from_stream().
unsigned date::detail::extract_month | ( | std::basic_ostream< CharT, Traits > & | os, |
const fields< Duration > & | fds | ||
) |
Definition at line 4845 of file date.h.
References date::year_month_day::month(), date::month::ok(), and date::fields< Duration >::ymd.
Referenced by date::to_stream().
unsigned date::detail::extract_weekday | ( | std::basic_ostream< CharT, Traits > & | os, |
const fields< Duration > & | fds | ||
) |
Definition at line 4819 of file date.h.
References date::weekday::ok(), date::year_month_day::ok(), date::Sunday, date::fields< Duration >::wd, and date::fields< Duration >::ymd.
Referenced by date::to_stream().
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const day & | d | ||
) |
Definition at line 1514 of file date.h.
References date::literals::dec.
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const month & | m | ||
) |
Definition at line 1654 of file date.h.
References date::format(), and date::month::ok().
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const month_day & | md | ||
) |
Definition at line 2443 of file date.h.
References date::month_day::day(), low_level_fmt(), and date::month_day::month().
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const month_day_last & | mdl | ||
) |
Definition at line 2521 of file date.h.
References low_level_fmt(), and date::month_day_last::month().
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const month_weekday & | mwd | ||
) |
Definition at line 2588 of file date.h.
References low_level_fmt(), date::month_weekday::month(), and date::month_weekday::weekday_indexed().
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const month_weekday_last & | mwdl | ||
) |
Definition at line 2656 of file date.h.
References low_level_fmt(), date::month_weekday_last::month(), and date::month_weekday_last::weekday_last().
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const weekday & | wd | ||
) |
Definition at line 1943 of file date.h.
References date::weekday::c_encoding(), date::format(), and date::weekday::ok().
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const weekday_indexed & | wdi | ||
) |
Definition at line 2078 of file date.h.
References date::weekday_indexed::index(), low_level_fmt(), and date::weekday_indexed::weekday().
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const weekday_last & | wdl | ||
) |
Definition at line 2147 of file date.h.
References low_level_fmt(), and date::weekday_last::weekday().
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const year & | y | ||
) |
Definition at line 1794 of file date.h.
References date::literals::dec.
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const year_month & | ym | ||
) |
Definition at line 2342 of file date.h.
References low_level_fmt(), date::year_month::month(), and date::year_month::year().
std::basic_ostream< CharT, Traits > & date::detail::low_level_fmt | ( | std::basic_ostream< CharT, Traits > & | os, |
const year_month_day_last & | ymdl | ||
) |
Definition at line 2827 of file date.h.
References low_level_fmt(), date::year_month_day_last::month_day_last(), and date::year_month_day_last::year().
Referenced by low_level_fmt().
|
inline |
Definition at line 205 of file tz_private.h.
|
inline |
Definition at line 200 of file tz_private.h.
Definition at line 195 of file tz_private.h.
|
inline |
Definition at line 210 of file tz_private.h.
|
inline |
Definition at line 215 of file tz_private.h.
bool date::detail::operator< | ( | const date::year & | x, |
const Rule & | y | ||
) |
Definition at line 1214 of file tz.cpp.
References date::detail::Rule::starting_year_.
bool date::detail::operator< | ( | const Rule & | x, |
const date::year & | y | ||
) |
Definition at line 1202 of file tz.cpp.
References date::detail::Rule::ending_year_.
Definition at line 1181 of file tz.cpp.
References date::detail::Rule::day(), date::detail::Rule::ending_year_, date::detail::Rule::month(), date::detail::Rule::name_, and date::detail::Rule::starting_year_.
bool date::detail::operator< | ( | const Rule & | x, |
const std::string & | y | ||
) |
Definition at line 1226 of file tz.cpp.
References date::detail::Rule::name().
bool date::detail::operator< | ( | const std::string & | x, |
const Rule & | y | ||
) |
Definition at line 1238 of file tz.cpp.
References date::detail::Rule::name().
std::ostream & date::detail::operator<< | ( | std::ostream & | os, |
const MonthDayTime & | x | ||
) |
Definition at line 1057 of file tz.cpp.
References date::detail::MonthDayTime::day(), date::detail::MonthDayTime::gteq, date::detail::MonthDayTime::h_, date::detail::MonthDayTime::lteq, date::detail::MonthDayTime::m_, date::make_time(), date::month_day::month(), date::detail::MonthDayTime::month_day, date::detail::MonthDayTime::pair::month_day_, date::detail::MonthDayTime::U::month_day_, date::detail::MonthDayTime::U::month_day_weekday_, date::detail::MonthDayTime::month_last_dow, date::detail::MonthDayTime::U::month_weekday_last_, date::detail::MonthDayTime::s_, standard, date::detail::MonthDayTime::type_, date::detail::MonthDayTime::u, utc, date::detail::MonthDayTime::pair::weekday_, and date::detail::MonthDayTime::zone_.
std::ostream & date::detail::operator<< | ( | std::ostream & | os, |
const Rule & | r | ||
) |
Definition at line 1244 of file tz.cpp.
References date::detail::Rule::abbrev_, date::detail::Rule::ending_year_, date::make_time(), date::detail::Rule::name_, date::detail::Rule::save_, date::detail::Rule::starting_at_, and date::detail::Rule::starting_year_.
|
inline |
Definition at line 207 of file tz_private.h.
|
inline |
Definition at line 202 of file tz_private.h.
Definition at line 197 of file tz_private.h.
|
inline |
Definition at line 212 of file tz_private.h.
|
inline |
Definition at line 217 of file tz_private.h.
bool date::detail::operator== | ( | const date::year & | x, |
const Rule & | y | ||
) |
Definition at line 1209 of file tz.cpp.
References date::detail::Rule::ending_year_, and date::detail::Rule::starting_year_.
bool date::detail::operator== | ( | const Rule & | x, |
const date::year & | y | ||
) |
Definition at line 1197 of file tz.cpp.
References date::detail::Rule::ending_year_, and date::detail::Rule::starting_year_.
Definition at line 1173 of file tz.cpp.
References date::detail::Rule::day(), date::detail::Rule::ending_year_, date::detail::Rule::month(), date::detail::Rule::name_, date::detail::Rule::save_, and date::detail::Rule::starting_year_.
bool date::detail::operator== | ( | const Rule & | x, |
const std::string & | y | ||
) |
Definition at line 1221 of file tz.cpp.
References date::detail::Rule::name().
bool date::detail::operator== | ( | const std::string & | x, |
const Rule & | y | ||
) |
Definition at line 1233 of file tz.cpp.
References date::detail::Rule::name().
|
inline |
Definition at line 206 of file tz_private.h.
|
inline |
Definition at line 201 of file tz_private.h.
Definition at line 196 of file tz_private.h.
|
inline |
Definition at line 211 of file tz_private.h.
|
inline |
Definition at line 216 of file tz_private.h.
|
inline |
Definition at line 208 of file tz_private.h.
|
inline |
Definition at line 203 of file tz_private.h.
Definition at line 198 of file tz_private.h.
|
inline |
Definition at line 213 of file tz_private.h.
|
inline |
Definition at line 218 of file tz_private.h.
std::istream & date::detail::operator>> | ( | std::istream & | is, |
MonthDayTime & | x | ||
) |
Definition at line 964 of file tz.cpp.
References date::detail::MonthDayTime::gteq, date::detail::MonthDayTime::h_, date::detail::MonthDayTime::lteq, date::detail::MonthDayTime::m_, date::detail::MonthDayTime::month_day, date::detail::MonthDayTime::month_last_dow, date::parse_dow(), date::parse_month(), date::detail::MonthDayTime::s_, standard, date::detail::MonthDayTime::type_, date::detail::MonthDayTime::u, utc, and date::detail::MonthDayTime::zone_.
void date::detail::read | ( | std::basic_istream< CharT, Traits > & | ) |
Definition at line 6444 of file date.h.
Referenced by date::from_stream(), and tinyxml2::XMLDocument::LoadFile().
void date::detail::read | ( | std::basic_istream< CharT, Traits > & | is, |
CharT | a0, | ||
Args &&... | args | ||
) |
void date::detail::read | ( | std::basic_istream< CharT, Traits > & | is, |
int | a0, | ||
Args &&... | args | ||
) |
void date::detail::read | ( | std::basic_istream< CharT, Traits > & | is, |
rld | a0, | ||
Args &&... | args | ||
) |
Definition at line 6537 of file date.h.
References date::detail::rld::i, date::detail::rld::m, date::detail::rld::M, read(), and read_long_double().
Referenced by date::from_stream(), and read().
void date::detail::read | ( | std::basic_istream< CharT, Traits > & | is, |
rs | a0, | ||
Args &&... | args | ||
) |
Definition at line 6493 of file date.h.
References date::detail::rs::i, date::detail::rs::m, date::detail::rs::M, read(), and read_signed().
void date::detail::read | ( | std::basic_istream< CharT, Traits > & | is, |
ru | a0, | ||
Args &&... | args | ||
) |
Definition at line 6504 of file date.h.
References date::detail::ru::i, date::detail::ru::m, date::detail::ru::M, read(), and read_unsigned().
bool date::detail::read_char | ( | std::basic_istream< CharT, Traits > & | is, |
CharT | fmt, | ||
std::ios::iostate & | err | ||
) |
long double date::detail::read_long_double | ( | std::basic_istream< CharT, Traits > & | is, |
unsigned | m = 1 , |
||
unsigned | M = 10 |
||
) |
int date::detail::read_signed | ( | std::basic_istream< CharT, Traits > & | is, |
unsigned | m = 1 , |
||
unsigned | M = 10 |
||
) |
Definition at line 6345 of file date.h.
References max, and read_unsigned().
Referenced by read().
unsigned date::detail::read_unsigned | ( | std::basic_istream< CharT, Traits > & | is, |
unsigned | m = 1 , |
||
unsigned | M = 10 |
||
) |
Definition at line 6320 of file date.h.
Referenced by read(), and read_signed().
|
inline |
Definition at line 1375 of file date.h.
Referenced by date::from_stream().
|
inline |
|
inline |
|
inline |
Definition at line 1329 of file tz.h.
References to_raw_pointer().
|
inline |
Definition at line 1321 of file tz.h.
Referenced by date::zoned_time< Duration, TimeZonePtr >::check(), and to_raw_pointer().
|
inline |
Definition at line 1113 of file date.h.
Referenced by NumeReWindow::CloseAllFiles(), YCompoundFiles::Block::Create(), createTeXExport(), YCompoundFiles::Block::Erase(), PackageRepoBrowser::getFileFromRepo(), Audio::WavFile::newFile(), DocumentationFile::print(), reduceLogFilesize(), FunctionDefinitionManager::save(), Settings::save(), NumeReEditor::SaveNumeReFile(), Output::start(), date::trunc(), PackageManager::updatePluginFile(), urlExecute(), NumeRe::CacheFile::writeCacheHeader(), NumeRe::TextDataFile::writeFile(), NumeRe::NumeReDataFile::writeFile(), NumeRe::CommaSeparatedValues::writeFile(), NumeRe::LaTeXTable::writeFile(), Procedure::writeProcedure(), and writeToFile().