OnixS C++ CME MDP Premium Market Data Handler 5.10.3
Users' manual and API documentation
Loading...
Searching...
No Matches
ReplaySpan Class Reference

#include <OnixS/CME/MDH/Replay.h>

Public Member Functions

 ReplaySpan ()
 ReplaySpan (const Messaging::Timestamp &begin, const Messaging::Timestamp &end)
 ReplaySpan (const ReplaySpan &other)
bool empty () const
bool contain (const Messaging::Timestamp &timestamp) const
const Messaging::Timestampbegin () const
void begin (const Messaging::Timestamp &value)
const Messaging::Timestampend () const
void end (const Messaging::Timestamp &value)
ReplaySpanoperator= (const ReplaySpan &other)

Detailed Description

Definition at line 116 of file Replay.h.

Constructor & Destructor Documentation

◆ ReplaySpan() [1/3]

ReplaySpan ( )
inline

Initializes empty span.

Definition at line 120 of file Replay.h.

◆ ReplaySpan() [2/3]

ReplaySpan ( const Messaging::Timestamp & begin,
const Messaging::Timestamp & end )
inline

Initializes the instance according to the given bounds.

Definition at line 128 of file Replay.h.

◆ ReplaySpan() [3/3]

ReplaySpan ( const ReplaySpan & other)
inline

Initializes the instance as a copy of the other one.

Definition at line 136 of file Replay.h.

Member Function Documentation

◆ begin() [1/2]

const Messaging::Timestamp & begin ( ) const
inline

Indicates the beginning of the range.

Definition at line 156 of file Replay.h.

◆ begin() [2/2]

void begin ( const Messaging::Timestamp & value)
inline

Updates the beginning of the range.

Definition at line 162 of file Replay.h.

◆ contain()

bool contain ( const Messaging::Timestamp & timestamp) const
inline

Indicates whether the given timestamp belongs to the given time span.

Definition at line 150 of file Replay.h.

◆ empty()

bool empty ( ) const
inline

Indicates whether span is empty or not.

Definition at line 143 of file Replay.h.

◆ end() [1/2]

const Messaging::Timestamp & end ( ) const
inline

Indicates the end of the range.

Definition at line 168 of file Replay.h.

◆ end() [2/2]

void end ( const Messaging::Timestamp & value)
inline

Indicates the end of the range.

Definition at line 174 of file Replay.h.

◆ operator=()

ReplaySpan & operator= ( const ReplaySpan & other)
inline

Re-initializes as a copy of the other one.

Definition at line 180 of file Replay.h.