//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project
//
//File: highlayercompatibility.h
//
//Version: $Revision: 1.1 $
//
//State: $State: Exp $
//
//Date: $Date: 1999/03/08 06:49:52 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Teemu Tynjälä
//
//Description:
//      Contains the declarations of DSS1 high layer compatibility 
//      information element.  This IE is used for example in interworking
//      when networks must come to agreement as to whether they are 
//      able to work together.  Look in Q.931 pages 89-91
//      
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 


#ifndef __IE_HIGHLAYERCOMPATIBILITY_H__
#define __IE_HIGHLAYERCOMPATIBILITY_H__

#include "informationelement.h"

class ieHighLayerCompatibility : public ieInformationElement
{

  public:
     ieHighLayerCompatibility(pfByte interpretation_,
                              pfByte presentationMethod_,
                              pfByte characteristicsIdent_);
     ieHighLayerCompatibility(const ieHighLayerCompatibility &other_);
     virtual ~ieHighLayerCompatibility(void);
     const ieHighLayerCompatibility& operator=(
                               const ieHighLayerCompatibility &other_);
    
     pfIE* clone(void) const;
     ieHighLayerCompatibility* narrow(pfIE *ie_);

     void setInterpretation(pfByte value_);
     pfByte getInterpretation(void) const;

     void setPresentationMethod(pfByte value_);
     pfByte getPresentationMethod(void) const;
   
     void setCharacteristicsIdent(pfByte value_);
     pfByte getCharacteristicsIdent(void) const;

     void setExtendedCharacteristicsIdent(pfByte value_);
     pfByte getExtendedCharacteristicsIdent(void) const;


  private:
     pfByte _interpretation;
     pfByte _presentationMethod;
     pfByte _characteristicsIdent;
     pfByte _extendedCharacteristicsIdent;

};

#endif // __IE_HIGH_LAYERCOMPATIBILITY_H__






