Add missing is_a(PVStructurePtr) implementations

This commit is contained in:
Dave Hickin
2016-04-12 03:19:42 +01:00
parent 8794d5b6c0
commit ff4b88754f
16 changed files with 79 additions and 0 deletions

View File

@@ -133,6 +133,11 @@ bool NTMatrix::is_a(StructureConstPtr const & structure)
return NTUtils::is_a(structure->getID(), URI);
}
bool NTMatrix::is_a(PVStructurePtr const & pvStructure)
{
return is_a(pvStructure->getStructure());
}
bool NTMatrix::isCompatible(StructureConstPtr const & structure)
{
if (structure.get() == 0) return false;