NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
Posix::detail Namespace Reference

Classes

class  rule
 

Typedefs

using string_t = std::string
 

Functions

void throw_invalid (const string_t &s, unsigned i, const string_t &message)
 
unsigned read_date (const string_t &s, unsigned i, rule &r)
 
unsigned read_name (const string_t &s, unsigned i, std::string &name)
 
unsigned read_signed_time (const string_t &s, unsigned i, std::chrono::seconds &t)
 
unsigned read_unsigned_time (const string_t &s, unsigned i, std::chrono::seconds &t)
 
unsigned read_unsigned (const string_t &s, unsigned i, unsigned limit, unsigned &u, const string_t &message=string_t{})
 
bool operator== (const rule &x, const rule &y)
 
bool operator!= (const rule &x, const rule &y)
 
std::ostream & operator<< (std::ostream &os, const rule &r)
 

Typedef Documentation

◆ string_t

using Posix::detail::string_t = typedef std::string

Definition at line 65 of file ptz.h.

Function Documentation

◆ operator!=()

bool Posix::detail::operator!= ( const rule x,
const rule y 
)
inline

Definition at line 121 of file ptz.h.

◆ operator<<()

std::ostream & Posix::detail::operator<< ( std::ostream &  os,
const rule r 
)
inline

Definition at line 210 of file ptz.h.

◆ operator==()

bool Posix::detail::operator== ( const rule x,
const rule y 
)
inline

Definition at line 103 of file ptz.h.

◆ read_date()

unsigned Posix::detail::read_date ( const string_t s,
unsigned  i,
rule r 
)
inline

Definition at line 670 of file ptz.h.

Referenced by Posix::time_zone::time_zone().

◆ read_name()

unsigned Posix::detail::read_name ( const string_t s,
unsigned  i,
std::string &  name 
)
inline

Definition at line 725 of file ptz.h.

References name, and throw_invalid().

Referenced by Posix::time_zone::time_zone().

Here is the call graph for this function:

◆ read_signed_time()

unsigned Posix::detail::read_signed_time ( const string_t s,
unsigned  i,
std::chrono::seconds &  t 
)
inline

Definition at line 759 of file ptz.h.

References read_unsigned_time(), and throw_invalid().

Referenced by Posix::time_zone::time_zone().

Here is the call graph for this function:

◆ read_unsigned()

unsigned Posix::detail::read_unsigned ( const string_t s,
unsigned  i,
unsigned  limit,
unsigned &  u,
const string_t message = string_t{} 
)
inline

Definition at line 807 of file ptz.h.

References throw_invalid().

Referenced by read_unsigned_time().

Here is the call graph for this function:

◆ read_unsigned_time()

unsigned Posix::detail::read_unsigned_time ( const string_t s,
unsigned  i,
std::chrono::seconds &  t 
)
inline

Definition at line 780 of file ptz.h.

References read_unsigned(), and throw_invalid().

Referenced by read_signed_time().

Here is the call graph for this function:

◆ throw_invalid()

void Posix::detail::throw_invalid ( const string_t s,
unsigned  i,
const string_t message 
)
inline