REAL
The ASN.1 REAL type is converted to a Java class that extends the Asn1Real run-time class. This base class encapsulates the following public member variable:
public double value;This is where the real value to be encoded is stored. It also contains the result of a decode operation. Since it is public, it can be accessed directly to get or set the value. The generated constructors can also be used to set the value.
<name> ::= REALpublic class <name> extends Asn1Real { public <name> () { super(); } public <name> (double value_) { super (value_); } }
Objective Systems, Inc.102 Pickering Way, Suite #506Exton, 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 |