gemfire::SharedArrayPtr< TObj, TYPEID > Class Template Reference

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


Detailed Description

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

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

Public Member Functions

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

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