OnixS C++ B3 BOE Binary Order Entry 1.4.0
Users' manual and API documentation
Loading...
Searching...
No Matches
UTCTimestampNanos Class Reference

#include <OnixS/B3/BOE/messaging/Composites.h>

Public Types

enum  
typedef UInt64 Time
typedef IntegralConstant< UInt8, 9 > Unit

Public Member Functions

 UTCTimestampNanos () noexcept
 UTCTimestampNanos (Time time) noexcept
std::string toString (bool skipEmptyFields=false) const
void serialize (void *addr) const noexcept
Time time () const noexcept
void setTime (Time value) noexcept
Unit unit () const noexcept

Detailed Description

UTC timestamp with nanosecond precision.

FIX type: UTCTimestamp.

Definition at line 499 of file Composites.h.

Member Typedef Documentation

◆ Time

typedef UInt64 Time

UTC timestamp with nanosecond precision (Unix Epoch).

Definition at line 506 of file Composites.h.

◆ Unit

typedef IntegralConstant<UInt8, 9> Unit

time unit (nanoseconds).

Definition at line 511 of file Composites.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Size of the composite.

Enumerator
Size 

Definition at line 503 of file Composites.h.

Constructor & Destructor Documentation

◆ UTCTimestampNanos() [1/2]

UTCTimestampNanos ( )
inlinenoexcept

Default constructor.

Initializes fields with zero values.

Definition at line 516 of file Composites.h.

◆ UTCTimestampNanos() [2/2]

UTCTimestampNanos ( Time time)
inlineexplicitnoexcept

Initializes fields with provided values.

Definition at line 524 of file Composites.h.

Member Function Documentation

◆ serialize()

void serialize ( void * addr) const
inlinenoexcept

Serializes to a data buffer.

Definition at line 547 of file Composites.h.

◆ setTime()

void setTime ( Time value)
inlinenoexcept

UTC timestamp with nanosecond precision (Unix Epoch).

Definition at line 564 of file Composites.h.

◆ time()

Time time ( ) const
inlinenoexcept

UTC timestamp with nanosecond precision (Unix Epoch).

Definition at line 557 of file Composites.h.

◆ toString()

std::string toString ( bool skipEmptyFields = false) const
inline
Returns
a human-readable presentation.

Definition at line 3575 of file Serialization.h.

◆ unit()

Unit unit ( ) const
inlinenoexcept

time unit (nanoseconds).

Definition at line 572 of file Composites.h.