VMware GemFire Native C++ Reference  9.1
Cacheable.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef GEODE_CACHEABLE_H_
4 #define GEODE_CACHEABLE_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 
27 #include "geode_globals.hpp"
28 #include "Serializable.hpp"
29 
30 namespace apache {
31 namespace geode {
32 namespace client {
33 
34 typedef SerializablePtr CacheablePtr;
35 typedef Serializable Cacheable;
36 
37 template <typename TVALUE>
38 inline CacheablePtr createValue(const SharedPtr<TVALUE>& value);
39 
40 template <typename TVALUE>
41 inline CacheablePtr createValue(const TVALUE* value);
42 } // namespace client
43 } // namespace geode
44 } // namespace apache
45 
46 #endif // GEODE_CACHEABLE_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