VMware GemFire Native C++ Reference  9.1
apache::geode::client::SharedArrayPtr< TObj, TYPEID > Class Template Reference

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

Inherits apache::geode::client::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 apache::geode::client::SharedArrayPtr< TObj, TYPEID >

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

Constructor & Destructor Documentation

template<typename TObj, int8_t TYPEID>
apache::geode::client::SharedArrayPtr< TObj, TYPEID >::SharedArrayPtr ( )
inline

Default constructor.

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

Constructor, given a pointer to array.

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

Constructor, given a null SharedBase.

template<typename TObj, int8_t TYPEID>
apache::geode::client::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>
apache::geode::client::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 >
apache::geode::client::SharedArrayPtr< TObj, TYPEID >::SharedArrayPtr ( const SharedPtr< TOther > &  other)
inline

Constructor, given another SharedPtr.

Member Function Documentation

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

Deserialize self.

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

Get the element at given index.


Pivotal GemFire C++ Cache API Documentation