casa
$Rev:20696$
|
00001 //# ExprLogicArrayNode.h: Nodes representing logical array operators in table select expression tree 00002 //# Copyright (C) 1997,1999,2000 00003 //# Associated Universities, Inc. Washington DC, USA. 00004 //# 00005 //# This library is free software; you can redistribute it and/or modify it 00006 //# under the terms of the GNU Library General Public License as published by 00007 //# the Free Software Foundation; either version 2 of the License, or (at your 00008 //# option) any later version. 00009 //# 00010 //# This library is distributed in the hope that it will be useful, but WITHOUT 00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00012 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00013 //# License for more details. 00014 //# 00015 //# You should have received a copy of the GNU Library General Public License 00016 //# along with this library; if not, write to the Free Software Foundation, 00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. 00018 //# 00019 //# Correspondence concerning AIPS++ should be addressed as follows: 00020 //# Internet email: aips2-request@nrao.edu. 00021 //# Postal address: AIPS++ Project Office 00022 //# National Radio Astronomy Observatory 00023 //# 520 Edgemont Road 00024 //# Charlottesville, VA 22903-2475 USA 00025 //# 00026 //# $Id: ExprLogicNodeArray.h 20652 2009-07-06 05:04:32Z Malte.Marquarding $ 00027 00028 #ifndef TABLES_EXPRLOGICNODEARRAY_H 00029 #define TABLES_EXPRLOGICNODEARRAY_H 00030 00031 //# Includes 00032 #include <casa/aips.h> 00033 #include <tables/Tables/ExprNodeArray.h> 00034 #include <casa/Arrays/Array.h> 00035 00036 namespace casa { //# NAMESPACE CASA - BEGIN 00037 00038 //# Forward Declarations 00039 00040 //# This file defines classes derived from TableExprNode representing 00041 //# the data type and operator in a table expression. 00042 //# 00043 //# Data types Bool, Int64, Double, DComplex and String are used. 00044 //# Char, uChar, Short, uShort, Int, and uInt are converted to Int64, 00045 //# Float to Double, and Complex to DComplex. 00046 //# Binary operators ==, >=, >, <, <= and != are recognized. 00047 //# Also &&, ||, and unary ! are recognized. 00048 00049 00050 00051 // <summary> 00052 // Bool Array comparison == in table select expression tree 00053 // </summary> 00054 00055 // <use visibility=local> 00056 00057 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00058 // </reviewed> 00059 00060 // <prerequisite> 00061 //# Classes you should understand before using this one. 00062 // <li> TableExprNode 00063 // </prerequisite> 00064 00065 // <synopsis> 00066 // This class represents an == comparison in a table select expression tree. 00067 // This is defined for all data types. 00068 // Only the Bool get function is defined, because the result of a 00069 // compare is always a Bool. 00070 // </synopsis> 00071 00072 class TableExprNodeArrayEQBool : public TableExprNodeArray 00073 { 00074 public: 00075 TableExprNodeArrayEQBool (const TableExprNodeRep&); 00076 ~TableExprNodeArrayEQBool(); 00077 Array<Bool> getArrayBool (const TableExprId& id); 00078 }; 00079 00080 00081 // <summary> 00082 // Int Array comparison == in table select expression tree 00083 // </summary> 00084 00085 // <use visibility=local> 00086 00087 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00088 // </reviewed> 00089 00090 // <prerequisite> 00091 //# Classes you should understand before using this one. 00092 // <li> TableExprNode 00093 // </prerequisite> 00094 00095 // <synopsis> 00096 // This class represents an == comparison in a table select expression tree. 00097 // This is defined for all data types. 00098 // Only the Bool get function is defined, because the result of a 00099 // compare is always a Bool. 00100 // </synopsis> 00101 00102 class TableExprNodeArrayEQInt : public TableExprNodeArray 00103 { 00104 public: 00105 TableExprNodeArrayEQInt (const TableExprNodeRep&); 00106 ~TableExprNodeArrayEQInt(); 00107 Array<Bool> getArrayBool (const TableExprId& id); 00108 }; 00109 00110 00111 // <summary> 00112 // Double Array comparison == in table select expression tree 00113 // </summary> 00114 00115 // <use visibility=local> 00116 00117 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00118 // </reviewed> 00119 00120 // <prerequisite> 00121 //# Classes you should understand before using this one. 00122 // <li> TableExprNode 00123 // </prerequisite> 00124 00125 // <synopsis> 00126 // This class represents an == comparison in a table select expression tree. 00127 // This is defined for all data types. 00128 // Only the Bool get function is defined, because the result of a 00129 // compare is always a Bool. 00130 // </synopsis> 00131 00132 class TableExprNodeArrayEQDouble : public TableExprNodeArray 00133 { 00134 public: 00135 TableExprNodeArrayEQDouble (const TableExprNodeRep&); 00136 ~TableExprNodeArrayEQDouble(); 00137 Array<Bool> getArrayBool (const TableExprId& id); 00138 }; 00139 00140 00141 // <summary> 00142 // DComplex Array comparison == in table select expression tree 00143 // </summary> 00144 00145 // <use visibility=local> 00146 00147 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00148 // </reviewed> 00149 00150 // <prerequisite> 00151 //# Classes you should understand before using this one. 00152 // <li> TableExprNode 00153 // </prerequisite> 00154 00155 // <synopsis> 00156 // This class represents an == comparison in a table select expression tree. 00157 // This is defined for all data types. 00158 // Only the Bool get function is defined, because the result of a 00159 // compare is always a Bool. 00160 // </synopsis> 00161 00162 class TableExprNodeArrayEQDComplex : public TableExprNodeArray 00163 { 00164 public: 00165 TableExprNodeArrayEQDComplex (const TableExprNodeRep&); 00166 ~TableExprNodeArrayEQDComplex(); 00167 Array<Bool> getArrayBool (const TableExprId& id); 00168 }; 00169 00170 00171 // <summary> 00172 // String Array comparison == in table select expression tree 00173 // </summary> 00174 00175 // <use visibility=local> 00176 00177 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00178 // </reviewed> 00179 00180 // <prerequisite> 00181 //# Classes you should understand before using this one. 00182 // <li> TableExprNode 00183 // </prerequisite> 00184 00185 // <synopsis> 00186 // This class represents an == comparison in a table select expression tree. 00187 // This is defined for all data types. 00188 // Only the Bool get function is defined, because the result of a 00189 // compare is always a Bool. 00190 // </synopsis> 00191 00192 class TableExprNodeArrayEQString : public TableExprNodeArray 00193 { 00194 public: 00195 TableExprNodeArrayEQString (const TableExprNodeRep&); 00196 ~TableExprNodeArrayEQString(); 00197 Array<Bool> getArrayBool (const TableExprId& id); 00198 }; 00199 00200 00201 // <summary> 00202 // Regex Array comparison == in table select expression tree 00203 // </summary> 00204 00205 // <use visibility=local> 00206 00207 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00208 // </reviewed> 00209 00210 // <prerequisite> 00211 //# Classes you should understand before using this one. 00212 // <li> TableExprNode 00213 // </prerequisite> 00214 00215 // <synopsis> 00216 // This class represents an == comparison in a table select expression tree. 00217 // This is defined for all data types. 00218 // Only the Bool get function is defined, because the result of a 00219 // compare is always a Bool. 00220 // </synopsis> 00221 00222 class TableExprNodeArrayEQRegex : public TableExprNodeArray 00223 { 00224 public: 00225 TableExprNodeArrayEQRegex (const TableExprNodeRep&); 00226 ~TableExprNodeArrayEQRegex(); 00227 Array<Bool> getArrayBool (const TableExprId& id); 00228 }; 00229 00230 00231 // <summary> 00232 // Date Array comparison == in table select expression tree 00233 // </summary> 00234 00235 // <use visibility=local> 00236 00237 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00238 // </reviewed> 00239 00240 // <prerequisite> 00241 //# Classes you should understand before using this one. 00242 // <li> TableExprNode 00243 // </prerequisite> 00244 00245 // <synopsis> 00246 // This class represents an == comparison in a table select expression tree. 00247 // This is defined for all data types. 00248 // Only the Bool get function is defined, because the result of a 00249 // compare is always a Bool. 00250 // </synopsis> 00251 00252 class TableExprNodeArrayEQDate : public TableExprNodeArray 00253 { 00254 public: 00255 TableExprNodeArrayEQDate (const TableExprNodeRep&); 00256 ~TableExprNodeArrayEQDate(); 00257 Array<Bool> getArrayBool (const TableExprId& id); 00258 }; 00259 00260 00261 00262 // <summary> 00263 // Bool Array comparison != in table select expression tree 00264 // </summary> 00265 00266 // <use visibility=local> 00267 00268 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00269 // </reviewed> 00270 00271 // <prerequisite> 00272 //# Classes you should understand before using this one. 00273 // <li> TableExprNode 00274 // </prerequisite> 00275 00276 // <synopsis> 00277 // This class represents an != comparison in a table select expression tree. 00278 // This is defined for all data types. 00279 // Only the Bool get function is defined, because the result of a 00280 // compare is always a Bool. 00281 // </synopsis> 00282 00283 class TableExprNodeArrayNEBool : public TableExprNodeArray 00284 { 00285 public: 00286 TableExprNodeArrayNEBool (const TableExprNodeRep&); 00287 ~TableExprNodeArrayNEBool(); 00288 Array<Bool> getArrayBool (const TableExprId& id); 00289 }; 00290 00291 00292 // <summary> 00293 // Int Array comparison != in table select expression tree 00294 // </summary> 00295 00296 // <use visibility=local> 00297 00298 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00299 // </reviewed> 00300 00301 // <prerequisite> 00302 //# Classes you should understand before using this one. 00303 // <li> TableExprNode 00304 // </prerequisite> 00305 00306 // <synopsis> 00307 // This class represents an != comparison in a table select expression tree. 00308 // This is defined for all data types. 00309 // Only the Bool get function is defined, because the result of a 00310 // compare is always a Bool. 00311 // </synopsis> 00312 00313 class TableExprNodeArrayNEInt : public TableExprNodeArray 00314 { 00315 public: 00316 TableExprNodeArrayNEInt (const TableExprNodeRep&); 00317 ~TableExprNodeArrayNEInt(); 00318 Array<Bool> getArrayBool (const TableExprId& id); 00319 }; 00320 00321 00322 // <summary> 00323 // Double Array comparison != in table select expression tree 00324 // </summary> 00325 00326 // <use visibility=local> 00327 00328 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00329 // </reviewed> 00330 00331 // <prerequisite> 00332 //# Classes you should understand before using this one. 00333 // <li> TableExprNode 00334 // </prerequisite> 00335 00336 // <synopsis> 00337 // This class represents an != comparison in a table select expression tree. 00338 // This is defined for all data types. 00339 // Only the Bool get function is defined, because the result of a 00340 // compare is always a Bool. 00341 // </synopsis> 00342 00343 class TableExprNodeArrayNEDouble : public TableExprNodeArray 00344 { 00345 public: 00346 TableExprNodeArrayNEDouble (const TableExprNodeRep&); 00347 ~TableExprNodeArrayNEDouble(); 00348 Array<Bool> getArrayBool (const TableExprId& id); 00349 }; 00350 00351 00352 // <summary> 00353 // DComplex Array comparison != in table select expression tree 00354 // </summary> 00355 00356 // <use visibility=local> 00357 00358 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00359 // </reviewed> 00360 00361 // <prerequisite> 00362 //# Classes you should understand before using this one. 00363 // <li> TableExprNode 00364 // </prerequisite> 00365 00366 // <synopsis> 00367 // This class represents an != comparison in a table select expression tree. 00368 // This is defined for all data types. 00369 // Only the Bool get function is defined, because the result of a 00370 // compare is always a Bool. 00371 // </synopsis> 00372 00373 class TableExprNodeArrayNEDComplex : public TableExprNodeArray 00374 { 00375 public: 00376 TableExprNodeArrayNEDComplex (const TableExprNodeRep&); 00377 ~TableExprNodeArrayNEDComplex(); 00378 Array<Bool> getArrayBool (const TableExprId& id); 00379 }; 00380 00381 00382 // <summary> 00383 // String Array comparison != in table select expression tree 00384 // </summary> 00385 00386 // <use visibility=local> 00387 00388 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00389 // </reviewed> 00390 00391 // <prerequisite> 00392 //# Classes you should understand before using this one. 00393 // <li> TableExprNode 00394 // </prerequisite> 00395 00396 // <synopsis> 00397 // This class represents an != comparison in a table select expression tree. 00398 // This is defined for all data types. 00399 // Only the Bool get function is defined, because the result of a 00400 // compare is always a Bool. 00401 // </synopsis> 00402 00403 class TableExprNodeArrayNEString : public TableExprNodeArray 00404 { 00405 public: 00406 TableExprNodeArrayNEString (const TableExprNodeRep&); 00407 ~TableExprNodeArrayNEString(); 00408 Array<Bool> getArrayBool (const TableExprId& id); 00409 }; 00410 00411 00412 // <summary> 00413 // Regex Array comparison != in table select expression tree 00414 // </summary> 00415 00416 // <use visibility=local> 00417 00418 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00419 // </reviewed> 00420 00421 // <prerequisite> 00422 //# Classes you should understand before using this one. 00423 // <li> TableExprNode 00424 // </prerequisite> 00425 00426 // <synopsis> 00427 // This class represents an != comparison in a table select expression tree. 00428 // This is defined for all data types. 00429 // Only the Bool get function is defined, because the result of a 00430 // compare is always a Bool. 00431 // </synopsis> 00432 00433 class TableExprNodeArrayNERegex : public TableExprNodeArray 00434 { 00435 public: 00436 TableExprNodeArrayNERegex (const TableExprNodeRep&); 00437 ~TableExprNodeArrayNERegex(); 00438 Array<Bool> getArrayBool (const TableExprId& id); 00439 }; 00440 00441 00442 // <summary> 00443 // Date Array comparison != in table select expression tree 00444 // </summary> 00445 00446 // <use visibility=local> 00447 00448 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00449 // </reviewed> 00450 00451 // <prerequisite> 00452 //# Classes you should understand before using this one. 00453 // <li> TableExprNode 00454 // </prerequisite> 00455 00456 // <synopsis> 00457 // This class represents an != comparison in a table select expression tree. 00458 // This is defined for all data types. 00459 // Only the Bool get function is defined, because the result of a 00460 // compare is always a Bool. 00461 // </synopsis> 00462 00463 class TableExprNodeArrayNEDate : public TableExprNodeArray 00464 { 00465 public: 00466 TableExprNodeArrayNEDate (const TableExprNodeRep&); 00467 ~TableExprNodeArrayNEDate(); 00468 Array<Bool> getArrayBool (const TableExprId& id); 00469 }; 00470 00471 00472 00473 // <summary> 00474 // Int Array comparison > in table select expression tree 00475 // </summary> 00476 00477 // <use visibility=local> 00478 00479 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00480 // </reviewed> 00481 00482 // <prerequisite> 00483 //# Classes you should understand before using this one. 00484 // <li> TableExprNode 00485 // </prerequisite> 00486 00487 // <synopsis> 00488 // This class represents an > comparison in a table select expression tree. 00489 // This is defined for all data types. 00490 // Only the Bool get function is defined, because the result of a 00491 // compare is always a Bool. 00492 // </synopsis> 00493 00494 class TableExprNodeArrayGTInt : public TableExprNodeArray 00495 { 00496 public: 00497 TableExprNodeArrayGTInt (const TableExprNodeRep&); 00498 ~TableExprNodeArrayGTInt(); 00499 Array<Bool> getArrayBool (const TableExprId& id); 00500 }; 00501 00502 00503 // <summary> 00504 // Double Array comparison > in table select expression tree 00505 // </summary> 00506 00507 // <use visibility=local> 00508 00509 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00510 // </reviewed> 00511 00512 // <prerequisite> 00513 //# Classes you should understand before using this one. 00514 // <li> TableExprNode 00515 // </prerequisite> 00516 00517 // <synopsis> 00518 // This class represents an > comparison in a table select expression tree. 00519 // This is defined for all data types. 00520 // Only the Bool get function is defined, because the result of a 00521 // compare is always a Bool. 00522 // </synopsis> 00523 00524 class TableExprNodeArrayGTDouble : public TableExprNodeArray 00525 { 00526 public: 00527 TableExprNodeArrayGTDouble (const TableExprNodeRep&); 00528 ~TableExprNodeArrayGTDouble(); 00529 Array<Bool> getArrayBool (const TableExprId& id); 00530 }; 00531 00532 00533 // <summary> 00534 // DComplex Array comparison > in table select expression tree 00535 // </summary> 00536 00537 // <use visibility=local> 00538 00539 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00540 // </reviewed> 00541 00542 // <prerequisite> 00543 //# Classes you should understand before using this one. 00544 // <li> TableExprNode 00545 // </prerequisite> 00546 00547 // <synopsis> 00548 // This class represents an > comparison in a table select expression tree. 00549 // This is defined for all data types. 00550 // Only the Bool get function is defined, because the result of a 00551 // compare is always a Bool. 00552 // </synopsis> 00553 00554 class TableExprNodeArrayGTDComplex : public TableExprNodeArray 00555 { 00556 public: 00557 TableExprNodeArrayGTDComplex (const TableExprNodeRep&); 00558 ~TableExprNodeArrayGTDComplex(); 00559 Array<Bool> getArrayBool (const TableExprId& id); 00560 }; 00561 00562 00563 // <summary> 00564 // String Array comparison > in table select expression tree 00565 // </summary> 00566 00567 // <use visibility=local> 00568 00569 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00570 // </reviewed> 00571 00572 // <prerequisite> 00573 //# Classes you should understand before using this one. 00574 // <li> TableExprNode 00575 // </prerequisite> 00576 00577 // <synopsis> 00578 // This class represents an > comparison in a table select expression tree. 00579 // This is defined for all data types. 00580 // Only the Bool get function is defined, because the result of a 00581 // compare is always a Bool. 00582 // </synopsis> 00583 00584 class TableExprNodeArrayGTString : public TableExprNodeArray 00585 { 00586 public: 00587 TableExprNodeArrayGTString (const TableExprNodeRep&); 00588 ~TableExprNodeArrayGTString(); 00589 Array<Bool> getArrayBool (const TableExprId& id); 00590 }; 00591 00592 00593 // <summary> 00594 // Date Array comparison > in table select expression tree 00595 // </summary> 00596 00597 // <use visibility=local> 00598 00599 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00600 // </reviewed> 00601 00602 // <prerequisite> 00603 //# Classes you should understand before using this one. 00604 // <li> TableExprNode 00605 // </prerequisite> 00606 00607 // <synopsis> 00608 // This class represents an > comparison in a table select expression tree. 00609 // This is defined for all data types. 00610 // Only the Bool get function is defined, because the result of a 00611 // compare is always a Bool. 00612 // </synopsis> 00613 00614 class TableExprNodeArrayGTDate : public TableExprNodeArray 00615 { 00616 public: 00617 TableExprNodeArrayGTDate (const TableExprNodeRep&); 00618 ~TableExprNodeArrayGTDate(); 00619 Array<Bool> getArrayBool (const TableExprId& id); 00620 }; 00621 00622 00623 00624 // <summary> 00625 // Int Array comparison >= in table select expression tree 00626 // </summary> 00627 00628 // <use visibility=local> 00629 00630 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00631 // </reviewed> 00632 00633 // <prerequisite> 00634 //# Classes you should understand before using this one. 00635 // <li> TableExprNode 00636 // </prerequisite> 00637 00638 // <synopsis> 00639 // This class represents an >= comparison in a table select expression tree. 00640 // This is defined for all data types. 00641 // Only the Bool get function is defined, because the result of a 00642 // compare is always a Bool. 00643 // </synopsis> 00644 00645 class TableExprNodeArrayGEInt : public TableExprNodeArray 00646 { 00647 public: 00648 TableExprNodeArrayGEInt (const TableExprNodeRep&); 00649 ~TableExprNodeArrayGEInt(); 00650 Array<Bool> getArrayBool (const TableExprId& id); 00651 }; 00652 00653 00654 // <summary> 00655 // Double Array comparison >= in table select expression tree 00656 // </summary> 00657 00658 // <use visibility=local> 00659 00660 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00661 // </reviewed> 00662 00663 // <prerequisite> 00664 //# Classes you should understand before using this one. 00665 // <li> TableExprNode 00666 // </prerequisite> 00667 00668 // <synopsis> 00669 // This class represents an >= comparison in a table select expression tree. 00670 // This is defined for all data types. 00671 // Only the Bool get function is defined, because the result of a 00672 // compare is always a Bool. 00673 // </synopsis> 00674 00675 class TableExprNodeArrayGEDouble : public TableExprNodeArray 00676 { 00677 public: 00678 TableExprNodeArrayGEDouble (const TableExprNodeRep&); 00679 ~TableExprNodeArrayGEDouble(); 00680 Array<Bool> getArrayBool (const TableExprId& id); 00681 }; 00682 00683 00684 // <summary> 00685 // DComplex Array comparison >= in table select expression tree 00686 // </summary> 00687 00688 // <use visibility=local> 00689 00690 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00691 // </reviewed> 00692 00693 // <prerequisite> 00694 //# Classes you should understand before using this one. 00695 // <li> TableExprNode 00696 // </prerequisite> 00697 00698 // <synopsis> 00699 // This class represents an >= comparison in a table select expression tree. 00700 // This is defined for all data types. 00701 // Only the Bool get function is defined, because the result of a 00702 // compare is always a Bool. 00703 // </synopsis> 00704 00705 class TableExprNodeArrayGEDComplex : public TableExprNodeArray 00706 { 00707 public: 00708 TableExprNodeArrayGEDComplex (const TableExprNodeRep&); 00709 ~TableExprNodeArrayGEDComplex(); 00710 Array<Bool> getArrayBool (const TableExprId& id); 00711 }; 00712 00713 00714 // <summary> 00715 // String Array comparison >= in table select expression tree 00716 // </summary> 00717 00718 // <use visibility=local> 00719 00720 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00721 // </reviewed> 00722 00723 // <prerequisite> 00724 //# Classes you should understand before using this one. 00725 // <li> TableExprNode 00726 // </prerequisite> 00727 00728 // <synopsis> 00729 // This class represents an >= comparison in a table select expression tree. 00730 // This is defined for all data types. 00731 // Only the Bool get function is defined, because the result of a 00732 // compare is always a Bool. 00733 // </synopsis> 00734 00735 class TableExprNodeArrayGEString : public TableExprNodeArray 00736 { 00737 public: 00738 TableExprNodeArrayGEString (const TableExprNodeRep&); 00739 ~TableExprNodeArrayGEString(); 00740 Array<Bool> getArrayBool (const TableExprId& id); 00741 }; 00742 00743 00744 // <summary> 00745 // Date Array comparison >= in table select expression tree 00746 // </summary> 00747 00748 // <use visibility=local> 00749 00750 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00751 // </reviewed> 00752 00753 // <prerequisite> 00754 //# Classes you should understand before using this one. 00755 // <li> TableExprNode 00756 // </prerequisite> 00757 00758 // <synopsis> 00759 // This class represents an >= comparison in a table select expression tree. 00760 // This is defined for all data types. 00761 // Only the Bool get function is defined, because the result of a 00762 // compare is always a Bool. 00763 // </synopsis> 00764 00765 class TableExprNodeArrayGEDate : public TableExprNodeArray 00766 { 00767 public: 00768 TableExprNodeArrayGEDate (const TableExprNodeRep&); 00769 ~TableExprNodeArrayGEDate(); 00770 Array<Bool> getArrayBool (const TableExprId& id); 00771 }; 00772 00773 00774 00775 // <summary> 00776 // Int Array comparison IN in table select expression tree 00777 // </summary> 00778 00779 // <use visibility=local> 00780 00781 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00782 // </reviewed> 00783 00784 // <prerequisite> 00785 //# Classes you should understand before using this one. 00786 // <li> TableExprNode 00787 // </prerequisite> 00788 00789 // <synopsis> 00790 // This class represents an IN comparison in a table select expression tree. 00791 // This is defined for all data types. 00792 // Only the Bool get function is defined, because the result of a 00793 // compare is always a Bool. 00794 // </synopsis> 00795 00796 class TableExprNodeArrayINInt : public TableExprNodeArray 00797 { 00798 public: 00799 TableExprNodeArrayINInt (const TableExprNodeRep&); 00800 ~TableExprNodeArrayINInt(); 00801 Array<Bool> getArrayBool (const TableExprId& id); 00802 }; 00803 00804 00805 // <summary> 00806 // Double Array comparison IN in table select expression tree 00807 // </summary> 00808 00809 // <use visibility=local> 00810 00811 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00812 // </reviewed> 00813 00814 // <prerequisite> 00815 //# Classes you should understand before using this one. 00816 // <li> TableExprNode 00817 // </prerequisite> 00818 00819 // <synopsis> 00820 // This class represents an IN comparison in a table select expression tree. 00821 // This is defined for all data types. 00822 // Only the Bool get function is defined, because the result of a 00823 // compare is always a Bool. 00824 // </synopsis> 00825 00826 class TableExprNodeArrayINDouble : public TableExprNodeArray 00827 { 00828 public: 00829 TableExprNodeArrayINDouble (const TableExprNodeRep&); 00830 ~TableExprNodeArrayINDouble(); 00831 Array<Bool> getArrayBool (const TableExprId& id); 00832 }; 00833 00834 00835 // <summary> 00836 // DComplex Array comparison IN in table select expression tree 00837 // </summary> 00838 00839 // <use visibility=local> 00840 00841 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00842 // </reviewed> 00843 00844 // <prerequisite> 00845 //# Classes you should understand before using this one. 00846 // <li> TableExprNode 00847 // </prerequisite> 00848 00849 // <synopsis> 00850 // This class represents an IN comparison in a table select expression tree. 00851 // This is defined for all data types. 00852 // Only the Bool get function is defined, because the result of a 00853 // compare is always a Bool. 00854 // </synopsis> 00855 00856 class TableExprNodeArrayINDComplex : public TableExprNodeArray 00857 { 00858 public: 00859 TableExprNodeArrayINDComplex (const TableExprNodeRep&); 00860 ~TableExprNodeArrayINDComplex(); 00861 Array<Bool> getArrayBool (const TableExprId& id); 00862 }; 00863 00864 00865 // <summary> 00866 // String Array comparison IN in table select expression tree 00867 // </summary> 00868 00869 // <use visibility=local> 00870 00871 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00872 // </reviewed> 00873 00874 // <prerequisite> 00875 //# Classes you should understand before using this one. 00876 // <li> TableExprNode 00877 // </prerequisite> 00878 00879 // <synopsis> 00880 // This class represents an IN comparison in a table select expression tree. 00881 // This is defined for all data types. 00882 // Only the Bool get function is defined, because the result of a 00883 // compare is always a Bool. 00884 // </synopsis> 00885 00886 class TableExprNodeArrayINString : public TableExprNodeArray 00887 { 00888 public: 00889 TableExprNodeArrayINString (const TableExprNodeRep&); 00890 ~TableExprNodeArrayINString(); 00891 Array<Bool> getArrayBool (const TableExprId& id); 00892 }; 00893 00894 00895 // <summary> 00896 // Date Array comparison IN in table select expression tree 00897 // </summary> 00898 00899 // <use visibility=local> 00900 00901 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00902 // </reviewed> 00903 00904 // <prerequisite> 00905 //# Classes you should understand before using this one. 00906 // <li> TableExprNode 00907 // </prerequisite> 00908 00909 // <synopsis> 00910 // This class represents an IN comparison in a table select expression tree. 00911 // This is defined for all data types. 00912 // Only the Bool get function is defined, because the result of a 00913 // compare is always a Bool. 00914 // </synopsis> 00915 00916 class TableExprNodeArrayINDate : public TableExprNodeArray 00917 { 00918 public: 00919 TableExprNodeArrayINDate (const TableExprNodeRep&); 00920 ~TableExprNodeArrayINDate(); 00921 Array<Bool> getArrayBool (const TableExprId& id); 00922 }; 00923 00924 00925 00926 // <summary> 00927 // Logical or in table select expression tree 00928 // </summary> 00929 00930 // <use visibility=local> 00931 00932 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00933 // </reviewed> 00934 00935 // <prerequisite> 00936 //# Classes you should understand before using this one. 00937 // <li> TableExprNode 00938 // </prerequisite> 00939 00940 // <synopsis> 00941 // This class represents a logical or in a table select expression tree. 00942 // This is defined for Bool only. 00943 // </synopsis> 00944 00945 class TableExprNodeArrayOR : public TableExprNodeArray 00946 { 00947 public: 00948 TableExprNodeArrayOR (const TableExprNodeRep&); 00949 ~TableExprNodeArrayOR(); 00950 Array<Bool> getArrayBool (const TableExprId& id); 00951 }; 00952 00953 00954 00955 // <summary> 00956 // Logical and in table select expression tree 00957 // </summary> 00958 00959 // <use visibility=local> 00960 00961 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00962 // </reviewed> 00963 00964 // <prerequisite> 00965 //# Classes you should understand before using this one. 00966 // <li> TableExprNode 00967 // </prerequisite> 00968 00969 // <synopsis> 00970 // This class represents a logical and in a table select expression tree. 00971 // This is defined for Bool only. 00972 // </synopsis> 00973 00974 class TableExprNodeArrayAND: public TableExprNodeArray 00975 { 00976 public: 00977 TableExprNodeArrayAND (const TableExprNodeRep&); 00978 ~TableExprNodeArrayAND(); 00979 Array<Bool> getArrayBool (const TableExprId& id); 00980 }; 00981 00982 00983 00984 // <summary> 00985 // Logical not in table select expression tree 00986 // </summary> 00987 00988 // <use visibility=local> 00989 00990 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests=""> 00991 // </reviewed> 00992 00993 // <prerequisite> 00994 //# Classes you should understand before using this one. 00995 // <li> TableExprNodeArray 00996 // </prerequisite> 00997 00998 // <synopsis> 00999 // This class represents a logical not in a table select expression tree. 01000 // This is defined for Bool only. 01001 // </synopsis> 01002 01003 class TableExprNodeArrayNOT: public TableExprNodeArray 01004 { 01005 public: 01006 TableExprNodeArrayNOT (const TableExprNodeRep&); 01007 ~TableExprNodeArrayNOT(); 01008 Array<Bool> getArrayBool (const TableExprId& id); 01009 }; 01010 01011 01012 01013 01014 } //# NAMESPACE CASA - END 01015 01016 #endif