B
Bob Falooley
Hi,
It seems like I knew how do do this once, please point me in the
right direction.
I have an array of nodes, which are instances of interface objects for
differant kinds of nodes.
GenericNode
|
|---DataNode
|
|---MetaDataNode
I only want to use nodes of one particular type, so how do I check the
type of an object?
I want to do something that looks like this, but I don't know if a
command like this exists:
interfaceNode myNode = GetRandNode()
if (myNode.isOfType( DataNode ) )
//do something with node of interest
It seems like I knew how do do this once, please point me in the
right direction.
I have an array of nodes, which are instances of interface objects for
differant kinds of nodes.
GenericNode
|
|---DataNode
|
|---MetaDataNode
I only want to use nodes of one particular type, so how do I check the
type of an object?
I want to do something that looks like this, but I don't know if a
command like this exists:
interfaceNode myNode = GetRandNode()
if (myNode.isOfType( DataNode ) )
//do something with node of interest