VideoCaptureDeviceItem::operator< Method

Compares the name of the video capture device with the name of another one.
Syntax:
bool operator<( const VideoCaptureDeviceItem& op ) const;
Parameter Description
op

A video capture device with which to compare.

Return value:

true, if the name of this video capture device item comes alphabetically before the string with which to compare. False, if this name is identical to or comes alphabetically after the string with which to compare.

Remarks:

Compares the names of this video capture device with the name of another one. The return value is the result of a lexicographical comparison between the two strings.

See also: VideoCaptureDeviceItem

<< VideoCaptureDeviceItem