OnixS C++ B3 BOE Binary Order Entry 1.3.0
API Documentation
Loading...
Searching...
No Matches
UTCTimestampNanos Class Reference

Public Types

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

Public Member Functions

constexpr UTCTimestampNanos () noexcept
constexpr UTCTimestampNanos (Time time) noexcept
std::string toString () const
void serialize (void *addr) const noexcept
Time time () const noexcept
void setTime (Time value) noexcept
Unit unit () const noexcept

Detailed Description

FIX type: UTCTimestamp.

Definition at line 498 of file Composites.h.

Member Typedef Documentation

◆ Time

typedef UInt64 Time

UTC timestamp with nanosecond precision (Unix Epoch).

Definition at line 505 of file Composites.h.

◆ Unit

typedef IntegralConstant<UInt8, 9> Unit

time unit (nanoseconds).

Definition at line 510 of file Composites.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Size of the composite.

Enumerator
Size 

Definition at line 502 of file Composites.h.

Constructor & Destructor Documentation

◆ UTCTimestampNanos() [1/2]

UTCTimestampNanos ( )
inlineconstexprnoexcept

Default constructor.

Initializes fields with zero values.

Definition at line 516 of file Composites.h.

◆ UTCTimestampNanos() [2/2]

UTCTimestampNanos ( Time time)
inlineexplicitconstexprnoexcept

Initializes fields with provided values.

Definition at line 525 of file Composites.h.

Member Function Documentation

◆ serialize()

void serialize ( void * addr) const
inlinenoexcept

Serializes to a data buffer.

Definition at line 546 of file Composites.h.

◆ setTime()

void setTime ( Time value)
inlinenoexcept

UTC timestamp with nanosecond precision (Unix Epoch).

Definition at line 563 of file Composites.h.

◆ time()

Time time ( ) const
inlinenoexcept

UTC timestamp with nanosecond precision (Unix Epoch).

Definition at line 556 of file Composites.h.

◆ toString()

std::string toString ( ) const
inline
Returns
a human-readable presentation.

Definition at line 3190 of file Serialization.h.

◆ unit()

Unit unit ( ) const
inlinenoexcept

time unit (nanoseconds).

Definition at line 571 of file Composites.h.