aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Storage/LocalStorageDb4o/UUIDQuery.cs
blob: 16b6685c3b962f25ecfbbf4bc1edef27d5cd1e2c (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.Assets;

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