XER Class Definition

For the XML encoding rules (XER), the generated class definition is as follows:

   class ASN1C_<name> :
     public ASN1CType
   {

     protected:
        ASN1T_<name>& msgData;
        ... additional control variables
     public:
        ASN1C_<name> (ASN1T_<name>& data);
        ASN1C_<name> (
           ASN1MessageBufferIF& msgBuf, ASN1T_<name>& 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);

   } ;