//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / IE
//
//File: transitnetworkselection.h
//
//Version: $Revision: 1.8 $
//
//State: $State: Exp $
//
//Date: $Date: 1999/02/10 14:13:35 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Sami Raatikainen
//      Timo Kokkonen
//
//Description:
//      BISUP: Transit Network Selection
//      UNI: Transit Network Selection
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History: 
//

#ifndef __IE_TRANSITNETWORKSELECTION_H__
#define __IE_TRANSITNETWORKSELECTION_H__

#include "informationelement.h"

class ieTransitNetworkSelection : public ieInformationElement
{
    public:
        ieTransitNetworkSelection(void);
        ieTransitNetworkSelection(const ieTransitNetworkSelection &other_);
        virtual ~ieTransitNetworkSelection(void);
        const ieTransitNetworkSelection &operator=(
            const ieTransitNetworkSelection &other_);

        pfIE *clone(void) const;
        static ieTransitNetworkSelection* narrow(pfIE *ie_);

        enum networkType
        {
            CCITT = B0000_0000,
            national = B0000_0010
        };
        enum CCITTplan
        {
            unknown = B0000_0000,
            PDNIC = B0000_0011,
            PMNIC = B0000_0110
        };

        void setNetworkIdentification(string value_);
        string getNetworkIdentification(void) const;
        
        void setType(networkType type_);
        networkType getType(void) const;
        void setPlan(pfByte type_);
        pfByte getPlan(void) const;
        
    private:
        string _networkId;
        networkType _type;
        pfByte _plan;
};

#endif // __IE_TRANSITNETWORKSELECTION_H__

