Template Function testFieldEqual(const std::tr1::shared_ptr<const epics::pvData::PVStructure>&, const char *, typename PVD::value_type)

Function Documentation

template<typename PVD>
::detail::testPassx testFieldEqual(const std::tr1::shared_ptr<const epics::pvData::PVStructure> &val, const char *name, typename PVD::value_type expect)

Compare value of PVStructure field

PVStructurePtr x(.....);
testFieldEqual<epics::pvData::PVInt>(x, "alarm.severity", 1);