//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / IE
//
//File: cause.h
//
//Version: $Revision: 1.8 $
//
//State: $State: Exp $
//
//Date: $Date: 1999/03/11 10:30:37 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Sami Raatikainen
//      Timo Kokkonen
//
//Description:
//      Based on Q.850.
//      Diagnostics not used with SCOMS.
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 
//

#ifndef __IE_CAUSE_H__
#define __IE_CAUSE_H__

#include "informationelement.h"

class ieCause : public ieInformationElement
{
    public:
        ieCause(pfUlong value_, pfUlong location_ = B0000_0000);
        ieCause(const ieCause &other_);
        virtual ~ieCause(void);
        const ieCause &operator=(const ieCause &other_);
        
        pfIE *clone(void) const;
        ieCause* narrow(pfIE *ie_);
        
        void setCauseValue(pfUlong value_);
        pfUlong getCauseValue(void) const;
        void setLocation(pfUlong value_);
        pfUlong getLocation(void) const;
        
    private:
        pfUlong _causeValue;
        pfUlong _location;
};

#endif // __IE_CAUSE_H__
