OnixS C++ CME MDP Premium Market Data Handler  5.8.3
API Documentation
ReplaySpan Class Reference

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

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 105 of file Replay.h.

Constructor & Destructor Documentation

ReplaySpan ( )
inline

Initializes empty span.

Definition at line 109 of file Replay.h.

ReplaySpan ( const Timestamp begin,
const Timestamp end 
)
inline

Initializes the instance according to the given bounds.

Definition at line 117 of file Replay.h.

ReplaySpan ( const ReplaySpan other)
inline

Initializes the instance as a copy of the other one.

Definition at line 125 of file Replay.h.

Member Function Documentation

const Timestamp& begin ( ) const
inline

Indicates the beginning of the range.

Definition at line 145 of file Replay.h.

void begin ( const Timestamp value)
inline

Updates the beginning of the range.

Definition at line 151 of file Replay.h.

bool contain ( const Timestamp timestamp) const
inline

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

Definition at line 139 of file Replay.h.

bool empty ( ) const
inline

Indicates whether span is empty or not.

Definition at line 132 of file Replay.h.

const Timestamp& end ( ) const
inline

Indicates the end of the range.

Definition at line 157 of file Replay.h.

void end ( const Timestamp value)
inline

Indicates the end of the range.

Definition at line 163 of file Replay.h.

ReplaySpan& operator= ( const ReplaySpan other)
inline

Re-initializes as a copy of the other one.

Definition at line 169 of file Replay.h.


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