OpenMAMA
Wombat::MamdaOptionContractSet Class Reference

A class that represents a set of option contracts at a given strike price. More...

#include <MamdaOptionContractSet.h>

Inheritance diagram for Wombat::MamdaOptionContractSet:
map

Public Member Functions

 MamdaOptionContractSet ()
 ~MamdaOptionContractSet ()
void setBboContract (MamdaOptionContract *contract)
 Set the contract for the best bid and offer.
void setWombatBboContract (MamdaOptionContract *contract)
 Set the contract for the best bid and offer, as calculated by NYSE Technologies.
void setExchangeContract (const char *exchange, MamdaOptionContract *contract)
 Set the contract for the particular exchange.
MamdaOptionContract * getBboContract () const
 Return the contract for the best bid and offer.
MamdaOptionContract * getWombatBboContract () const
 Return the contract for the best bid and offer, as calculated by NYSE Technologies.
MamdaOptionContract * getExchangeContract (const char *exchange) const
 Return the contract for the particular exchange.

Detailed Description

A class that represents a set of option contracts at a given strike price.

Constructor & Destructor Documentation

Wombat::MamdaOptionContractSet::MamdaOptionContractSet ( )
Wombat::MamdaOptionContractSet::~MamdaOptionContractSet ( )

Member Function Documentation

void Wombat::MamdaOptionContractSet::setBboContract ( MamdaOptionContract *  contract)

Set the contract for the best bid and offer.

void Wombat::MamdaOptionContractSet::setWombatBboContract ( MamdaOptionContract *  contract)

Set the contract for the best bid and offer, as calculated by NYSE Technologies.

void Wombat::MamdaOptionContractSet::setExchangeContract ( const char *  exchange,
MamdaOptionContract *  contract 
)

Set the contract for the particular exchange.

MamdaOptionContract* Wombat::MamdaOptionContractSet::getBboContract ( ) const

Return the contract for the best bid and offer.

MamdaOptionContract* Wombat::MamdaOptionContractSet::getWombatBboContract ( ) const

Return the contract for the best bid and offer, as calculated by NYSE Technologies.

MamdaOptionContract* Wombat::MamdaOptionContractSet::getExchangeContract ( const char *  exchange) const

Return the contract for the particular exchange.


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


© 2012 Linux Foundation