35 virtual void clear()=0;
42 double diff=a.compare(b);
43 if ((diff>0) && (order.compare(
">")==0))
return true;
44 else if ((diff>=0) && (order.compare(
">=")==0))
return true;
45 else if ((diff==0) && (order.compare(
"=")==0))
return true;
46 else if ((diff<0) && (order.compare(
"<")==0))
return true;
47 else if ((diff<=0) && (order.compare(
"<=")==0))
return true;
48 else if ((diff!=0) && (order.compare(
"!=")==0))
return true;
57 if ((diff>0) && (order.compare(
">")==0))
return true;
58 else if ((diff>=0) && (order.compare(
">=")==0))
return true;
59 else if ((diff==0) && (order.compare(
"=")==0))
return true;
60 else if ((diff<0) && (order.compare(
"<")==0))
return true;
61 else if ((diff<=0) && (order.compare(
"<=")==0))
return true;
62 else if ((diff!=0) && (order.compare(
"!=")==0))
return true;
72 if ((diff>0) && (order.compare(
">")==0))
return true;
73 else if ((diff>=0) && (order.compare(
">=")==0))
return true;
74 else if ((diff==0) && (order.compare(
"=")==0))
return true;
75 else if ((diff<0) && (order.compare(
"<")==0))
return true;
76 else if ((diff<=0) && (order.compare(
"<=")==0))
return true;
77 else if ((diff!=0) && (order.compare(
"!=")==0))
return true;
133 const complex<double>& b) {
139 return (a.compare(b)==0);
static tBoolean areEqual(const unsigned char &a, const unsigned char &b)
compare 2 primitive object
Definition: CORE_List.h:112
static tBoolean areEqual(const double &a, const double &b)
compare 2 primitive object
Definition: CORE_List.h:97
this class describes a list
Definition: CORE_List.h:12
static tBoolean areEqual(const short &a, const short &b)
compare 2 primitive object
Definition: CORE_List.h:107
static tBoolean areEqual(const bool &a, const bool &b)
compare 2 primitive object
Definition: CORE_List.h:122
#define tBoolean
Definition: types.h:35
CORE_List()
build a list
Definition: CORE_List.cpp:6
static tBoolean areEqual(const long int &a, const long int &b)
compare 2 primitive object
Definition: CORE_List.h:87
static tBoolean areEqual(const long double &a, const long double &b)
compare 2 primitive object
Definition: CORE_List.h:102
static tBoolean areEqual(const complex< double > &a, const complex< double > &b)
compare 2 primitive object
Definition: CORE_List.h:132
virtual void clear()=0
clear the list
static tBoolean areEqual(const string &a, const string &b)
compare 2 primitive object
Definition: CORE_List.h:138
static tBoolean areEqual(const float &a, const float &b)
compare 2 primitive object
Definition: CORE_List.h:92
static tBoolean compare(const tString &a, const tString &b, const tString &order)
compare 2 strings
Definition: CORE_List.h:39
abstract base class for most classes.
Definition: CORE_Object.h:30
#define tString
Definition: types.h:36
static tBoolean areEqual(const int &a, const int &b)
compare 2 primitive object
Definition: CORE_List.h:82
static tBoolean compare(const tReal &a, const tReal &b, const tString &order)
compare 2 reals
Definition: CORE_List.h:68
static tBoolean areEqual(const unsigned long int &a, const unsigned long int &b)
compare 2 primitive object
Definition: CORE_List.h:117
virtual ~CORE_List()
destroy a list
Definition: CORE_List.cpp:9
static tBoolean compare(const int &a, const int &b, const tString &order)
compare 2 ints
Definition: CORE_List.h:53
static tBoolean areEqual(const char &a, const char &b)
compare 2 primitive object
Definition: CORE_List.h:127
#define tReal
Definition: types.h:18