📄 recordnames.txt
字号:
For each ASN1 types SET and SEQUENCE a record is generated in the .hrlfile with the same name as the corresponding type.A decoded value is also returned as a record with the apropriate name.An internally defined type as the type in component 'a' in thefollowing example will result in a record with name 'Seq_a':Seq ::= SEQUENCE{ a SEQUENCE{ b INTEGER }}For each further internally defined type in a SET/SEQUENCE a'_componentname' is added.If an internally defined type is an CHOICE alternative the record namewill get the alternative name as a unique part of the name.Seq ::= SEQUENCE{ a CHOICE{ b SEQUENCE { c INTEGER } }}This will produece a record 'Seq_a_b'.If an component is a SEQUENCE OF a SEQUENCE as in:Seq ::= SEQUENCE { a SEQUENCE OF SEQUENCE { b } c SET OF SEQUENCE { d }}There will be a record 'Seq_a_SEQOF' and 'Seq_c_SETOF'A parameterized type should be considered as an internally definedtype. Each time a such type is referenced an instance of it isdefined. Thus in the following example a record 'Seq_b' is generatedin .hrl and used in .erl by decode.Seq ::= SEQUENCE { b PType{INTEGER}}PType{T} ::= SEQUENCE{ id T}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -