pps_decoder_type()

Return the data type of the current or named node

Synopsis:

#include <pps.h>
            
pps_node_type_t pps_decoder_type(pps_decoder_t *decoder,
                                 const char *name);

Arguments:

decoder
A pointer to the PPS decoder structure.
name
The name of the property or attribute to provide the type for. If NULL, the type of the current node is returned.

Library:

libpps

Description:

The function pps_decoder_type() returns the data type of the current node or the node of the given name (if currently with an object). The name "." can be used for the current object or array as a means of determining whether the current node represents an object or an array.

Returns:

The data type of the referenced node. See pps_node_type_t.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes