OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
ReplaySpan Class Reference

Public Member Functions

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

Detailed Description

Definition at line 128 of file Replay.h.

Constructor & Destructor Documentation

◆ ReplaySpan() [1/3]

ReplaySpan ( )
inline

Initializes empty span.

Definition at line 135 of file Replay.h.

◆ ReplaySpan() [2/3]

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

Initializes the instance according to the given bounds.

Definition at line 143 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 153 of file Replay.h.

Member Function Documentation

◆ begin() [1/2]

const Timestamp & begin ( ) const
inline

Indicates the beginning of the range.

Definition at line 178 of file Replay.h.

◆ begin() [2/2]

void begin ( const Timestamp & value)
inline

Updates the beginning of the range.

Definition at line 185 of file Replay.h.

◆ contain()

bool contain ( const Timestamp & timestamp) const
inline

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

Definition at line 169 of file Replay.h.

◆ empty()

bool empty ( ) const
inline

Indicates whether span is empty or not.

Definition at line 161 of file Replay.h.

◆ end() [1/2]

const Timestamp & end ( ) const
inline

Indicates the end of the range.

Definition at line 192 of file Replay.h.

◆ end() [2/2]

void end ( const Timestamp & value)
inline

Indicates the end of the range.

Definition at line 199 of file Replay.h.

◆ operator=()

ReplaySpan & operator= ( const ReplaySpan & other)
inline

Re-initializes as a copy of the other one.

Definition at line 207 of file Replay.h.