Pivotal GemFire Native Client Cache Reference  9.0.6
gemfire::SharedArrayPtr< TObj, TYPEID > Class Template Reference

Template class for CacheableArrayType SharedPtr's that adds [] operator. More...

Inherits gemfire::SharedPtr< CacheableArrayType< TObj, TYPEID > >.

Public Member Functions

SerializablefromData (DataInput &input)
 Deserialize self. More...
 
TObj operator[] (uint32_t index) const
 Get the element at given index. More...
 
 SharedArrayPtr ()
 Default constructor. More...
 
 SharedArrayPtr (const TArray *ptr)
 Constructor, given a pointer to array. More...
 
 SharedArrayPtr (const NullSharedBase *ptr)
 Constructor, given a null SharedBase. More...
 
 SharedArrayPtr (const SharedArrayPtr &other)
 Constructor, given another SharedArrayPtr. More...
 
template<typename TOther , int8_t OTHERID>
 SharedArrayPtr (const SharedArrayPtr< TOther, OTHERID > &other)
 Constructor, given another kind of SharedArrayPtr. More...
 
template<typename TOther >
 SharedArrayPtr (const SharedPtr< TOther > &other)
 Constructor, given another SharedPtr. More...
 

Detailed Description

template<typename TObj, int8_t TYPEID>
class gemfire::SharedArrayPtr< TObj, TYPEID >

Template class for CacheableArrayType SharedPtr's that adds [] operator.

Constructor & Destructor Documentation

template<typename TObj, int8_t TYPEID>
gemfire::SharedArrayPtr< TObj, TYPEID >::SharedArrayPtr ( )
inline

Default constructor.

template<typename TObj, int8_t TYPEID>
gemfire::SharedArrayPtr< TObj, TYPEID >::SharedArrayPtr ( const TArray ptr)
inline

Constructor, given a pointer to array.

template<typename TObj, int8_t TYPEID>
gemfire::SharedArrayPtr< TObj, TYPEID >::SharedArrayPtr ( const NullSharedBase ptr)
inline

Constructor, given a null SharedBase.

template<typename TObj, int8_t TYPEID>
gemfire::SharedArrayPtr< TObj, TYPEID >::SharedArrayPtr ( const SharedArrayPtr< TObj, TYPEID > &  other)
inline

Constructor, given another SharedArrayPtr.

template<typename TObj, int8_t TYPEID>
template<typename TOther , int8_t OTHERID>
gemfire::SharedArrayPtr< TObj, TYPEID >::SharedArrayPtr ( const SharedArrayPtr< TOther, OTHERID > &  other)
inline

Constructor, given another kind of SharedArrayPtr.

template<typename TObj, int8_t TYPEID>
template<typename TOther >
gemfire::SharedArrayPtr< TObj, TYPEID >::SharedArrayPtr ( const SharedPtr< TOther > &  other)
inline

Constructor, given another SharedPtr.

Member Function Documentation

template<typename TObj, int8_t TYPEID>
Serializable* gemfire::SharedArrayPtr< TObj, TYPEID >::fromData ( DataInput input)
inline

Deserialize self.

template<typename TObj, int8_t TYPEID>
TObj gemfire::SharedArrayPtr< TObj, TYPEID >::operator[] ( uint32_t  index) const
inline

Get the element at given index.


GemFire C++ Cache API Documentation