Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cTimeParserUnit Struct Reference

#include <cTimeUnits.h>

Public Member Functions

void Init ()
 
TIMEUNIT_TYPE get_HashCode () const noexcept
 
TIMEUNIT_t get_SortValue () const noexcept
 

Public Attributes

TIMEUNIT_TYPE m_Type
 What type of field does this look like. best guess. TIMEUNIT_Sec. More...
 
TIMEUNIT_t m_nValue
 Value we read from the field. <0 = null/omitted. More...
 
StrLen_t m_iOffsetSep
 End of the type info and start of the separator. More...
 
GChar_t m_Separator
 What sort of separator follows ? ":T /.,-". More...
 

Detailed Description

Helper for parsing time units from string.

Member Function Documentation

◆ get_HashCode()

TIMEUNIT_TYPE Gray::cTimeParserUnit::get_HashCode ( ) const
inlinenoexcept

◆ get_SortValue()

TIMEUNIT_t Gray::cTimeParserUnit::get_SortValue ( ) const
inlinenoexcept

◆ Init()

void Gray::cTimeParserUnit::Init ( )
inline

Member Data Documentation

◆ m_iOffsetSep

StrLen_t Gray::cTimeParserUnit::m_iOffsetSep

End of the type info and start of the separator.

◆ m_nValue

TIMEUNIT_t Gray::cTimeParserUnit::m_nValue

Value we read from the field. <0 = null/omitted.

◆ m_Separator

GChar_t Gray::cTimeParserUnit::m_Separator

What sort of separator follows ? ":T /.,-".

◆ m_Type

TIMEUNIT_TYPE Gray::cTimeParserUnit::m_Type

What type of field does this look like. best guess. TIMEUNIT_Sec.


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