public override void TraverseAll(Transaction ta, IVisitor4 command) { if (_btreeIndex != null) { _btreeIndex.TraverseKeys(ta, command); } }
public virtual void VisitCachedReferences(IVisitor4 visitor) { if (_referencesByObject != null) { _referencesByObject.Traverse(new _IVisitor4_287(visitor)); } }
public _IVisitor4_861(FieldMetadata _enclosing, IVisitor4 userVisitor, IContext context ) { this._enclosing = _enclosing; this.userVisitor = userVisitor; this.context = context; }
public void Accept(IVisitor4 visitor) { SlotChange slotChange = new SlotChange(id); slotChange.NotifySlotCreated(new Slot(address, length)); visitor.Visit(slotChange); }
internal static void ForEachCollectionElement(Object obj, IVisitor4 visitor) { IEnumerator enumerator = GetCollectionEnumerator(obj, false); if (enumerator != null) { // If obj is a map (IDictionary in .NET speak) call Visit() with the key // otherwise use the element itself if (enumerator is IDictionaryEnumerator) { IDictionaryEnumerator dictEnumerator = enumerator as IDictionaryEnumerator; while (enumerator.MoveNext()) { visitor.Visit(dictEnumerator.Key); } } else { while (enumerator.MoveNext()) { visitor.Visit(enumerator.Current); } } } }
public _TraverseFieldCommand_65(string fieldName, IVisitor4 visitor, ClassMetadata classMetadata) { this.fieldName = fieldName; this.visitor = visitor; this.classMetadata = classMetadata; }
internal void Traverse(IVisitor4 a_visitor) { if (i_root != null) { i_root.Traverse(a_visitor); } }
private void TraverseAllNodes(IVisitor4 visitor) { if (_nodes == null) { return; } _nodes.Traverse(new _IVisitor4_543(visitor)); }
public static void Traverse(Tree tree, IVisitor4 visitor) { if (tree == null) { return; } tree.Traverse(visitor); }
internal virtual void Traverse(IVisitor4 visitor) { ToQCandidates(); if (_candidates != null) { _candidates.Traverse(visitor); } }
public override void Traverse(IVisitor4 visitor) { if (_freeByAddress == null) { return; } _freeByAddress.Traverse(new _IVisitor4_236(visitor)); }
private void TraverseSlotChanges(IVisitor4 visitor) { if (_parentIdSystem != null) { _parentIdSystem.TraverseSlotChanges(visitor); } _slotChanges.TraverseSlotChanges(visitor); }
public virtual void TraverseAll(ClassMetadata classMetadata, IVisitor4 command) { if (!classMetadata.HasClassIndex()) { return; } classMetadata.Index().TraverseAll(Sourcedb.Transaction(this), command); }
// do nothing public virtual void TraverseReferences(IVisitor4 visitor) { if (_hashCodeTree == null) { return; } _hashCodeTree.Hc_traverse(visitor); }
public void Accept(IVisitor4 visitor) { for (int slotChangeIndex = 0; slotChangeIndex < slotChanges.Length; ++slotChangeIndex) { SlotChange slotChange = slotChanges[slotChangeIndex]; visitor.Visit(slotChange); } }
public static void TraverseKeys(IBTreeRange result, IVisitor4 visitor) { IEnumerator i = result.Keys(); while (i.MoveNext()) { visitor.Visit(i.Current); } }
public void TraverseValues(IVisitor4 userVisitor) { if (!Alive()) { return; } TraverseValues(Container().Transaction, userVisitor); }
protected virtual void TraverseDelete(IVisitor4 deleteVisitor) { if (_delete == null) { return; } _delete.Traverse(deleteVisitor); _delete = null; }
public virtual void TraverseAllIndexSlots(BTree btree, IVisitor4 command) { IEnumerator slotIDIter = btree.AllNodeIds(Sourcedb.Transaction(this)); while (slotIDIter.MoveNext()) { command.Visit(slotIDIter.Current); } }
internal bool Filter(IVisitor4 a_host) { if (i_root != null) { i_root.Traverse(a_host); i_root = i_root.Filter(new _IPredicate4_308()); } return(i_root != null); }
public virtual void VisitCachedReferences(IVisitor4 visitor) { IEnumerator i = _referencesByObject.Values.GetEnumerator(); while (i.MoveNext()) { visitor.Visit(i.Current); } }
public void Accept(IVisitor4 visitor) { for (IEnumerator expectedFreeIdIter = ids.GetEnumerator(); expectedFreeIdIter.MoveNext ();) { int expectedFreeId = ((int)expectedFreeIdIter.Current); visitor.Visit(expectedFreeId); } }
public virtual void TraverseLocked(IVisitor4 visitor) { int currentVersion = _version; Tree.Traverse(_tree, visitor); if (_version != currentVersion) { throw new InvalidOperationException(); } }
internal virtual bool Filter(IVisitor4 visitor) { ToQCandidates(); if (_candidates != null) { _candidates.Traverse(visitor); _candidates = (QCandidateBase)_candidates.Filter(new _IPredicate4_56()); } return _candidates != null; }
protected virtual void Foreach(IExtObjectContainer container, Type clazz, IVisitor4 visitor) { IObjectSet set = NewQuery(container, clazz).Execute(); while (set.HasNext()) { visitor.Visit(set.Next()); } }
public virtual void TraverseMutable(IVisitor4 visitor) { Collection4 currentContent = new Collection4(); TraverseLocked(new _IVisitor4_51(currentContent)); IEnumerator i = currentContent.GetEnumerator(); while (i.MoveNext()) { visitor.Visit(i.Current); } }
internal virtual bool Filter(IVisitor4 visitor) { ToQCandidates(); if (_candidates != null) { _candidates.Traverse(visitor); _candidates = (QCandidateBase)_candidates.Filter(new _IPredicate4_56()); } return(_candidates != null); }
public virtual void TraverseLocked(IVisitor4 visitor) { var currentVersion = _version; Tree.Traverse(_tree, visitor); if (_version != currentVersion) { throw new InvalidOperationException(); } }
public virtual void TraverseKeys(Transaction trans, IVisitor4 visitor) { EnsureActive(trans); if (_root == null) { return; } _root.TraverseKeys(trans, visitor); ConvertCacheEvictedNodesToReadMode(); }
public virtual void TraverseAllIndexSlots(ClassMetadata classMetadata, IVisitor4 command) { IEnumerator slotIDIter = classMetadata.Index().AllSlotIDs(Sourcedb.Transaction(this )); while (slotIDIter.MoveNext()) { command.Visit(slotIDIter.Current); } }
public void Traverse(IVisitor4 visitor) { if (_preceding != null) { _preceding.Traverse(visitor); } visitor.Visit((Tree)this); if (_subsequent != null) { _subsequent.Traverse(visitor); } }
public virtual void TraverseMutable(IVisitor4 visitor) { var currentContent = new Collection4(); TraverseLocked(new _IVisitor4_51(currentContent)); var i = currentContent.GetEnumerator(); while (i.MoveNext()) { visitor.Visit(i.Current); } }
public void TraverseFromLeaves(IVisitor4 a_visitor) { if (_preceding != null) { _preceding.TraverseFromLeaves(a_visitor); } if (_subsequent != null) { _subsequent.TraverseFromLeaves(a_visitor); } a_visitor.Visit(this); }
public void AttachQueryNode(string fieldName, IVisitor4 visitor) { ClassMetadataIterator i = Iterator(); while (i.MoveNext()) { ClassMetadata classMetadata = i.CurrentClass(); if (!classMetadata.IsInternal()) { classMetadata.TraverseAllAspects(new _TraverseFieldCommand_65(fieldName, visitor, classMetadata)); } } }
public virtual void ForEachKeyForIdentity(IVisitor4 visitor, object obj) { for (var i = 0; i < _table.Length; i++) { var entry = _table[i]; while (entry != null) { if (entry._object == obj) { visitor.Visit(entry.Key()); } entry = entry._next; } } }
public void Accept(IVisitor4 visitor) { for (IEnumerator expectedFreeIdIter = ids.GetEnumerator(); expectedFreeIdIter.MoveNext (); ) { int expectedFreeId = ((int)expectedFreeIdIter.Current); visitor.Visit(expectedFreeId); } }
public void Accept(IVisitor4 visitor) { visitor.Visit(id); }
public virtual void Accept(IVisitor4 visitor) { Traverse(new _IVisitor4_513(visitor)); }
internal bool Filter(IVisitor4 a_host) { if (i_root != null) { i_root.Traverse(a_host); i_root = i_root.Filter(new _IPredicate4_308()); } return i_root != null; }
public virtual void TraverseIds(IVisitor4 visitor) { _bTree.TraverseKeys(_container.SystemTransaction(), visitor); }
public _IVisitor4_236(IVisitor4 visitor) { this.visitor = visitor; }
internal virtual void ForEachChildField(string name, IVisitor4 visitor) { IEnumerator i = IterateChildren(); while (i.MoveNext()) { object obj = i.Current; if (obj is QConObject) { if (((QConObject)obj).GetField().Name().Equals(name)) { visitor.Visit(obj); } } } }
protected virtual void Foreach(Type clazz, IVisitor4 visitor) { Foreach(Db(), clazz, visitor); }
public virtual void Traverse(IVisitor4 visitor) { }
public virtual void TraverseValues(IVisitor4 visitor) { _fieldMetadata.TraverseValues(_transaction, visitor); }
public void Accept(IVisitor4 visitor) { slotChanges.TraverseMutable(visitor); }
public _IVisitor4_513(IVisitor4 visitor) { this.visitor = visitor; }
public void Accept(IVisitor4 visitor) { this._enclosing.TraverseSlotChanges(visitor); }
public virtual void Traverse(IVisitor4 visitor) { Hc_traverse(visitor); }