2007-03-22 10:11:15 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Text;
|
|
|
|
using Db4objects.Db4o;
|
|
|
|
using Db4objects.Db4o.Query;
|
|
|
|
using libsecondlife;
|
|
|
|
using OpenSim.Framework.Interfaces;
|
2007-04-25 13:03:48 +00:00
|
|
|
using OpenSim.Framework.Types;
|
2007-03-22 10:11:15 +00:00
|
|
|
|
|
|
|
namespace OpenSim.Storage.LocalStorageDb4o
|
|
|
|
{
|
|
|
|
public class UUIDQuery : Predicate
|
|
|
|
{
|
|
|
|
private LLUUID _findID;
|
|
|
|
|
|
|
|
public UUIDQuery(LLUUID find)
|
|
|
|
{
|
|
|
|
_findID = find;
|
|
|
|
}
|
|
|
|
public bool Match(PrimData prim)
|
|
|
|
{
|
|
|
|
return (prim.FullID == _findID);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|