Comparisons – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 119

Advertising
background image

Methods of the IGCVal Class

Classes of the C++ Interface

CATC IBTrainer InfiniBand Exerciser API Reference

2-97

Comparisons

ig_bool operator == (const int val) const;

ig_bool operator == (const ig_int8 val) const;

ig_bool operator == (const ig_int16 val) const;

ig_bool operator == (const ig_int32 val) const;

ig_bool operator == (const IGCUIntX & val) const;

ig_bool operator == (const ig_bool val) const;

ig_bool operator == (const IGCString & val) const;

ig_bool operator == (ig_charcptr pString) const;

ig_bool operator == (const IGCVal & val) const;

Comparisons

ig_bool
True or false for equal or not equal.

val
The respective parameter values are:
integer,
8-bit integer,
16-bit integer,
32-bit integer and so on.

pString

A

pointer to a char buffer (ig_charcptr is type defined as const char *).

Comparison returns true if either the string in IGCVal is equal to the one
in pString, or the string representation of the value is equal to pString.
Use with caution!

None

Calls

Description

Return Value

Input Parameters

See also

Advertising