Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Cross level indicates whether the optional field exists(Cross level indicates whether the optional field exists)
Cross level indicates whether the optional field exists [message #1854191] Fri, 05 August 2022 09:56 Go to next message
lou ban is currently offline lou banFriend
Messages: 17
Registered: June 2020
Junior Member
Excuse everyone, there is a problem bothering me

type union A
{
    B    b,
    C    c
}

type record B
{
    B8_T    iei,
    D       b_d
}

type record C
{
    B8_T    iei,
    D       c_d
}

type record D
{
    B8_T    d_f1,
    O4_T    d_f2    optional
}


in type A
if iei = '00000000'B, is B
if iei = '00000001'B, is C

in type D
if it is type B, the d_f2 is PRESENCE
if it is type C, the d_f2 is not PRESENCE

how do I configure whether d_f2 exists or not??

Re: Cross level indicates whether the optional field exists [message #1854200 is a reply to message #1854191] Sat, 06 August 2022 01:27 Go to previous message
lou ban is currently offline lou banFriend
Messages: 17
Registered: June 2020
Junior Member
I know what to do
excuse me
Previous Topic:error: `@SBC-AP-Containers.ProtocolIE-Container' is a parameterized type assignment"
Next Topic:Abstract syntax tree of ttcn
Goto Forum:
  


Current Time: Wed Oct 09 14:17:04 GMT 2024

Powered by FUDForum. Page generated in 0.04294 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top