GemStone::GemFire::Cache::CacheableFloatArray Class Reference

Inherits GemStone::GemFire::Cache::Template::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >< gemfire::CacheableFloatArray, gemfire::CacheableFloatArrayPtr, Single, GemFireClassIds::CacheableFloatArray >.


Detailed Description

An immutable wrapper for array of floats that can serve as a distributable object for caching.

Public Member Functions

virtual
GemStone::GemFire::Cache::IGFSerializable
FromData (GemStone::GemFire::Cache::DataInput^ input) override
virtual void ToData (GemStone::GemFire::Cache::DataOutput^ output) override
virtual String^ ToString () override

Static Public Member Functions

static
CacheableFloatArray
Create (array< Single >^value, int32_t length)
static
CacheableFloatArray
Create (array< Single >^value)
static
GemStone::GemFire::Cache::IGFSerializable
CreateDeserializable ()
static o (CacheableFloatArray^ value)
static operator GemStone::GemFire::Cache::Serializable^ (array< String^ >^value)
static operator GemStone::GemFire::Cache::Serializable^ (String^ value)
static operator GemStone::GemFire::Cache::Serializable^ (array< int64_t >^value)
static operator GemStone::GemFire::Cache::Serializable^ (array< int32_t >^value)
static operator GemStone::GemFire::Cache::Serializable^ (int32_t value)
static operator GemStone::GemFire::Cache::Serializable^ (array< int16_t >^value)
static operator GemStone::GemFire::Cache::Serializable^ (array< Char >^value)
static operator GemStone::GemFire::Cache::Serializable^ (Char value)
static operator GemStone::GemFire::Cache::Serializable^ (int16_t value)
static operator GemStone::GemFire::Cache::Serializable^ (array< Single >^value)
static operator GemStone::GemFire::Cache::Serializable^ (Single value)
static operator GemStone::GemFire::Cache::Serializable^ (array< Double >^value)
static operator GemStone::GemFire::Cache::Serializable^ (Double value)
static operator GemStone::GemFire::Cache::Serializable^ (array< bool >^value)
static operator GemStone::GemFire::Cache::Serializable^ (array< Byte >^value)
static operator GemStone::GemFire::Cache::Serializable^ (Byte value)
static operator GemStone::GemFire::Cache::Serializable^ (bool value)
static operator Serializable^ (int64_t value)
static void RegisterType (TypeFactoryMethod^ creationMethod)

Properties

virtual uint32_t ClassId [get]
TManaged Item [get]
int32_t Length [get]
virtual uint32_t ObjectSize [get]
array< TManaged >^ Value [get]

Member Function Documentation

static CacheableFloatArray ^ GemStone::GemFire::Cache::CacheableFloatArray::Create ( array< Single >^  value,
int32_t  length 
) [inline, static]

Static function to create a new instance copying from the given array.

Providing a null or zero size array will return a null object.

Parameters:
value the array to create the new instance

static CacheableFloatArray ^ GemStone::GemFire::Cache::CacheableFloatArray::Create ( array< Single >^  value  )  [inline, static]

Static function to create a new instance copying from the given array.

Providing a null or zero size array will return a null object.

Parameters:
value the array to create the new instance

static GemStone::GemFire::Cache::IGFSerializable ^ GemStone::GemFire::Cache::CacheableFloatArray::CreateDeserializable (  )  [inline, static]

Factory function to register this class.

template<typename TNative, typename TNativePtr, typename TManaged, uint32_t TYPEID>
virtual GemStone::GemFire::Cache::IGFSerializable ^ GemStone::GemFire::Cache::Template::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >::FromData ( GemStone::GemFire::Cache::DataInput^   input  )  [inline, override, virtual, inherited]

Deserializes the native (C++) object -- returns an instance of the Serializable class with the native object wrapped inside.

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

Reimplemented from GemStone::GemFire::Cache::Serializable.

static GemStone::GemFire::Cache::CacheableFloatArray::o ( CacheableFloatArray^   value  )  [inline, explicit, static]

Explicit conversion operator to contained array type.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( array< String^ >^  value  )  [static, inherited]

Implicit conversion operator from a string array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( String^   value  )  [static, inherited]

