Hi
  I found that information object class supported inheritance in Module 
MHSDirectoryObjectsAndAttributes (X.402:06/1999)
(http://www.itu.int/ITU-T/asn1/database/itu-t/x/x402/1999/MHSDirectoryObjectsAndAttributes.html)who
 can interpret that to me,thank you.



        

======= 2002-09-30 22:40:00 �������������=======

>Hi,
>
>Information Object Classes are not exactly like the classes of object
>oriented languages. These don't support inheritance, or any static members.
>However, you can define functions using information object classes (This
>also is not like methods in C++ or Java classes)
>
>For example,
>
>FUNCTION ::= CLASS {
>    &Type,
>    &ResultType    DEFAULT NULL,
>    &code          INTEGER UNIQUE
>}
>
>Then you can have information objects of above class just like functions.
>
>add FUNCTION ::= {
>    &Type SEQUENCE { first INTEGER, second INTEGER },
>    &ResultType INTEGER,
>    &code       1
>}
>
>multiply FUNCTION ::= {
>    &Type SEQUENCE { first INTEGER, second INTEGER },
>    &ResultType INTEGER,
>    &code       2
>}
>
>....
>....
>
>You can get more information about this from lot of places on the web.
>www.oss.com has two ASN.1 books available for free download, which contain
>very good info about Information Object Classes.
>
>Rajul
>
>----- Original Message -----
>From: "chuchun" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, September 27, 2002 9:11 PM
>Subject: [ASN.1] the problem about information object class of ASN.1
>
>
>> I want to define object with ASN.1,but I am not sure whether information
>object class can define object oriented.say,can information object class
>show inheritance and contain static property and function? Thank you .
>>
>> ����������������chuchun
>> ����������������[EMAIL PROTECTED]
>> ��������������������2002-09-28
>>
>>
>>
>>
>>

= = = = = = = = = = = = = = = = = = = =
                        

������������������
��
 
                                 
����������������chuchun
����������������[EMAIL PROTECTED]
��������������������2002-10-08




Reply via email to