casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::String_global_functions_comparitor Struct Reference

Global comparison operators. More...

#include <String.h>

List of all members.

Public Member Functions

Bool operator== (const String &x, const String &y)
Bool operator!= (const String &x, const String &y)
Bool operator> (const String &x, const String &y)
Bool operator>= (const String &x, const String &y)
Bool operator< (const String &x, const String &y)
Bool operator<= (const String &x, const String &y)
Bool operator== (const String &x, const Char *t)
Bool operator!= (const String &x, const Char *t)
Bool operator> (const String &x, const Char *t)
Bool operator>= (const String &x, const Char *t)
Bool operator< (const String &x, const Char *t)
Bool operator<= (const String &x, const Char *t)
Bool operator== (const String &x, const Char t)
Bool operator!= (const String &x, const Char t)
Bool operator> (const String &x, const Char t)
Bool operator>= (const String &x, const Char t)
Bool operator< (const String &x, const Char t)
Bool operator<= (const String &x, const Char t)
Int compare (const string &x, const string &y)
 ** aips++ additions of global compares.
Int compare (const string &x, const Char *y)
Int compare (const string &x, const Char y)
Int fcompare (String x, String y)
 this version ignores case.

Detailed Description

Global comparison operators.

The global comparison operators

Definition at line 887 of file String.h.


Member Function Documentation

Int casa::String_global_functions_comparitor::compare ( const string &  x,
const string &  y 
) [inline]

** aips++ additions of global compares.

Returns 0 if equal; lt or gt 0 if strings unequal or of unequal lengths.

Definition at line 926 of file String.h.

Int casa::String_global_functions_comparitor::compare ( const string &  x,
const Char y 
) [inline]

Definition at line 928 of file String.h.

Int casa::String_global_functions_comparitor::compare ( const string &  x,
const Char  y 
) [inline]

Definition at line 930 of file String.h.

References String.

this version ignores case.

** aips++ addition. Result is 0 if equal strings of equal lengths; else lt or gt 0 to indicate differences.

Bool casa::String_global_functions_comparitor::operator!= ( const String x,
const String y 
) [inline]

Definition at line 890 of file String.h.

Bool casa::String_global_functions_comparitor::operator!= ( const String x,
const Char t 
) [inline]

Definition at line 902 of file String.h.

Bool casa::String_global_functions_comparitor::operator!= ( const String x,
const Char  t 
) [inline]

Definition at line 914 of file String.h.

Bool casa::String_global_functions_comparitor::operator< ( const String x,
const String y 
) [inline]

Definition at line 896 of file String.h.

Bool casa::String_global_functions_comparitor::operator< ( const String x,
const Char t 
) [inline]

Definition at line 908 of file String.h.

Bool casa::String_global_functions_comparitor::operator< ( const String x,
const Char  t 
) [inline]

Definition at line 920 of file String.h.

Bool casa::String_global_functions_comparitor::operator<= ( const String x,
const String y 
) [inline]

Definition at line 898 of file String.h.

Bool casa::String_global_functions_comparitor::operator<= ( const String x,
const Char t 
) [inline]

Definition at line 910 of file String.h.

Bool casa::String_global_functions_comparitor::operator<= ( const String x,
const Char  t 
) [inline]

Definition at line 922 of file String.h.

Bool casa::String_global_functions_comparitor::operator== ( const String x,
const String y 
) [inline]

Definition at line 888 of file String.h.

Bool casa::String_global_functions_comparitor::operator== ( const String x,
const Char t 
) [inline]

Definition at line 900 of file String.h.

Bool casa::String_global_functions_comparitor::operator== ( const String x,
const Char  t 
) [inline]

Definition at line 912 of file String.h.

Bool casa::String_global_functions_comparitor::operator> ( const String x,
const String y 
) [inline]

Definition at line 892 of file String.h.

Bool casa::String_global_functions_comparitor::operator> ( const String x,
const Char t 
) [inline]

Definition at line 904 of file String.h.

Bool casa::String_global_functions_comparitor::operator> ( const String x,
const Char  t 
) [inline]

Definition at line 916 of file String.h.

Bool casa::String_global_functions_comparitor::operator>= ( const String x,
const String y 
) [inline]

Definition at line 894 of file String.h.

Bool casa::String_global_functions_comparitor::operator>= ( const String x,
const Char t 
) [inline]

Definition at line 906 of file String.h.

Bool casa::String_global_functions_comparitor::operator>= ( const String x,
const Char  t 
) [inline]

Definition at line 918 of file String.h.


The documentation for this struct was generated from the following file: