#include <logperiod.hpp>
Definition at line 27 of file logperiod.hpp.
◆ Period
Enumerator |
---|
UNDEF | |
DAILY | |
HOURLY | |
BY_MINUTE | |
Definition at line 32 of file logperiod.hpp.
◆ LogPeriod() [1/3]
openvpn::LogPeriod::LogPeriod |
( |
| ) |
|
|
inline |
◆ LogPeriod() [2/3]
openvpn::LogPeriod::LogPeriod |
( |
const Period |
period, |
|
|
const time_t |
base |
|
) |
| |
|
inline |
◆ LogPeriod() [3/3]
openvpn::LogPeriod::LogPeriod |
( |
const LogPeriod & |
other, |
|
|
const int |
index |
|
) |
| |
|
inline |
◆ defined()
bool openvpn::LogPeriod::defined |
( |
| ) |
const |
|
inline |
◆ expires_in()
time_t openvpn::LogPeriod::expires_in |
( |
const time_t |
now | ) |
|
|
inline |
◆ is_current()
bool openvpn::LogPeriod::is_current |
( |
const time_t |
now | ) |
const |
|
inline |
◆ OPENVPN_EXCEPTION()
openvpn::LogPeriod::OPENVPN_EXCEPTION |
( |
log_period_error |
| ) |
|
◆ period_base()
static olong openvpn::LogPeriod::period_base |
( |
const Period |
p, |
|
|
const time_t |
time |
|
) |
| |
|
inlinestaticprivate |
◆ period_from_string()
static Period openvpn::LogPeriod::period_from_string |
( |
const std::string & |
str | ) |
|
|
inlinestatic |
◆ period_sec()
static olong openvpn::LogPeriod::period_sec |
( |
const Period |
p | ) |
|
|
inlinestaticprivate |
◆ to_string()
std::string openvpn::LogPeriod::to_string |
( |
| ) |
const |
|
inline |
◆ to_string_verbose()
std::string openvpn::LogPeriod::to_string_verbose |
( |
| ) |
const |
|
inline |
◆ end_
olong openvpn::LogPeriod::end_ |
|
private |
◆ period_
Period openvpn::LogPeriod::period_ |
|
private |
◆ start_
olong openvpn::LogPeriod::start_ |
|
private |
The documentation for this class was generated from the following file: