aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Storage/LocalStorageDb4o/UUIDQuery.cs
blob: ba9e13914e24d6cdf60f17b25a4eab5c44807317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Collections.Generic;
using System.Text;
using Db4objects.Db4o;
using Db4objects.Db4o.Query;
using libsecondlife;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;

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);
        }
    }
}