VMware GemFire Native .NET Reference  9.2.4
Apache::Geode::Client::CacheableStack Class Reference

A mutable IGeodeSerializable vector wrapper that can serve as a distributable object for caching. More...

Inherits Apache::Geode::Client::IGeodeSerializable.

Public Member Functions

 CacheableStack (System::Collections::ICollection^ stack)
 Allocates a new empty instance. More...
 
virtual IGeodeSerializableFromData (DataInput^ input)
 Deserialize this object, typical implementation should return the 'this' pointer. More...
 
virtual void ToData (DataOutput^ output)
 Serializes this object. More...
 
String ^ ToString ()
 Return a string representation of the object. More...
 

Static Public Member Functions

static CacheableStackCreate ()
 Static function to create a new empty instance. More...
 
static CacheableStackCreate (System::Collections::ICollection^ stack)
 Static function to create a new empty instance. More...
 
static IGeodeSerializableCreateDeserializable ()
 Factory function to register this class. More...
 

Properties

virtual System::UInt32 ClassId [get]
 Returns the classId of the instance being serialized. More...
 
virtual System::UInt32 ObjectSize [get]
 return the size of this object in bytes More...
 

Detailed Description

A mutable IGeodeSerializable vector wrapper that can serve as a distributable object for caching.

Constructor & Destructor Documentation

◆ CacheableStack()

Apache::Geode::Client::CacheableStack::CacheableStack ( System::Collections::ICollection^  stack)
inline

Allocates a new empty instance.

Member Function Documentation

◆ Create() [1/2]

static CacheableStack ^ Apache::Geode::Client::CacheableStack::Create ( )
inlinestatic

Static function to create a new empty instance.

◆ Create() [2/2]

static CacheableStack ^ Apache::Geode::Client::CacheableStack::Create ( System::Collections::ICollection^  stack)
inlinestatic

Static function to create a new empty instance.

◆ CreateDeserializable()

static IGeodeSerializable ^ Apache::Geode::Client::CacheableStack::CreateDeserializable ( )
inlinestatic

Factory function to register this class.

◆ FromData()

virtual IGeodeSerializable ^ Apache::Geode::Client::CacheableStack::FromData ( DataInput input)
virtual

Deserialize this object, typical implementation should return the 'this' pointer.

Parameters
inputthe DataInput stream to use for reading the object data
Returns
the deserialized object

Implements Apache::Geode::Client::IGeodeSerializable.

◆ ToData()

virtual void Apache::Geode::Client::CacheableStack::ToData ( DataOutput output)
virtual

Serializes this object.

Parameters
outputthe DataOutput object to use for serializing the object

Implements Apache::Geode::Client::IGeodeSerializable.

◆ ToString()

String ^ Apache::Geode::Client::IGeodeSerializable::ToString ( )
inherited

Return a string representation of the object.

Implemented in Apache::Geode::Client::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt32Array, apache::geode::client::CacheableInt32ArrayPtr, System::Int32, GeodeClassIds::CacheableInt32Array >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableDoubleArray, apache::geode::client::CacheableDoubleArrayPtr, Double, GeodeClassIds::CacheableDoubleArray >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt16Array, apache::geode::client::CacheableInt16ArrayPtr, System::Int16, GeodeClassIds::CacheableInt16Array >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableBytes, apache::geode::client::CacheableBytesPtr, Byte, GeodeClassIds::CacheableBytes >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CharArray, apache::geode::client::CharArrayPtr, Char, GeodeClassIds::CharArray >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableFloatArray, apache::geode::client::CacheableFloatArrayPtr, Single, GeodeClassIds::CacheableFloatArray >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::BooleanArray, apache::geode::client::BooleanArrayPtr, bool, GeodeClassIds::BooleanArray >, Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt64Array, apache::geode::client::CacheableInt64ArrayPtr, System::Int64, GeodeClassIds::CacheableInt64Array >, Apache::Geode::Client::Properties< TPropKey, TPropValue >, Apache::Geode::Client::Properties< String^, String^>, Apache::Geode::Client::CacheableString, Apache::Geode::Client::CacheableStringArray, Apache::Geode::Client::Serializable, Apache::Geode::Client::CacheableObjectXml, Apache::Geode::Client::CacheableObject, Apache::Geode::Client::CacheableDate, Apache::Geode::Client::CacheableFileName, Apache::Geode::Client::CacheableBuiltinKey< TNative, TManaged, TYPEID >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableFloat, Single, GeodeClassIds::CacheableFloat >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableInt32, System::Int32, GeodeClassIds::CacheableInt32 >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableDouble, Double, GeodeClassIds::CacheableDouble >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableBoolean, bool, GeodeClassIds::CacheableBoolean >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableInt64, System::Int64, GeodeClassIds::CacheableInt64 >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableInt16, System::Int16, GeodeClassIds::CacheableInt16 >, Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableWideChar, Char, GeodeClassIds::CacheableCharacter >, and Apache::Geode::Client::CacheableBuiltinKey< apache::geode::client::CacheableByte, Byte, GeodeClassIds::CacheableByte >.

Property Documentation

◆ ClassId

virtual System:: UInt32 Apache::Geode::Client::CacheableStack::ClassId
get

Returns the classId of the instance being serialized.

This is used by deserialization to determine what instance type to create and deserialize into.

Returns
the classId

◆ ObjectSize

virtual System:: UInt32 Apache::Geode::Client::CacheableStack::ObjectSize
get

return the size of this object in bytes


VMware GemFire .NET Cache API Documentation