Property::ValidNode
Defined in:
Returns a boolean value indicating whether a property can be assigned to a particular node.
C4Properties.h
Prototype
static bool ValidNode(const Node *node);
Description
The ValidNode
function should be redefined by property subclasses. Its implementation should examine the node pointed to by the node
parameter and return true
if the property type can be used with the node. If the property type cannot be used, the ValidNode
function should return false
. If the ValidNode
function is not redefined for a registered subclass of the Property
class, then that property type can be assigned to any node.