Implicit conversion operator from a string to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( array< int64_t >^  value  )  [static, inherited]

Implicit conversion operator from a 64-bit integer array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( array< int32_t >^  value  )  [static, inherited]

Implicit conversion operator from a 32-bit integer array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( int32_t  value  )  [static, inherited]

Implicit conversion operator from a 32-bit integer to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( array< int16_t >^  value  )  [static, inherited]

Implicit conversion operator from a 16-bit integer array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( array< Char >^  value  )  [static, inherited]

Implicit conversion operator from a character array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( Char  value  )  [static, inherited]

Implicit conversion operator from a character to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( int16_t  value  )  [static, inherited]

Implicit conversion operator from a 16-bit integer to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( array< Single >^  value  )  [static, inherited]

Implicit conversion operator from a float array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( Single  value  )  [static, inherited]

Implicit conversion operator from a float to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( array< Double >^  value  )  [static, inherited]

Implicit conversion operator from a double array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( Double  value  )  [static, inherited]

Implicit conversion operator from a double to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( array< bool >^  value  )  [static, inherited]

Implicit conversion operator from an boolean array to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( array< Byte >^  value  )  [static, inherited]

Implicit conversion operator from an array of bytes to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( Byte  value  )  [static, inherited]

Implicit conversion operator from a byte to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator GemStone::GemFire::Cache::Serializable^ ( bool  value  )  [static, inherited]

Implicit conversion operator from a boolean to a Serializable.

static GemStone::GemFire::Cache::Serializable::operator Serializable^ ( int64_t  value  )  [static, inherited]

Implicit conversion operator from a 64-bit integer to a Serializable.

static void GemStone::GemFire::Cache::Serializable::RegisterType ( TypeFactoryMethod^   creationMethod  )  [static, inherited]

Register an instance factory method for a given type. This should be used when registering types that implement IGFSerializable.

Parameters:
creationMethod the creation function to register
Exceptions:
IllegalArgumentException if the method is null
IllegalStateException if the typeId has already been registered, or there is an error in registering the type; check Utils::LastError for more information in the latter case.

template<typename TNative, typename TNativePtr, typename TManaged, uint32_t TYPEID>
virtual void GemStone::GemFire::Cache::Template::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >::ToData ( GemStone::GemFire::Cache::DataOutput^   output  )  [inline, override, virtual, inherited]

Serializes this native (C++) object.

Parameters:
output the DataOutput object to use for serializing the object

Reimplemented from GemStone::GemFire::Cache::Serializable.

template<typename TNative, typename TNativePtr, typename TManaged, uint32_t TYPEID>
virtual String ^ GemStone::GemFire::Cache::Template::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >::ToString (  )  [inline, override, virtual, inherited]

Return a string representation of the object. It simply returns the string representation of the underlying native object by calling its toString() function.

Reimplemented from GemStone::GemFire::Cache::Serializable.


Property Documentation

template<typename TNative, typename TNativePtr, typename TManaged, uint32_t TYPEID>
virtual uint32_t GemStone::GemFire::Cache::Template::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >::ClassId [get, inherited]

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

Reimplemented from GemStone::GemFire::Cache::Serializable.

template<typename TNative, typename TNativePtr, typename TManaged, uint32_t TYPEID>
TManaged GemStone::GemFire::Cache::Template::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >::Item [get, inherited]

Returns the value at the given index.

template<typename TNative, typename TNativePtr, typename TManaged, uint32_t TYPEID>
int32_t GemStone::GemFire::Cache::Template::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >::Length [get, inherited]

Returns the size of this array.

template<typename TNative, typename TNativePtr, typename TManaged, uint32_t TYPEID>
virtual uint32_t GemStone::GemFire::Cache::Template::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >::ObjectSize [get, inherited]

return the size of this object in bytes

Reimplemented from GemStone::GemFire::Cache::Serializable.

template<typename TNative, typename TNativePtr, typename TManaged, uint32_t TYPEID>
array< TManaged>^ GemStone::GemFire::Cache::Template::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >::Value [get, inherited]

Returns a copy of the underlying array.


GemFire C++ Cache .NET API Documentation