#include <p6kmipdecoder.h>
Returns the value of the current KMIP element if its a primitive type
Note that the following fields: { bigIntegerType, textStringType, binaryStringType }, require that the caller preset the P6BSTR structure values to valid buffers of the required size. This size is always returned as a result of a p6IKMIPStructure::next() call.
type - see Section 9.1.1.2 in p6kmip.h, Item Type indicates which union element is used {1..}, 0 means no value set structureType - item 1, empty placeholder integerType - item 2, are encoded as 32 bit binary signed numbers in 2's complement notation longIntegerType - item 3, are encoded as 64 bit binary signed numbers in 2's complement notation bigIntegerType - item 4, enumerationType - item 5, are encoded as 32 bit binary unsigned numbers booleanType - item 6, textStringType - item 7, binaryStringType - item 8, dateTimeType - item 9, intervalType - item 10, are encoded as 32 bit binary signed numbers in 2's complement notation
Definition at line 68 of file p6kmipdecoder.h.