Support for anytype [message #1721708] |
Fri, 29 January 2016 06:22  |
Eclipse User |
|
|
|
Hi,
I'm getting the following error:
error: Reference to non-existent field `RESET_PDU' in union template for type `@RLC_wk37.anytype'
for the following template:
template RLC_TR_TestDataInd car_ResetInd(template SS_RB_Identity p_RB_Id, template RESET_PDU p_Reset) :=
{
cellId := tsc_CellDedicated,
rB_Id := p_RB_Id,
data := {RESET_PDU := p_Reset}
}
with
{
optional "implicit omit"
}
The definition of the type RLC_TR_TestDataInd and other types are:
type anytype PDU;
type record RESET_PDU
{
DC_Field dC_Field optional,
CtrlPDU_Type type_ optional,
RSN rsn optional,
bitstring reserved length (3) optional,
HFNI hfni optional,
Padding padding optional
}
type record RLC_TR_TestDataInd
{
integer cellId optional,
SS_RB_Identity rB_Id optional,
PDU data optional
}
The TTCN-3 spec says,
Quote:The special type anytype is defined as a shorthand for the union of all known data types and the address type in a
TTCN-3 module.
So this should not give error, right?
Is the data type `anytype` not supported by Titan or is there something wrong with the ttcn script?
Thanks
Murli
[Updated on: Fri, 29 January 2016 06:23] by Moderator
|
|
|
|
|
Re: Support for anytype [message #1726649 is a reply to message #1726642] |
Tue, 15 March 2016 07:04  |
Eclipse User |
|
|
|
Hi Naum,
we have no such plan; run-time processing of an all-comprehensive anytype (versus the solution proposed by us)
takes too much toll on resources and slows down execution to a degree we thought unacceptable.
One usage of Titan we always had in mind while adding features was that of a load generator; it may not be apparent, but
the most important application area of Titan today within our company is performance testing.
Best regards
Elemer
|
|
|
Powered by
FUDForum. Page generated in 0.21052 seconds