! @brief Return the NodeType of a generic Node. @details This function allows the actual node type to be interrogated before upcasting the handle to the actual node type (see Upcasting and Downcasting section in Node). @post No visible state is modified. @return The NodeType of a generic Node, which may be one of the following NodeType enumeration values: ::TypeStructure, ::TypeVector, ::TypeCo
| 351 | @see NodeType, upcast/downcast discussion in Node |
| 352 | */ |
| 353 | NodeType Node::type() const |
| 354 | { |
| 355 | return impl_->type(); |
| 356 | } |
| 357 | |
| 358 | /*! |
| 359 | @brief Is this a root node. |
no outgoing calls