Public Member Functions | |
| CacheableString (array< Char >^value) | |
| CacheableString (String^ value) | |
| virtual bool | Equals (Object^ obj) override |
| virtual bool | Equals (ICacheableKey^ other) override |
| virtual IGFSerializable^ | FromData (DataInput^ input) |
| virtual int32_t | GetHashCode () override |
| virtual void | ToData (DataOutput^ output) |
| virtual String^ | ToString () override |
Static Public Member Functions | |
| static CacheableString^ | Create (array< Char >^value) |
| static CacheableString^ | Create (String^ value) |
| static bool | IsNullOrEmpty (CacheableString^ value) |
| static | operator CacheableKey^ (String^ value) |
| static | operator CacheableKey^ (int64_t value) |
| static | operator CacheableKey^ (int32_t value) |
| static | operator CacheableKey^ (Char value) |
| static | operator CacheableKey^ (int16_t value) |
| static | operator CacheableKey^ (Single value) |
| static | operator CacheableKey^ (Double value) |
| static | operator CacheableKey^ (Byte value) |
| static | operator CacheableKey^ (bool value) |
| static | operator Serializable^ (array< String^ >^value) |
| static | operator Serializable^ (String^ value) |
| static | operator Serializable^ (array< int64_t >^value) |
| static | operator Serializable^ (int64_t value) |
| static | operator Serializable^ (array< int32_t >^value) |
| static | operator Serializable^ (int32_t value) |
| static | operator Serializable^ (array< int16_t >^value) |
| static | operator Serializable^ (Char value) |
| static | operator Serializable^ (int16_t value) |
| static | operator Serializable^ (array< Single >^value) |
| static | operator Serializable^ (Single value) |
| static | operator Serializable^ (array< Double >^value) |
| static | operator Serializable^ (Double value) |
| static | operator Serializable^ (array< Byte >^value) |
| static | operator Serializable^ (Byte value) |
| static | operator Serializable^ (bool value) |
| static | operator String^ (CacheableString^ str) |
| static void | RegisterType (TypeFactoryMethod^ creationMethod) |
Properties | |
| virtual uint32_t | ClassId [get] |
| bool | IsWideString [get] |
| uint32_t | Length [get] |
| virtual uint32_t | ObjectSize [get] |
| String^ | Value [get] |
| GemStone::GemFire::Cache::CacheableString::CacheableString | ( | String^ | value | ) |
Allocates a new instance copying from the given string.
| value | the string value of the new instance |
| IllegalArgumentException | if the provided string is null or has zero length |
| GemStone::GemFire::Cache::CacheableString::CacheableString | ( | array< Char >^ | value | ) |
Allocates a new instance copying from the given character array.
| value | the character array value of the new instance |
| IllegalArgumentException | if the provided array is null or has zero length |
| static CacheableString ^ GemStone::GemFire::Cache::CacheableString::Create | ( | array< Char >^ | value | ) | [inline, static] |
Static function to create a new instance copying from the given character array.
Providing a null or zero size character array will return a null CacheableString object.
| value | the character array value of the new instance |
| static CacheableString ^ GemStone::GemFire::Cache::CacheableString::Create | ( | String^ | value | ) | [inline, static] |
Static function to create a new instance copying from the given string.
Providing a null or zero size string will return a null CacheableString object.
| value | the string value of the new instance |
| virtual bool GemStone::GemFire::Cache::CacheableString::Equals | ( | Object^ | obj | ) | [override, virtual] |
Return true if this key matches other object. It invokes the '==' operator of the underlying gemfire::CacheableString object.
Reimplemented from GemStone::GemFire::Cache::CacheableKey.
| virtual bool GemStone::GemFire::Cache::CacheableString::Equals | ( | ICacheableKey^ | other | ) | [override, virtual] |
Return true if this key matches other object. It invokes the '==' operator of the underlying gemfire::CacheableString object.
Reimplemented from GemStone::GemFire::Cache::CacheableKey.
| virtual IGFSerializable ^ GemStone::GemFire::Cache::Serializable::FromData | ( | DataInput^ | input | ) | [virtual, inherited] |
Deserializes the native (C++) object -- returns an instance of the Serializable class with the native object wrapped inside.
| input | the DataInput stream to use for reading the object data |
Implements GemStone::GemFire::Cache::IGFSerializable.
| virtual int32_t GemStone::GemFire::Cache::CacheableString::GetHashCode | ( | ) | [override, virtual] |
Return the hashcode for this key.
Reimplemented from GemStone::GemFire::Cache::CacheableKey.
| static bool GemStone::GemFire::Cache::CacheableString::IsNullOrEmpty | ( | CacheableString^ | value | ) | [inline, static] |
Static function to check whether IsNullOrEmpty.
This is similar to the C# string.IsNullOrEmpty method.
| value | the CacheableString value to check |
| static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ | ( | String^ | value | ) | [static, inherited] |
Implicit conversion operator from a string to a CacheableKey.
| static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ | ( | int64_t | value | ) | [static, inherited] |
Implicit conversion operator from a 64-bit integer to a CacheableKey.
| static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ | ( | int32_t | value | ) | [static, inherited] |
Implicit conversion operator from a 32-bit integer to a CacheableKey.
| static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ | ( | Char | value | ) | [static, inherited] |
Implicit conversion operator from a character to a CacheableKey.
| static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ | ( | int16_t | value | ) | [static, inherited] |
Implicit conversion operator from a 16-bit integer to a CacheableKey.
| static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ | ( | Single | value | ) | [static, inherited] |
Implicit conversion operator from a float to a CacheableKey.
| static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ | ( | Double | value | ) | [static, inherited] |
Implicit conversion operator from a double to a CacheableKey.
| static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ | ( | Byte | value | ) | [static, inherited] |
Implicit conversion operator from a byte to a CacheableKey.
| static GemStone::GemFire::Cache::CacheableKey::operator CacheableKey^ | ( | bool | value | ) | [static, inherited] |
Implicit conversion operator from a boolean to a CacheableKey.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | array< String^ >^ | value | ) | [static, inherited] |
Implicit conversion operator from a string array to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | String^ | value | ) | [static, inherited] |
Implicit conversion operator from a string to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator 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 Serializable^ | ( | int64_t | value | ) | [static, inherited] |
Implicit conversion operator from a 64-bit integer to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator 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 Serializable^ | ( | int32_t | value | ) | [static, inherited] |
Implicit conversion operator from a 32-bit integer to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator 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 Serializable^ | ( | Char | value | ) | [static, inherited] |
Implicit conversion operator from a character to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | int16_t | value | ) | [static, inherited] |
Implicit conversion operator from a 16-bit integer to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | array< Single >^ | value | ) | [static, inherited] |
Implicit conversion operator from a float array to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | Single | value | ) | [static, inherited] |
Implicit conversion operator from a float to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | array< Double >^ | value | ) | [static, inherited] |
Implicit conversion operator from a double array to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | Double | value | ) | [static, inherited] |
Implicit conversion operator from a double to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | array< Byte >^ | value | ) | [static, inherited] |
Implicit conversion operator from an array of bytes to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | Byte | value | ) | [static, inherited] |
Implicit conversion operator from a byte to a Serializable.
| static GemStone::GemFire::Cache::Serializable::operator Serializable^ | ( | bool | value | ) | [static, inherited] |
Implicit conversion operator from a boolean to a Serializable.
| static GemStone::GemFire::Cache::CacheableString::operator String^ | ( | CacheableString^ | str | ) | [inline, static] |
Implicit conversion operator to underlying System.String.
| 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.
| creationMethod | the creation function to register |
| 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. |
| virtual void GemStone::GemFire::Cache::Serializable::ToData | ( | DataOutput^ | output | ) | [virtual, inherited] |
Serializes this native (C++) object.
| output | the DataOutput object to use for serializing the object |
Implements GemStone::GemFire::Cache::IGFSerializable.
| virtual String ^ GemStone::GemFire::Cache::CacheableString::ToString | ( | ) | [inline, override, virtual] |
Return a string representation of the object. This returns the same string as Value property.
Reimplemented from GemStone::GemFire::Cache::Serializable.
virtual uint32_t GemStone::GemFire::Cache::Serializable::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.
Implements GemStone::GemFire::Cache::IGFSerializable.
Reimplemented in GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< TNative, TManaged, TYPEID >, GemStone::GemFire::Cache::Internal::CacheableBuiltinArray< TNative, TNativePtr, TManaged, TYPEID >, GemStone::GemFire::Cache::Internal::CacheableHashSetType< HSTYPE >, GemStone::GemFire::Cache::CacheableStringArray, 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 >, GemStone::GemFire::Cache::Internal::CacheableBuiltinKey< gemfire::CacheableInt32, int32_t, GemFireClassIds::CacheableInt32 >, GemStone::GemFire::Cache::Internal::CacheableBuiltinArray< gemfire::CacheableBytes, gemfire::CacheableBytesPtr, Byte, GemFireClassIds::CacheableBytes >, GemStone::GemFire::Cache::Internal::CacheableBuiltinArray< gemfire::CacheableInt32Array, gemfire::CacheableInt32ArrayPtr, int32_t, GemFireClassIds::CacheableInt32Array >, GemStone::GemFire::Cache::Internal::CacheableBuiltinArray< gemfire::CacheableInt64Array, gemfire::CacheableInt64ArrayPtr, int64_t, GemFireClassIds::CacheableInt64Array >, GemStone::GemFire::Cache::Internal::CacheableBuiltinArray< gemfire::CacheableFloatArray, gemfire::CacheableFloatArrayPtr, Single, GemFireClassIds::CacheableFloatArray >, GemStone::GemFire::Cache::Internal::CacheableBuiltinArray< gemfire::CacheableInt16Array, gemfire::CacheableInt16ArrayPtr, int16_t, GemFireClassIds::CacheableInt16Array >, GemStone::GemFire::Cache::Internal::CacheableBuiltinArray< gemfire::CacheableDoubleArray, gemfire::CacheableDoubleArrayPtr, Double, GemFireClassIds::CacheableDoubleArray >, GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableHashSet >, and GemStone::GemFire::Cache::Internal::CacheableHashSetType< gemfire::CacheableLinkedHashSet >.
bool GemStone::GemFire::Cache::CacheableString::IsWideString [get] |
True when the underlying C string is a wide-character string.
uint32_t GemStone::GemFire::Cache::CacheableString::Length [get] |
Gets the length of the underlying C string.
virtual uint32_t GemStone::GemFire::Cache::Serializable::ObjectSize [get, inherited] |
return the size of this object in bytes
Implements GemStone::GemFire::Cache::IGFSerializable.
String^ GemStone::GemFire::Cache::CacheableString::Value [get] |
Gets the string value.