CBOE Emulator  1.0
Public Member Functions | Public Attributes | Friends | List of all members
DataFeed::Messages::EndOfSession Struct Reference

A message that indicates the end of a trading session. More...

#include <messages.hpp>

Public Member Functions

 EndOfSession (SequenceNumber sequence=0, TimeStamp time=0)
 Initialize a new end of session message. More...
 
std::string to_string () const
 Convert the object to an STL string. More...
 

Public Attributes

const Header header
 the message header that defines the template ID and length of message
 

Friends

std::ostream & operator<< (std::ostream &stream, const EndOfSession &message)
 Write the data from the message to a stream. More...
 

Detailed Description

A message that indicates the end of a trading session.

End of Session Message

Constructor & Destructor Documentation

◆ EndOfSession()

DataFeed::Messages::EndOfSession::EndOfSession ( SequenceNumber  sequence = 0,
TimeStamp  time = 0 
)
inline

Initialize a new end of session message.

Parameters
sequencethe sequence number for the message
timethe time for the message

Member Function Documentation

◆ to_string()

std::string DataFeed::Messages::EndOfSession::to_string ( ) const
inline

Convert the object to an STL string.

Returns
a string representation of the object

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const EndOfSession message 
)
friend

Write the data from the message to a stream.

Parameters
streamthe stream to write the data to
messagethe message to write to the stream
Returns
the stream with data from the message written to it

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