Classes Files

mamda/MamdaTradeCorrection.h

Namespaces

Name
Wombat

Classes

  Name
class Wombat::MamdaTradeCorrection

Source code

/* $Id$
 *
 * OpenMAMA: The open middleware agnostic messaging API
 * Copyright (C) 2011 NYSE Technologies, Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA
 */

#ifndef MamdaTradeCorrectionH
#define MamdaTradeCorrectionH

#include <mamda/MamdaConfig.h>
#include <mamda/MamdaBasicEvent.h>
#include <mamda/MamdaFieldState.h>

namespace Wombat
{

    class MAMDAExpDLL MamdaTradeCorrection : public MamdaBasicEvent
    {
    public:

        virtual mama_seqnum_t  getOrigSeqNum() const = 0;

        virtual MamdaFieldState  getOrigSeqNumFieldState() const = 0;

        virtual const MamaPrice&  getOrigPrice() const = 0;

        virtual MamdaFieldState  getOrigPriceFieldState() const = 0;

        virtual mama_quantity_t  getOrigVolume() const = 0;

        virtual MamdaFieldState getOrigVolumeFieldState() const = 0;

        virtual const char*  getOrigPartId() const = 0;

        virtual MamdaFieldState  getOrigPartIdFieldState() const = 0;

        virtual const char*  getOrigQual() const = 0;

        virtual MamdaFieldState  getOrigQualFieldState() const = 0;

        virtual const char*  getOrigQualNative() const = 0;

        virtual MamdaFieldState  getOrigQualNativeFieldState() const = 0;

        virtual mama_u32_t  getOrigSellersSaleDays() const = 0;

        virtual MamdaFieldState  getOrigSellersSaleDaysFieldState() const = 0;

        virtual char  getOrigStopStock() const = 0;

        virtual MamdaFieldState  getOrigStopStockFieldState() const = 0;
        
        virtual const char*  getCorrTradeId() const = 0;
        
        virtual MamdaFieldState  getCorrTradeIdFieldState() const = 0;
        
        virtual const MamaPrice&  getCorrPrice() const = 0;

        virtual MamdaFieldState  getCorrPriceFieldState() const = 0;

        virtual mama_quantity_t  getCorrVolume() const = 0;

        virtual MamdaFieldState  getCorrVolumeFieldState() const = 0;

        virtual const char*  getCorrPartId() const = 0;

        virtual MamdaFieldState  getCorrPartIdFieldState() const = 0;

        virtual const char*  getCorrQual() const = 0;

        virtual MamdaFieldState  getCorrQualFieldState() const = 0;

        virtual const char*  getCorrQualNative() const = 0;

        virtual MamdaFieldState  getCorrQualNativeFieldState() const = 0;

        virtual mama_u32_t  getCorrSellersSaleDays() const = 0;

        virtual MamdaFieldState  getCorrSellersSaleDaysFieldState() const = 0;

        virtual char  getCorrStopStock() const = 0;

        virtual MamdaFieldState  getCorrStopStockFieldState() const = 0;

        virtual const char*  getTradeQual() const = 0;

        virtual MamdaFieldState  getTradeQualFieldState() const = 0;

        virtual bool  getIsIrregular() const = 0;

        virtual MamdaFieldState  getIsIrregularFieldState() const = 0;

        // Used by some feeds to indicate that a cancel or correction was for an unknown trade
        virtual bool             getGenericFlag()           const = 0;
        virtual MamdaFieldState  getGenericFlagFieldState() const = 0;

        virtual const char*      getOrigTradeId()           const = 0;
        virtual MamdaFieldState  getOrigTradeIdFieldState() const = 0;

        virtual char  getCorrShortSaleCircuitBreaker() const = 0;

        virtual MamdaFieldState  getCorrShortSaleCircuitBreakerFieldState() const = 0;

        virtual ~MamdaTradeCorrection() {};
    };

}

#endif // MamdaTradeCorrectionH

Updated on 2023-03-31 at 15:30:00 +0100