Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTMoney::operator <, <=, >, >=, ==, !=

Syntax

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

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

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

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

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

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

Parameters

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

Description

These overloaded operators make comparisons between two CTMoney objects.

Return

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

TOCIndex