]> err.no Git - sope/blob - sope-gdl1/GDLAccess/EOArrayProxy.h
added missing inline pathes
[sope] / sope-gdl1 / GDLAccess / EOArrayProxy.h
1 /* 
2    EOArrayProxy.h
3
4    Copyright (C) 1999 MDlink online service center GmbH, Helge Hess
5
6    Author: Helge Hess (hh@mdlink.de)
7    Date:   1999
8
9    This file is part of the GNUstep Database Library.
10
11    This library is free software; you can redistribute it and/or
12    modify it under the terms of the GNU Library General Public
13    License as published by the Free Software Foundation; either
14    version 2 of the License, or (at your option) any later version.
15
16    This library is distributed in the hope that it will be useful,
17    but WITHOUT ANY WARRANTY; without even the implied warranty of
18    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19    Library General Public License for more details.
20
21    You should have received a copy of the GNU Library General Public
22    License along with this library; see the file COPYING.LIB.
23    If not, write to the Free Software Foundation,
24    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 */
26 // $Id: EOArrayProxy.h 1 2004-08-20 10:38:46Z znek $
27
28 #ifndef __eoaccess_EOArrayProxy_H__
29 #define __eoaccess_EOArrayProxy_H__
30
31 #import <Foundation/NSArray.h>
32
33 /*
34  * EOArrayProxy class
35  */
36
37 @class NSArray, NSString;
38 @class EODatabaseChannel, EOSQLQualifier, EOEntity;
39
40 @interface EOArrayProxy : NSArray
41 {
42 @private
43   EODatabaseChannel *channel;
44   EOSQLQualifier    *qualifier;
45   NSArray           *fetchOrder;
46   NSArray           *content;
47 }
48
49 + (id)arrayProxyWithQualifier:(EOSQLQualifier *)_qualifier
50   fetchOrder:(NSArray *)_fetchOrder
51   channel:(EODatabaseChannel *)_channel;
52
53 // accessors
54
55 - (BOOL)isFetched;
56 - (EODatabaseChannel *)databaseChannel;
57 - (EOEntity *)entity;
58 - (NSArray *)fetchOrder;
59 - (EOSQLQualifier *)qualifier;
60
61 // operations
62
63 - (BOOL)fetch;
64
65 @end
66
67 #endif /* __eoaccess_EOArrayProxy_H__ */