Writefile, Savefile – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 107

Advertising
background image

Methods of the IGCBuffer Class

Classes of the C++ Interface

CATC IBTrainer InfiniBand Exerciser API Reference

2-85

WriteFile

void WriteFile ( const char * filename );

Writes the content of a buffer to a file. This deletes the contents of the
buffer.

None

filename

The file to be written.

None

SaveFile

void SaveFile ( const char * filename );

Saves the content of a buffer to a file without emptying the buffer.

None

filename

The file to be saved.

None

Cmp

int Cmp ( IGCBuffer & cmpBuffer ) const;

Compares two buffers byte-wise.

Returns 0 if the buffers are equal, otherwise returns -1 or 1.

cmpBuffer

The buffer to compare.

Call

Description

Return Value

Input Parameters

See also

Call

Description

Return Value

Input Parameters

See also

Call

Description

Return Value

Input Parameters

Advertising