/
Collections.ice
154 lines (115 loc) · 6.13 KB
/
Collections.ice
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/*
* $Id$
*
* Copyright 2008 Glencoe Software, Inc. All rights reserved.
* Use is subject to license terms supplied in LICENSE.txt
*
*/
#ifndef OMERO_COLLECTIONS_ICE
#define OMERO_COLLECTIONS_ICE
#include <omero/ModelF.ice>
#include <omero/RTypes.ice>
#include <omero/System.ice>
#include <Ice/BuiltinSequences.ice>
/*
* Defines various sequences and dictionaries used throughout
* the OMERO API. Defining all of these in one central location
* increases reuse and keeps the library sizes as small as possible.
*
* Some collections cannot be defined here since some types are not
* yet defined.
*/
module omero {
module api {
// Forward definition (used in sequences)
dictionary<string, omero::model::Annotation> SearchMetadata;
//
// Primitive Lists
//
["java:type:java.util.ArrayList<String>:java.util.List<String>"]
sequence<string> StringSet;
["java:type:java.util.ArrayList<Long>:java.util.List<Long>"]
sequence<long> LongList;
["java:type:java.util.ArrayList<Integer>:java.util.List<Integer>"]
sequence<int> IntegerList;
//
// Object lists
//
["java:type:java.util.ArrayList"]
sequence<SearchMetadata> SearchMetadataList;
["java:type:java.util.ArrayList<omero.model.Experimenter>:java.util.List<omero.model.Experimenter>"]
sequence<omero::model::Experimenter> ExperimenterList;
["java:type:java.util.ArrayList<omero.model.ExperimenterGroup>:java.util.List<omero.model.ExperimenterGroup>"]
sequence<omero::model::ExperimenterGroup> ExperimenterGroupList;
["java:type:java.util.ArrayList<omero.model.Event>:java.util.List<omero.model.Event>"]
sequence<omero::model::Event> EventList;
["java:type:java.util.ArrayList<omero.model.EventLog>:java.util.List<omero.model.EventLog>"]
sequence<omero::model::EventLog> EventLogList;
["java:type:java.util.ArrayList<omero.model.Annotation>:java.util.List<omero.model.Annotation>"]
sequence<omero::model::Annotation> AnnotationList;
["java:type:java.util.ArrayList<omero.model.Session>:java.util.List<omero.model.Session>"]
sequence<omero::model::Session> SessionList;
["java:type:java.util.ArrayList<omero.model.IObject>:java.util.List<omero.model.IObject>"]
sequence<omero::model::IObject> IObjectList;
["java:type:java.util.ArrayList<omero.model.Project>:java.util.List<omero.model.Project>"]
sequence<omero::model::Project> ProjectList;
["java:type:java.util.ArrayList<omero.model.Dataset>:java.util.List<omero.model.Dataset>"]
sequence<omero::model::Dataset> DatasetList;
["java:type:java.util.ArrayList<omero.model.Image>:java.util.List<omero.model.Image>"]
sequence<omero::model::Image> ImageList;
["java:type:java.util.ArrayList<omero.model.LogicalChannel>:java.util.List<omero.model.LogicalChannel>"]
sequence<omero::model::LogicalChannel> LogicalChannelList;
["java:type:java.util.ArrayList<omero.model.OriginalFile>:java.util.List<omero.model.OriginalFile>"]
sequence<omero::model::OriginalFile> OriginalFileList;
["java:type:java.util.ArrayList<omero.model.Pixels>:java.util.List<omero.model.Pixels>"]
sequence<omero::model::Pixels> PixelsList;
["java:type:java.util.ArrayList<omero.model.PixelsType>:java.util.List<omero.model.PixelsType>"]
sequence<omero::model::PixelsType> PixelsTypeList;
["java:type:java.util.ArrayList<omero.model.Roi>:java.util.List<omero.model.Roi>"]
sequence<omero::model::Roi> RoiList;
["java:type:java.util.ArrayList<omero.model.ScriptJob>:java.util.List<omero.model.ScriptJob>"]
sequence<omero::model::ScriptJob> ScriptJobList;
["java:type:java.util.ArrayList<omero.model.Shape>:java.util.List<omero.model.Shape>"]
sequence<omero::model::Shape> ShapeList;
// Arrays
sequence<bool> BoolArray;
sequence<byte> ByteArray;
sequence<short> ShortArray;
sequence<int> IntegerArray;
sequence<long> LongArray;
sequence<float> FloatArray;
sequence<double> DoubleArray;
sequence<string> StringArray;
sequence<ByteArray> ByteArrayArray;
sequence<ShortArray> ShortArrayArray;
sequence<IntegerArray> IntegerArrayArray;
sequence<IntegerArrayArray> IntegerArrayArrayArray;
sequence<LongArray> LongArrayArray;
sequence<FloatArray> FloatArrayArray;
sequence<FloatArrayArray> FloatArrayArrayArray;
sequence<DoubleArray> DoubleArrayArray;
sequence<DoubleArrayArray> DoubleArrayArrayArray;
sequence<StringArray> StringArrayArray;
// Dictionaries
dictionary<long, string> LongStringMap;
dictionary<long, int> LongIntMap;
dictionary<long, ByteArray> LongByteArrayMap;
dictionary<long, omero::model::Pixels> LongPixelsMap;
dictionary<string, omero::RType> StringRTypeMap;
dictionary<string, omero::model::Experimenter> UserMap;
dictionary<string, string> StringStringMap;
dictionary<string, StringArray> StringStringArrayMap;
dictionary<string, long> StringLongMap;
dictionary<string, int> StringIntMap;
// Multimaps (dictionaries with sequence values)
dictionary<string, Ice::LongSeq> IdListMap;
dictionary<bool, omero::sys::LongList> BooleanIdListMap;
dictionary<string, IObjectList> IObjectListMap;
dictionary<long, IObjectList> LongIObjectListMap;
dictionary<string, ShapeList> StringShapeListMap;
dictionary<long, ShapeList> LongShapeListMap;
dictionary<int, ShapeList> IntShapeListMap;
dictionary<long, AnnotationList> LongAnnotationListMap;
};
};
#endif