blob: db4034fce274ec4ee052845cbba9590068ebf347 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
// **********************************************************************
//
// Copyright (c) 2003
// ZeroC, Inc.
// Billerica, MA, USA
//
// All Rights Reserved.
//
// Ice is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License version 2 as published by
// the Free Software Foundation.
//
// **********************************************************************
#include <Freeze/Index.h>
#include <Freeze/IndexI.h>
using namespace Freeze;
using namespace Ice;
using namespace std;
Freeze::Index::~Index()
{
delete _impl;
}
Freeze::Index::Index(const string& name) :
_impl(new IndexI(*this, name))
{
}
vector<Identity>
Freeze::Index::untypedFindFirst(const Key& bytes, Int firstN) const
{
return _impl->untypedFindFirst(bytes, firstN);
}
vector<Identity>
Freeze::Index::untypedFind(const Key& bytes) const
{
return _impl->untypedFind(bytes);
}
Int
Freeze::Index::untypedCount(const Key& bytes) const
{
return _impl->untypedCount(bytes);
}
|