EnumFlags_Impl_

private class haxe.EnumFlags_Impl_import haxe.EnumFlagsAvailable in flash8, flash, neko, js, php, cpp, cs, java static inline function _new( ?i : Int ) : IntInitializes the bitflags to i. static inline function has( this : Int, v : T ) : BoolChecks if the index of enum instance v is set.
This method is optimized if v is an enum instance expression such as SomeEnum.SomeCtor.
If v is null, the result is unspecified.
static inline function ofInt<T>( i : Int ) : EnumFlags<T>Convert a integer bitflag into a typed one (this is a no-op, it does not have any impact on speed). static inline function set( this : Int, v : T ) : VoidSets the index of enum instance v.
This method is optimized if v is an enum instance expression such as SomeEnum.SomeCtor.
If v is null, the result is unspecified.
static inline function toInt( this : Int ) : IntConvert the typed bitflag into the corresponding int value (this is a no-op, it doesn't have any impact on speed). static inline function unset( this : Int, v : T ) : VoidUnsets the index of enum instance v.
This method is optimized if v is an enum instance expression such as SomeEnum.SomeCtor.
If v is null, the result is unspecified.
version #18495, modified 2013-05-08 10:50:15 by api
0 comment