build-artifacts/win/product/include/gfcpp/Cacheable.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_CACHEABLE_H__
00002 #define __GEMFIRE_CACHEABLE_H__
00003 /*=========================================================================
00004  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
00005  * This product is protected by U.S. and international copyright
00006  * and intellectual property laws. Pivotal products are covered by
00007  * more patents listed at http://www.pivotal.io/patents.
00008  *========================================================================
00009  */
00010 
00015 #include "gfcpp_globals.hpp"
00016 #include "Serializable.hpp"
00017 
00018 namespace gemfire {
00019 
00020 typedef SerializablePtr CacheablePtr;
00021 typedef Serializable Cacheable;
00022 
00023 template <typename TVALUE>
00024 inline CacheablePtr createValue( const SharedPtr< TVALUE >& value );
00025 
00026 template <typename TVALUE>
00027 inline CacheablePtr createValue( const TVALUE* value );
00028 
00029 } //namespace gemfire
00030 
00031 #endif //ifndef __GEMFIRE_CACHEABLE_H__

GemFire C++ Cache API Documentation