IGFSerializable vector wrapper that can serve as a distributable object for caching. Public Member Functions | |
| CacheableStack (int32_t capacity) | |
| CacheableStack (IEnumerable< IGFSerializable^ >^collection) | |
| CacheableStack () | |
| virtual IGFSerializable^ | FromData (DataInput^ input) |
| virtual void | ToData (DataOutput^ output) |
| String^ | ToString () |
Static Public Member Functions | |
| static CacheableStack^ | Create (int32_t capacity) |
| static CacheableStack^ | Create (IEnumerable< IGFSerializable^ >^collection) |
| static CacheableStack^ | Create () |
| static IGFSerializable^ | CreateDeserializable () |
Properties | |
| virtual uint32_t | ClassId [get] |
| virtual uint32_t | ObjectSize [get] |
| GemStone::GemFire::Cache::CacheableStack::CacheableStack | ( | ) | [inline] |
Allocates a new empty instance.
| GemStone::GemFire::Cache::CacheableStack::CacheableStack | ( | IEnumerable< IGFSerializable^ >^ | collection | ) | [inline] |
Allocates a new instance copying from the given collection.
| collection | The collection whose elements are copied to this list. |
| GemStone::GemFire::Cache::CacheableStack::CacheableStack | ( | int32_t | capacity | ) | [inline] |
Allocates a new empty instance with given initial size.
| capacity | The initial capacity of the vector. |
| static CacheableStack ^ GemStone::GemFire::Cache::CacheableStack::Create | ( | int32_t | capacity | ) | [inline, static] |
Static function to create a new instance with given initial size.
| static CacheableStack ^ GemStone::GemFire::Cache::CacheableStack::Create | ( | IEnumerable< IGFSerializable^ >^ | collection | ) | [inline, static] |
Static function to create a new instance copying from the given collection.
| static CacheableStack ^ GemStone::GemFire::Cache::CacheableStack::Create | ( | ) | [inline, static] |
Static function to create a new empty instance.
| static IGFSerializable ^ GemStone::GemFire::Cache::CacheableStack::CreateDeserializable | ( | ) | [inline, static] |
Factory function to register this class.
| virtual IGFSerializable ^ GemStone::GemFire::Cache::CacheableStack::FromData | ( | DataInput^ | input | ) | [virtual] |
Deserialize this object, typical implementation should return the 'this' pointer.
| input | the DataInput stream to use for reading the object data |
Implements GemStone::GemFire::Cache::IGFSerializable.
| virtual void GemStone::GemFire::Cache::CacheableStack::ToData | ( | DataOutput^ | output | ) | [virtual] |
Serializes this object.
| output | the DataOutput object to use for serializing the object |
Implements GemStone::GemFire::Cache::IGFSerializable.
| String ^ GemStone::GemFire::Cache::IGFSerializable::ToString | ( | ) | [inherited] |
Return a string representation of the object.
Implemented in GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< TNative, TManaged, TYPEID >, GemStone::GemFire::Cache::CacheableDate, GemStone::GemFire::Cache::CacheableFileName, GemStone::GemFire::Cache::CacheableObject, GemStone::GemFire::Cache::CacheableObjectXml, GemStone::GemFire::Cache::CacheableString, GemStone::GemFire::Cache::Properties, GemStone::GemFire::Cache::Serializable, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableFloat, Single, GemFireClassIds::CacheableFloat >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableByte, Byte, GemFireClassIds::CacheableByte >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableWideChar, Char, GemFireClassIds::CacheableCharacter >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableDouble, Double, GemFireClassIds::CacheableDouble >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt64, int64_t, GemFireClassIds::CacheableInt64 >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableBoolean, bool, GemFireClassIds::CacheableBoolean >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt16, int16_t, GemFireClassIds::CacheableInt16 >, and GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt32, int32_t, GemFireClassIds::CacheableInt32 >.
virtual uint32_t GemStone::GemFire::Cache::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.
Implements GemStone::GemFire::Cache::IGFSerializable.
virtual uint32_t GemStone::GemFire::Cache::CacheableStack::ObjectSize [get] |
return the size of this object in bytes
Implements GemStone::GemFire::Cache::IGFSerializable.