Add missing is_a(PVStructurePtr) implementations
This commit is contained in:
@@ -124,6 +124,11 @@ bool NTAttribute::is_a(StructureConstPtr const & structure)
|
||||
return NTUtils::is_a(structure->getID(), URI);
|
||||
}
|
||||
|
||||
bool NTAttribute::is_a(PVStructurePtr const & pvStructure)
|
||||
{
|
||||
return is_a(pvStructure->getStructure());
|
||||
}
|
||||
|
||||
bool NTAttribute::isCompatible(StructureConstPtr const & structure)
|
||||
{
|
||||
if (structure.get() == 0) return false;
|
||||
|
||||
Reference in New Issue
Block a user