示例#1
0
		internal override QE Add(QE evaluator)
		{
			QE qe = new QEMulti();
			qe.Add(this);
			qe.Add(evaluator);
			return qe;
		}
示例#2
0
 internal virtual void RemoveNot()
 {
     if (IsNot())
     {
         i_evaluator = ((QENot)i_evaluator).Evaluator();
     }
 }
示例#3
0
        internal override QE Add(QE evaluator)
        {
            QE qe = new QEMulti();

            qe.Add(this);
            qe.Add(evaluator);
            return(qe);
        }
示例#4
0
文件: QENot.cs 项目: superyfwy/db4o
		internal override QE Add(QE evaluator)
		{
			if (!(evaluator is Db4objects.Db4o.Internal.Query.Processor.QENot))
			{
				i_evaluator = i_evaluator.Add(evaluator);
			}
			return this;
		}
示例#5
0
 internal override QE Add(QE evaluator)
 {
     if (!(evaluator is Db4objects.Db4o.Internal.Query.Processor.QENot))
     {
         i_evaluator = i_evaluator.Add(evaluator);
     }
     return(this);
 }
示例#6
0
 public virtual IConstraint Not()
 {
     lock (StreamLock())
     {
         if (!(i_evaluator is QENot))
         {
             i_evaluator = new QENot(i_evaluator);
         }
         return(this);
     }
 }
示例#7
0
 internal virtual bool Evaluate(QConObject a_constraint, QE a_evaluator)
 {
     if (a_evaluator.Identity())
     {
         return(a_evaluator.Evaluate(a_constraint, this, null));
     }
     if (_member == null)
     {
         _member = Value();
     }
     return(a_evaluator.Evaluate(a_constraint, this, a_constraint.Translate(_member)));
 }
示例#8
0
文件: QENot.cs 项目: superyfwy/db4o
		internal QENot(QE a_evaluator)
		{
			// CS
			i_evaluator = a_evaluator;
		}
示例#9
0
		public static Db4objects.Db4o.Internal.Fieldindex.QEBitmap ForQE(QE qe)
		{
			bool[] bitmap = new bool[4];
			qe.IndexBitMap(bitmap);
			return new Db4objects.Db4o.Internal.Fieldindex.QEBitmap(bitmap);
		}
示例#10
0
文件: QCon.cs 项目: Galigator/db4o
		internal virtual void RemoveNot()
		{
			if (IsNot())
			{
				i_evaluator = ((QENot)i_evaluator).Evaluator();
			}
		}
示例#11
0
文件: QCon.cs 项目: Galigator/db4o
		public virtual IConstraint Not()
		{
			lock (StreamLock())
			{
				if (!(i_evaluator is QENot))
				{
					i_evaluator = new QENot(i_evaluator);
				}
				return this;
			}
		}
示例#12
0
 internal virtual QE Add(QE evaluator)
 {
     return(evaluator);
 }
示例#13
0
 internal virtual bool Evaluate(QConObject a_constraint, QE a_evaluator)
 {
     if (a_evaluator.Identity())
     {
         return a_evaluator.Evaluate(a_constraint, this, null);
     }
     if (_member == null)
     {
         _member = Value();
     }
     return a_evaluator.Evaluate(a_constraint, this, a_constraint.Translate(_member));
 }
示例#14
0
 public abstract bool Evaluate(QConObject arg1, QE arg2);
示例#15
0
 internal override QE Add(QE evaluator)
 {
     i_evaluators.Ensure(evaluator);
     return(this);
 }
示例#16
0
		public override bool Evaluate(QConObject a_constraint, QE a_evaluator)
		{
			return a_evaluator.Evaluate(a_constraint, this, a_constraint.Translate(_obj));
		}
示例#17
0
 internal QENot(QE a_evaluator)
 {
     // CS
     i_evaluator = a_evaluator;
 }
 public override bool Evaluate(QConObject a_constraint, QE a_evaluator)
 {
     return(a_evaluator.Evaluate(a_constraint, this, a_constraint.Translate(_obj)));
 }
示例#19
0
		internal virtual QE Add(QE evaluator)
		{
			return evaluator;
		}
示例#20
0
文件: QEBitmap.cs 项目: masroore/db4o
 public static QEBitmap ForQE(QE qe)
 {
     var bitmap = new bool[4];
     qe.IndexBitMap(bitmap);
     return new QEBitmap(bitmap);
 }
示例#21
0
文件: QEMulti.cs 项目: erdincay/db4o
		internal override QE Add(QE evaluator)
		{
			i_evaluators.Ensure(evaluator);
			return this;
		}
示例#22
0
		public abstract bool Evaluate(QConObject arg1, QE arg2);