mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | Friends
m::put_timepoint< Clock, Duration > Struct Template Reference

#include <fn.hpp>

Collaboration diagram for m::put_timepoint< Clock, Duration >:
[legend]

Public Member Functions

 put_timepoint (std::chrono::time_point< Clock, Duration > tp, bool utc=false)
 

Private Attributes

std::chrono::time_point< Clock, Duration > tp_
 
bool utc_
 

Friends

std::ostream & operator<< (std::ostream &out, const put_timepoint &ptp)
 Print the given std::chrono::time_point in the given format.
 

Detailed Description

template<typename Clock, typename Duration>
struct m::put_timepoint< Clock, Duration >

Definition at line 533 of file fn.hpp.

Constructor & Destructor Documentation

◆ put_timepoint()

template<typename Clock , typename Duration >
m::put_timepoint< Clock, Duration >::put_timepoint ( std::chrono::time_point< Clock, Duration >  tp,
bool  utc = false 
)
inline

Definition at line 540 of file fn.hpp.

Friends And Related Function Documentation

◆ operator<<

template<typename Clock , typename Duration >
std::ostream & operator<< ( std::ostream &  out,
const put_timepoint< Clock, Duration > &  ptp 
)
friend

Print the given std::chrono::time_point in the given format.

Definition at line 543 of file fn.hpp.

Field Documentation

◆ tp_

template<typename Clock , typename Duration >
std::chrono::time_point<Clock, Duration> m::put_timepoint< Clock, Duration >::tp_
private

Definition at line 536 of file fn.hpp.

◆ utc_

template<typename Clock , typename Duration >
bool m::put_timepoint< Clock, Duration >::utc_
private

Definition at line 537 of file fn.hpp.


The documentation for this struct was generated from the following file: