JayBeams
0.1
Another project to have fun coding.
|
Represent a ITCH-5.0 seconds_field. More...
#include <seconds_field.hpp>
Public Member Functions | |
seconds_field (int c=0) | |
Constructor. More... | |
seconds_field (std::chrono::seconds const &s) | |
Constructor from std::chrono::seconds. More... | |
Accessors | |
int | int_seconds () const |
std::chrono::seconds | seconds () const |
Private Attributes | |
int | count_ |
Represent a ITCH-5.0 seconds_field.
ITCH-5.0 uses seconds since midnight for some of its fields.
Definition at line 16 of file seconds_field.hpp.
|
inlineexplicit |
Constructor.
Definition at line 19 of file seconds_field.hpp.
|
inlineexplicit |
Constructor from std::chrono::seconds.
Definition at line 24 of file seconds_field.hpp.
|
inline |
Definition at line 32 of file seconds_field.hpp.
References count_.
Referenced by jb::itch5::operator<<().
|
inline |
Definition at line 36 of file seconds_field.hpp.
References count_.
|
private |
Definition at line 42 of file seconds_field.hpp.
Referenced by int_seconds(), and seconds().