9 #include <nutools/IFDatabase/Column.h> 10 #include <nutools/IFDatabase/ColumnDef.h> 11 #include <nutools/IFDatabase/Util.h> 75 bool a = (val1 ==
"1");
76 bool b = (val2 ==
"1");
77 return ((a == b) || (a&!
b));
81 long a = boost::lexical_cast<
long>(val1);
82 long b = boost::lexical_cast<
long>(val2);
87 double a = boost::lexical_cast<
double>(val1);
88 double b = boost::lexical_cast<
double>(val2);
93 return (val1 >= val2);
97 if (this->
Get(a) && c.
Get(b)) {
109 if (this->
Get(a) && c.
Get(b)) {
131 bool a = (val1 ==
"1");
132 bool b = (val2 ==
"1");
137 long a = boost::lexical_cast<
long>(val1);
138 long b = boost::lexical_cast<
long>(val2);
143 double a = boost::lexical_cast<
double>(val1);
144 double b = boost::lexical_cast<
double>(val2);
149 return (val1 > val2);
153 if (this->
Get(a) && c.
Get(b)) {
165 if (this->
Get(a) && c.
Get(b)) {
187 bool a = (val1 ==
"1");
188 bool b = (val2 ==
"1");
189 return ((a == b) || (!a&
b));
193 long a = boost::lexical_cast<
long>(val1);
194 long b = boost::lexical_cast<
long>(val2);
199 double a = boost::lexical_cast<
double>(val1);
200 double b = boost::lexical_cast<
double>(val2);
205 return (val1 <= val2);
209 if (this->
Get(a) && c.
Get(b)) {
221 if (this->
Get(a) && c.
Get(b)) {
244 bool a = (val1 ==
"1");
245 bool b = (val2 ==
"1");
250 long a = boost::lexical_cast<
long>(val1);
251 long b = boost::lexical_cast<
long>(val2);
256 double a = boost::lexical_cast<
double>(val1);
257 double b = boost::lexical_cast<
double>(val2);
262 return (val1 < val2);
266 if (this->
Get(a) && c.
Get(b)) {
278 if (this->
Get(a) && c.
Get(b)) {
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
int strcmp(const String &s1, const String &s2)