| Apache Ignite C++

binary_consts.h
Go to the documentation of this file.
1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
23 #ifndef _IGNITE_BINARY_BINARY_CONSTS
24 #define _IGNITE_BINARY_BINARY_CONSTS
25
26 namespace ignite
27 {
28 namespace binary
29 {
33 struct CollectionType
34 {
35 enum Type
36 {
40 UNDEFINED = 0,
41
45 ARRAY_LIST = 1,
46
50 LINKED_LIST = 2,
51
55 HASH_SET = 3,
56
60 LINKED_HASH_SET = 4
61 };
62 };
63
67 struct MapType
68 {
69 enum Type
70 {
74 UNDEFINED = 0,
75
79 HASH_MAP = 1,
80
84 LINKED_HASH_MAP = 2
85 };
86 };
87 }
88 }
89
90 #endif //_IGNITE_BINARY_BINARY_CONSTS
ignite::binary::CollectionType::ARRAY_LIST
Array list.
Definition: binary_consts.h:45
ignite::binary::CollectionType::HASH_SET
Hash set.
Definition: binary_consts.h:55
ignite::binary::CollectionType::LINKED_LIST
Linked list.
Definition: binary_consts.h:50
ignite::binary::CollectionType::Type
Type
Definition: binary_consts.h:35
ignite::binary::MapType::Type
Type
Definition: binary_consts.h:69
ignite::binary::MapType
Binary map types.
Definition: binary_consts.h:67
ignite::binary::CollectionType::UNDEFINED
Undefined.
Definition: binary_consts.h:40
ignite::binary::CollectionType::LINKED_HASH_SET
Linked hash set.
Definition: binary_consts.h:60
ignite::binary::CollectionType
Binary collection types.
Definition: binary_consts.h:33
ignite
Apache Ignite API.
Definition: cache.h:48