Discussion Forums

Re: Template Initial Value and Dictionary
Rolf Andersson / Pantor Engineering
21 Jun 2009 5:34AM ET

Mike,

yes, that's correct.

Section 6.3 states:
"All values are in the state undefined when processing starts." and
"A dictionary can be explicitly reset. Resetting a dictionary will set the state of all its entries to undefined."

Regarding a field with a copy operator, section 6.3.5 states:
"When the value is not present in the stream there are three cases depending on the state of the previous value:
...
- undefined – the value of the field is the initial value that also becomes the new previous value.
..."

/Rolf

> Thanks for your prompt reply. I read that section and took it to mean
> that for a dictionary reset, or a new UDP packet arrival, the state of
> each field in the dictionary should be set to UNDEFINED even though
> initial values are specified in the template? I was getting mixed
> messages after reading a number of posts on the forum.
>
> Mike


Template Initial Value and Dictionary
Mike Srdanovic   20 Jun 2009 11:37PM ET
Re: Template Initial Value and Dictionary
Rolf Andersson / Pantor Engineering   21 Jun 2009 2:25AM ET
Re: Template Initial Value and Dictionary
Mike Srdanovic   21 Jun 2009 5:05AM ET
Re: Template Initial Value and Dictionary
Rolf Andersson / Pantor Engineering   21 Jun 2009 5:34AM ET