XBinder  Version 2.6.x
Functions
rtxGenValueType.h File Reference

Implementation of a generic value type for encoding and decoding values without schema. More...

#include "rtxsrc/rtxContext.h"

Go to the source code of this file.

Functions

EXTERNRT int rtxGenValueCompare (OSCTXT *pctxt, const OSRTGenValue *pvalue1, const OSRTGenValue *pvalue2)
 This function compares two generic values for equality. More...
 
EXTERNRT const char * rtxGenValueGetIdent (OSRTDataType id)
 This function returns a textual identifier for the given enumerated value type. More...
 

Detailed Description

Implementation of a generic value type for encoding and decoding values without schema.

Definition in file rtxGenValueType.h.

Function Documentation

◆ rtxGenValueCompare()

EXTERNRT int rtxGenValueCompare ( OSCTXT pctxt,
const OSRTGenValue *  pvalue1,
const OSRTGenValue *  pvalue2 
)

This function compares two generic values for equality.

Information on values in the structure that are not equal are returned on the error list within the context.

Parameters
pctxtPointer to a context structure.
pvalue1Pointer to first value to compare.
pvalue2Pointer to second value to compare.
Returns
Status of the comparison operation. A negative value indicates the values are not equal. Printing the error results using rtxErrPrint or equivalent will show the specific items that don't match.

◆ rtxGenValueGetIdent()

EXTERNRT const char* rtxGenValueGetIdent ( OSRTDataType  id)

This function returns a textual identifier for the given enumerated value type.

Parameters
idEnumerated data type identifier (OSRTDataType)
Returns
Textual identifier for id or '<unknown>'