Electroneum
el::base::SubsecondPrecision Class Reference

A subsecond precision class containing actual width and offset of the subsecond part. More...

#include <easylogging++.h>

Public Member Functions

 SubsecondPrecision (void)
 
 SubsecondPrecision (int width)
 
bool operator== (const SubsecondPrecision &ssPrec)
 

Public Attributes

int m_width
 
unsigned int m_offset
 

Detailed Description

A subsecond precision class containing actual width and offset of the subsecond part.

Definition at line 850 of file easylogging++.h.

Constructor & Destructor Documentation

◆ SubsecondPrecision() [1/2]

el::base::SubsecondPrecision::SubsecondPrecision ( void  )
inline

Definition at line 852 of file easylogging++.h.

852  {
853  init(base::consts::kDefaultSubsecondPrecision);
854  }

◆ SubsecondPrecision() [2/2]

el::base::SubsecondPrecision::SubsecondPrecision ( int  width)
inlineexplicit

Definition at line 855 of file easylogging++.h.

855  {
856  init(width);
857  }

Member Function Documentation

◆ operator==()

bool el::base::SubsecondPrecision::operator== ( const SubsecondPrecision ssPrec)
inline

Definition at line 858 of file easylogging++.h.

858  {
859  return m_width == ssPrec.m_width && m_offset == ssPrec.m_offset;
860  }

Member Data Documentation

◆ m_offset

unsigned int el::base::SubsecondPrecision::m_offset

Definition at line 862 of file easylogging++.h.

◆ m_width

int el::base::SubsecondPrecision::m_width

Definition at line 861 of file easylogging++.h.


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