next up previous contents
Next: ReVarCifArray Public Method and Up: Comparison operators Previous: operator   Contents

operator4#4

NAME

operator4#4

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

operator4#4(const CifString &, const CifString &) Cheks if first string is less then or equal to second.

RECEIVES

operator4#4(const CifString &, const CifString &)
a reference to a CifString
b reference to a CifString

RETURN VALUE

Returns 1 if the first CifStrings is less than or equal to second, otherwise 0.

REMARKS

None



Olivera Tosic 2002-06-12