00001 /******************************************************************************/ 00002 /* */ 00003 /* POLiTe - Persistent Object Library Test */ 00004 /* Ph.D. Thesis by Mgr. Michal Kopecky */ 00005 /* */ 00006 /* Charles University Prague */ 00007 /* */ 00008 /******************************************************************************/ 00009 /* */ 00010 /* File name: ... */ 00011 /* Module: ...... */ 00012 /* */ 00013 /******************************************************************************/ 00014 /* */ 00015 /* Common base of Query, RefBase and ProtoBase */ 00016 /* */ 00017 /******************************************************************************/ 00018 00019 // Standard Header(s) 00020 #include <malloc.h> 00021 00022 // Common POLiTe Header(s) 00023 #include <lTrace.h> 00024 #include <lDefs.h> 00025 00026 // Own Header 00027 #include <cQueRefProto.h> 00028 00029 // Other POLiTe Header(s) 00030 #include <cQuery.h> 00031 00032 Query QueRefProto::operator !() const 00033 { 00034 Query X = *this; 00035 return X.Not(); 00036 }; 00037 00038 Query QueRefProto::operator ||(const QueRefProto &Q) const 00039 { 00040 Query X = *this; 00041 return X.Or(Q); 00042 }; 00043 00044 Query QueRefProto::operator &&(const QueRefProto &Q) const 00045 { 00046 Query X = *this; 00047 return X.And(Q); 00048 };