首页>
外国专利>
Data structure and method for dynamic type resolution using object- oriented programming language representation of information object sets
Data structure and method for dynamic type resolution using object- oriented programming language representation of information object sets
展开▼
机译:使用信息对象集的面向对象编程语言表示进行动态类型解析的数据结构和方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
A data structure and method for dynamic type resolution in mapping abstract syntax notation (ASN.1) onto an object-oriented programming language (C++). For each information object class in ASN.1, two C++ classes are generating, a "set class" that models information object sets in that ASN.1 class, and a "class class" that models information objects in that ASN.1 class. For each information object set in an ASN.1 module class, a C++ data member is defined and a virtual resolve method is generated that may be invoked during the decoding process to permit dynamic extension of each information object set. A coder environment is provided in C++ that has pointers to instances of the various C++ module classes, enabling selective control of the type resolution information presented to the decoder.
展开▼
机译:在将抽象语法符号(ASN.1)映射到面向对象的编程语言(C ++)上用于动态类型解析的数据结构和方法。对于ASN.1中的每个信息对象类,将生成两个C ++类,一个“集合类”用于对ASN.1类中的信息对象集进行建模,而一个“类类”用于对ASN.1类中的信息对象进行建模。对于ASN.1模块类中的每个信息对象集,都定义了C ++数据成员,并生成了虚拟解析方法,该方法可以在解码过程中调用以允许动态扩展每个信息对象集。 C ++中提供了一种编码器环境,该环境具有指向各种C ++模块类的实例的指针,从而可以选择性地控制提供给解码器的类型解析信息。
展开▼