TValueHelper Class Helper

Represents type TValueHelper.

Namespace: Spring
type
 TValueHelper = record helper for TValue
 end;
 NameDescription
Kind

Specifies the type kind of the stored value.

ValueType

Returns the TRttiType of the stored value.

Top
 NameDescription
&&op_Equality(TValue,TValue)

Represents method &&op_Equality(TValue,TValue).

&&op_Implicit(Currency)

Overloaded. Represents method &&op_Implicit(Currency).

&&op_Implicit(Double)

Overloaded. Represents method &&op_Implicit(Double).

&&op_Implicit(Single)

Overloaded. Represents method &&op_Implicit(Single).

&&op_Implicit(TDate)

Overloaded. Represents method &&op_Implicit(TDate).

&&op_Implicit(TDateTime)

Overloaded. Represents method &&op_Implicit(TDateTime).

&&op_Implicit(TTime)

Overloaded. Represents method &&op_Implicit(TTime).

&&op_Implicit(TVarRec)

Overloaded. Represents method &&op_Implicit(TVarRec).

&&op_Implicit(UInt64)

Overloaded. Represents method &&op_Implicit(UInt64).

&&op_Inequality(TValue,TValue)

Represents method &&op_Inequality(TValue,TValue).

AsPointer

Represents method AsPointer.

AsType<T>

Casts the currently stored value to another type.

Cast(PTypeInfo)

Casts the currently stored value to another type.

CompareTo(TValue)

Compares to another TValue.

ConvertTo(PTypeInfo)

Overloaded. Comverts the stored value to another type.

ConvertTo<T>

Overloaded. Comverts the stored value to another type.

Equals(TValue)

Checks for equality with another TValue.

Free

If the stored value is an object it will get destroyed/disposed.

From(Pointer,PTypeInfo)

Overloaded. Represents method From(Pointer,PTypeInfo).

From(TObject,TClass)

Overloaded. Represents method From(TObject,TClass).

FromFloat(PTypeInfo,Extended)

Overloaded. Represents method FromFloat(PTypeInfo,Extended).

FromVariant(Variant)

Represents method FromVariant(Variant).

FromVarRec(TVarRec)

Returns a TValue that holds the value that was passed in a TVarRec. The TypeInfo of the returned TValue depends on the VType of the passed TVarRec.

GetArray

Returns the array content.

GetNullableValue

Returns the stored nullable value or TValue.Empty when it is null.

GetTypeKind

Represents method GetTypeKind.

GetValueType

Represents method GetValueType.

Init(Pointer)

Represents method Init(Pointer).

IsFloat

Checks whether the stored value is a float type.

IsInstance

Checks whether the stored value is an object or interface reference.

IsInterface

Checks whether the stored value is an interface reference.

IsNumeric

Checks whether the stored value is a numeric type.

IsString

Checks whether the stored value is a string.

IsVariant

Checks whether the stored value is a Variant.

RaiseConversionError(PTypeInfo,PTypeInfo)

Represents method RaiseConversionError(PTypeInfo,PTypeInfo).

SetNullableValue(TValue)

Sets the stored value of a nullable.

ToObject

Returns the stored value as TObject.

ToString

Returns the string representation of the stored value.

ToType<T>

Converts stored value to the specified type.

ToVariant

Returns the stored value as Variant.

TryAsInterface(PTypeInfo,Void)

Represents method TryAsInterface(PTypeInfo,Void).

TryConvert(PTypeInfo,TValue)

Overloaded. Tries to convert the stored value. Returns false when the conversion is not possible.

TryConvert<T>(T)

Overloaded. Tries to convert the stored value. Returns false when the conversion is not possible.

TryGetLazyValue(TValue)

Tries to get the stored value of a lazy. Returns false when the lazy was not assigned.

TryGetNullableValue(TValue)

Tries to get the stored value of a nullable. Returns false when the nullable is null.

TryToType<T>(T)

Overloaded. Tries to convert the stored value. Returns false when the conversion is not possible.

Top