/**
 * This file was generated by the Objective Systems ASN1C Compiler
 * (http://www.obj-sys.com).  Version: 5.50, Date: 30-May-2003.
 */
#ifndef ASN1EXTERNALPER_H
#define ASN1EXTERNALPER_H

#include <stdio.h>
#include <stdlib.h>
#include "asn1PerCppTypes.h"
#include "asn1External.h"

/**************************************************************/
/*                                                            */
/*  External_encoding                                         */
/*                                                            */
/**************************************************************/


class EXTERNPER ASN1C_PERExternal_encoding :
   public ASN1C_External_encoding
{
protected:
public:
   ASN1C_PERExternal_encoding (ASN1T_External_encoding& data);
   ASN1C_PERExternal_encoding (
      ASN1MessageBufferIF& msgBuf, ASN1T_External_encoding& data);

   // standard encode/decode methods (defined in ASN1CType base class):
   // int Encode ();
   // int Decode ();

   // stream encode/decode methods:
   int EncodeTo (ASN1MessageBufferIF& msgBuf);
   int DecodeFrom (ASN1MessageBufferIF& msgBuf);

} ;

EXTERNPER int asn1PE_External_encoding (ASN1CTXT* pctxt, ASN1T_External_encoding* pvalue);

EXTERNPER int asn1PD_External_encoding (ASN1CTXT* pctxt, ASN1T_External_encoding* pvalue);

/**************************************************************/
/*                                                            */
/*  External                                                  */
/*                                                            */
/**************************************************************/


class EXTERNPER ASN1C_PERExternal :
   public ASN1C_External
{
protected:
public:
   ASN1C_PERExternal (ASN1T_External& data);
   ASN1C_PERExternal (
      ASN1MessageBufferIF& msgBuf, ASN1T_External& data);

   // standard encode/decode methods (defined in ASN1CType base class):
   // int Encode ();
   // int Decode ();

   // stream encode/decode methods:
   int EncodeTo (ASN1MessageBufferIF& msgBuf);
   int DecodeFrom (ASN1MessageBufferIF& msgBuf);

} ;

EXTERNPER int asn1PE_External (ASN1CTXT* pctxt, ASN1T_External* pvalue);

EXTERNPER int asn1PD_External (ASN1CTXT* pctxt, ASN1T_External* pvalue);

#endif
