anchovy.utils.flexibleobject.flexibleaccess

Undocumented in source.

Members

Aliases

ExtractValues
alias ExtractValues(Properties...) = ExtractValuesImpl!(0, Properties)
Undocumented in source.

Functions

bindTo
void bindTo(IProperty source, IProperty dest, Variant delegate(Variant) converter)
hasProperty
bool hasProperty(FlexibleObjectType w)
Undocumented in source. Be warned that the author may not have intended to support it.
hasProperty
bool hasProperty(FlexibleObjectType w, string propname)
Undocumented in source. Be warned that the author may not have intended to support it.
pipeFrom
void pipeFrom(IProperty dest, ConverterType converter, P sources)

creates one-way binding from multiple to one property destination.pipeFrom((Variant a, Variant b)=> a+b, num1, num2);

Static functions

coercePropertyAs
T coercePropertyAs(FlexibleObject w, string propname)
Undocumented in source. Be warned that the author may not have intended to support it.
coercePropertyAs
T coercePropertyAs(FlexibleObject w, string propname, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
coercePropertyAs
T coercePropertyAs(FlexibleObjectType w)
Undocumented in source. Be warned that the author may not have intended to support it.
coercePropertyAs
T coercePropertyAs(FlexibleObjectType w, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getProperty
Variant getProperty(FlexibleObjectType w)
Undocumented in source. Be warned that the author may not have intended to support it.
getPropertyAs
T getPropertyAs(string propname, FlexibleObject w)
Undocumented in source. Be warned that the author may not have intended to support it.
getPropertyAs
T getPropertyAs(string propname, FlexibleObject w, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getPropertyAs
T getPropertyAs(FlexibleObjectType w)
Undocumented in source. Be warned that the author may not have intended to support it.
getPropertyAs
T getPropertyAs(FlexibleObjectType w, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getPropertyAsBase
T getPropertyAsBase(string propname, FlexibleObject w)
Undocumented in source. Be warned that the author may not have intended to support it.
getPropertyAsBase
T getPropertyAsBase(FlexibleObjectType w)
Undocumented in source. Be warned that the author may not have intended to support it.
peekPropertyAs
T* peekPropertyAs(string propname, FlexibleObject w)
Undocumented in source. Be warned that the author may not have intended to support it.
peekPropertyAs
T* peekPropertyAs(FlexibleObjectType w)
Undocumented in source. Be warned that the author may not have intended to support it.
setProperty
void setProperty(FlexibleObject w, string propname, ValueType value)
Undocumented in source. Be warned that the author may not have intended to support it.
setProperty
void setProperty(FlexibleObjectType w, ValueType value)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

ExtractValuesImpl
template ExtractValuesImpl(uint index, Properties...)
Undocumented in source.
isVariant
template isVariant(T)
Undocumented in source.

Meta