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

#include <p6kmipencoder.h>

Public Attributes

P6NCSTR xName
 
P6UINT32 xType
 
union {
   P6BSTR   vBigInt
 
   P6BOOL   vBool
 
   P6BCSTR   vByte
 
   P6TIME   vDate
 
   P6INT32   vInt
 
   P6UINT32   vInterval
 
   P6INT64   vLong
 
   P6NCSTR   vText
 
   P6NCSTR   vTextStruct
 
xValue
 

Detailed Description

P6KMIP_XATTRIB attribute.

Allows the caller to define an "X-" (extension) attribute name (i.e., one not defined in the KMIP standard). The type of the attribute value is defined as one of the supported types { integer (vInt), long integer (vLong), big integer (vBigInt), boolean (vBool), text string (vText), byte string (vByte), date time (vDate), interval (vInterval), text string structure (vTextStruct) }

xName - the string name of an extension attribute xValue - the value of the attribute extension xType - type of the xValue, see Section Section 9.1.1.2 Item Type in p6kmip.h for valid values, a value of zero means that no value is included with xName. A special value of 0x80000001 selects the vTextStruct value which is used to generate the structure version of a Name text string. Most applications will not need this encoding.

Definition at line 240 of file p6kmipencoder.h.


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