Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTCurrency::operator <, <=, >, >=, ==, !=

Syntax

CTBOOL operator < (const CTCurrency& left, const CTCurrency& right)

CTBOOL operator <= (const CTCurrency& left, const CTCurrency& right)

CTBOOL operator > (const CTCurrency& left, const CTCurrency& right)

CTBOOL operator >= (const CTCurrency& left, const CTCurrency& right)

CTBOOL operator == (const CTCurrency& left, const CTCurrency& right)

CTBOOL operator != (const CTCurrency& left, const CTCurrency& right)

Parameters

  • left [in] The left CTCurrency object to be compared
  • right [in] The right CTCurrency object to be compared

Description

These overloaded operators make comparisons between two CTCurrency objects.

Return

The operators return YES or NO, depending on the result of the comparison.

TOCIndex