VideoCaptureDeviceItem::operator== Method

Checks whether two video capture devices are identical.
Syntax:
bool operator==( const VideoCaptureDeviceItem& op2 ) const;
bool operator==( const std::string& string ) const;
bool operator==( const int64_t& serial ) const;

Parameter Description
op2

A video capture device with which to compare.

string

A pointer to a string with which the name of the video capture device should be compared.

serial

A serial number with which the serial number of this video capture device should be compared.

Return value:

true, if both operands are identical, false if they differ.

See also: VideoCaptureDeviceItem

<< VideoCaptureDeviceItem