GODPAPER | All Packages | All Classes | Index | Frames No Frames |
BitField

Package | com.godpaper.as3.utils
Class | public class BitField
Inheritance | BitField Object

BitField.as class.

Public Methods

| Method | Defined By
--- | --- | ---
|  | BitField(_value:uint = 0) | BitField
|  | clear(value:uint):void | BitField
|  | get(value:uint):Boolean | BitField
|  | getValue():uint | BitField
|  | set(value:uint):void | BitField

Public Constants

| Constant | Defined By
--- | --- | ---
|  | PERM_ADMIN : uint [static] | BitField
|  | PERM_ADMIN2 : uint [static] | BitField
|  | PERM_ADMIN3 : uint [static] | BitField
|  | PERM_READ : uint [static] | BitField
|  | PERM_WRITE : uint [static] | BitField

Constructor Detail

BitField | () | Constructor

`public function BitField(_value:uint = 0)`

Parameters

| `_value:uint` (default = `0`)``

Method Detail

clear | () | method

`public function clear(value:uint):void`

Parameters

| `value:uint`

get | () | method |

`public function get(value:uint):Boolean`

Parameters

| `value:uint`

Returns

| `Boolean`

getValue | () | method |

`public function getValue():uint`

Returns

| `uint`

set | () | method |

`public function set(value:uint):void`

Parameters

| `value:uint`

Constant Detail

PERM_ADMIN | Constant

`public static const PERM_ADMIN:uint`

PERM_ADMIN2 | Constant |

`public static const PERM_ADMIN2:uint`

PERM_ADMIN3 | Constant |

`public static const PERM_ADMIN3:uint`

PERM_READ | Constant |

`public static const PERM_READ:uint`

PERM_WRITE | Constant |

`public static const PERM_WRITE:uint`

Thu Jan 16 2014, 01:11 PM +08:00