VMware GemFire Native C++ Reference  9.1
GeodeTypeIds.hpp
1 #pragma once
2 
3 #ifndef GEODE_GEODETYPEIDS_H_
4 #define GEODE_GEODETYPEIDS_H_
5 
6 /*
7  * Licensed to the Apache Software Foundation (ASF) under one or more
8  * contributor license agreements. See the NOTICE file distributed with
9  * this work for additional information regarding copyright ownership.
10  * The ASF licenses this file to You under the Apache License, Version 2.0
11  * (the "License"); you may not use this file except in compliance with
12  * the License. You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  */
22 
23 namespace apache {
24 namespace geode {
25 namespace client {
26 
27 class GeodeTypeIds {
28  public:
29  // User visible IDs here
30  // Internal IDs are in GeodeTypeIds.hpp
31 
32  enum IdValues {
33  // Do not use IDs 5 and 6 which are used by .NET
34  // ManagedObject and ManagedObjectXml. If those are
35  // required then change those in GeodeTypeIdsM.hpp
36 
37  // keep the following in alphabetical order please.
38  EnumInfo = 9,
39  CacheableLinkedList = 10,
40  Properties = 11,
41  PdxType = 17, // internal hack to read pdxtype in c# layer, look usuage in
42  // TcrMessage and C# DistributedM.cpp
43  BooleanArray = 26,
44  CharArray = 27,
45  RegionAttributes = 30, // because there's no equivalence in java
46  CacheableUndefined = 31,
47  Struct = 32,
48  NullObj = 41,
49  CacheableString = 42,
50  CacheableBytes = 46,
51  CacheableInt16Array = 47,
52  CacheableInt32Array = 48,
53  CacheableInt64Array = 49,
54  CacheableFloatArray = 50,
55  CacheableDoubleArray = 51,
56  CacheableObjectArray = 52,
57  CacheableBoolean = 53,
58  CacheableWideChar = 54,
59  CacheableByte = 55,
60  CacheableInt16 = 56,
61  CacheableInt32 = 57,
62  CacheableInt64 = 58,
63  CacheableFloat = 59,
64  CacheableDouble = 60,
65  CacheableDate = 61,
66  CacheableFileName = 63,
67  CacheableStringArray = 64,
68  CacheableArrayList = 65,
69  CacheableHashSet = 66,
70  CacheableHashMap = 67,
71  CacheableTimeUnit = 68,
72  CacheableNullString = 69,
73  CacheableHashTable = 70,
74  CacheableVector = 71,
75  CacheableIdentityHashMap = 72,
76  CacheableLinkedHashSet = 73,
77  CacheableStack = 74,
78  CacheableASCIIString = 87,
79  CacheableASCIIStringHuge = 88,
80  CacheableStringHuge = 89,
81  CacheableEnum = 94
82  };
83 };
84 } // namespace client
85 } // namespace geode
86 } // namespace apache
87 
88 #endif // GEODE_GEODETYPEIDS_H_
Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
This namespace contains all the Geode C++ API classes, enumerations and globals.

Pivotal GemFire C++ Cache API Documentation