Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::P6KMIP_PRIMITIVE Struct Reference

#include <p6kmipdecoder.h>

Public Attributes

P6UINT32 type
 
union {
   P6BSTR   bigIntegerType
 
   P6BSTR   binaryStringType
 
   P6BOOL   booleanType
 
   P6TIME   dateTimeType
 
   P6UINT32   enumerationType
 
   P6INT32   integerType
 
   P6UINT32   intervalType
 
   P6INT64   longIntegerType
 
   P6UINT8   structureType
 
   P6BSTR   textStringType
 
value
 

Detailed Description

P6KMIP_PRIMITIVE.

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.


The documentation for this struct was generated from the following file: