next up previous contents
Next: operator Up: Comparison operators Previous: operator!=   Contents

operator2#2

NAME

operator2#2

PROTOTYPE

#include "CifString.h"

int CifString::operator$>$(const CifString &a, const CifString &b)

EXAMPLE

#include "CifString.h"

CifString a, b, c;

a.Copy("ab");
b.Copy("cd");

if (a>b) ...
PURPOSE

operator2#2(const CifString &, const CifString &) Cheks if first string is greater then second.

RECEIVES

operator2#2(const CifString &, const CifString &)
a reference to a CifString
b reference to a CifString

RETURN VALUE

Returns 1 if the first CifStrings is greater than second, otherwise 0.

REMARKS

None



Olivera Tosic 2002-06-12