TOC PREV NEXT INDEX


Generated C++ Encode Method Format and Calling Parameters



Generated encode functions are invoked through the class interface by calling the base class Encode method. The calling sequence for this method is as follows:

    stat = <object>.Encode (); 
 

In this definition, <object> is an object of the class generated for the given production. The function result variable stat returns the status value from the PER encode function. This status value will be 0 (0) if encoding was successful or a negative error status value if encoding fails. Return status values are defined in the "asn1type.h" include file.

The user must call the encode buffer class methods getMsgPtr and getMsgLen to obtain the starting address and length of the encoded message component.



Objective Systems, Inc.

55 Dowlin Forge Road
Exton, Pennsylvania 19341
http://www.obj-sys.com
Phone: (484) 875-9841
Toll-free: (877) 307-6855 (US only)
Fax: (484) 875-9830
info@obj-sys.com
TOC PREV NEXT INDEX