Dear all,
In PVXS, when iterating over the tree structure of pvxs::Value with the approach similar to top() method in the following link,
https://github.com/mdavidsaver/pvxs/blob/master/src/datafmt.cpp
is it possible to know if the current field is the last node of the parent struct with pvxs::impl::FieldDesc or pvxs::impl::FieldStorage?
For example, I am wondering how to check "message" field is the last node of struct "alarm_t" when iterating.
struct "alarm_t" {
int32_t severity = 2
int32_t status = 1
string message = "HIHI"
} alarm
Thanks,
Lin
- Replies:
- Re: Is it possible to know if current field is the last node of parent struct in PVXS Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
Re:Re: Re:Re: Re:Re: Re:Re: Re:Re: some motor driver 3 questions lynn via Tech-talk
- Next:
PVA Gateway SegFault when pvcall (or eget) is used as a client Murray, Doug via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
<2023>
2024
- Navigate by Thread:
- Prev:
Re: setInteger64Param Gofron, Kazimierz via Tech-talk
- Next:
Re: Is it possible to know if current field is the last node of parent struct in PVXS Michael Davidsaver via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
<2023>
2024
|