OnixS C++ B3 BOE Binary Order Entry  1.2.0
API Documentation
UTCTimestampNanos Class Reference

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

Public Types

enum  { Size = 8 }
 
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

typedef UInt64 Time

UTC timestamp with nanosecond precision (Unix Epoch).

Definition at line 505 of file Composites.h.

typedef IntegralConstant<UInt8, 9> Unit

time unit (nanoseconds).

Definition at line 510 of file Composites.h.

Member Enumeration Documentation

anonymous enum

Size of the composite.

Enumerator
Size 

Definition at line 502 of file Composites.h.

Constructor & Destructor Documentation

constexpr UTCTimestampNanos ( )
inlinenoexcept

Default constructor.

Initializes fields with zero values.

Definition at line 516 of file Composites.h.

constexpr UTCTimestampNanos ( Time  time)
inlineexplicitnoexcept

Initializes fields with provided values.

Definition at line 525 of file Composites.h.

Member Function Documentation

void serialize ( void *  addr) const
inlinenoexcept

Serializes to a data buffer.

Definition at line 546 of file Composites.h.

void setTime ( Time  value)
inlinenoexcept

UTC timestamp with nanosecond precision (Unix Epoch).

Definition at line 563 of file Composites.h.

Time time ( ) const
inlinenoexcept

UTC timestamp with nanosecond precision (Unix Epoch).

Definition at line 556 of file Composites.h.

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

Definition at line 3073 of file Serialization.h.

Unit unit ( ) const
inlinenoexcept

time unit (nanoseconds).

Definition at line 571 of file Composites.h.


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