Operator < - Teradata Meta Data Services

Teradata Meta Data Services Programmer Guide

Product
Teradata Meta Data Services
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
Product Category
Teradata Tools and Utilities

Operator <

Purpose

The CMetaProperty class < operator function returns 1 if the PropertyID of objectA is less than the PropertyID of objectB.

The operator returns 0 if the PropertyID of objectA is equal to or greater than the PropertyID of objectB.

Syntax

static bool operator<(const CMetaProperty &x const CMetaProperty &y); 

Usage:

CMetaProperty  objectA, objectB;
  .
  .
  .
if (objectA < objectB){
   //property ID of A is less than property ID of B
}else{
   //property ID of A is not less than property ID of B
}