SectorRange

Sector range

Members

Functions

empty
bool empty()

Check if current sector has reached the end

front
ushort front()

Gets the current sector

inRange
bool inRange(ushort sector)

Checks if the sector is within the sector-range

inRange
bool inRange(Rims rims)

Checks if the sector of a rim is within the sector-range

isFullRange
bool isFullRange()

Checks if the range is a full angle dart (0x0000 to 0xFFFF)

popFront
void popFront()

Progress one sector

toString
string toString()

Gives an representation of the angle span

Mixins

__anonymous
mixin HiBONRecord!(q{ this(const ushort from_sector, const ushort to_sector) pure nothrow @nogc { _from_sector = from_sector; _to_sector = to_sector; _sector = from_sector; } })
Undocumented in source.

Properties

from_sector
ushort from_sector [@property getter]

The start start sector

to_sector
ushort to_sector [@property getter]

The end sector

Static functions

sectorInRange
bool sectorInRange(ushort sector, ushort from_sector, ushort to_sector)

Checks if sector is within range

Variables

flag
bool flag;
Undocumented in source.

Mixed In Members

From mixin HiBONRecord!(q{ this(const ushort from_sector, const ushort to_sector) pure nothrow @nogc { _from_sector = from_sector; _to_sector = to_sector; _sector = from_sector; } })

check
alias check = Check!(HiBONRecordException)
Undocumented in source.
__anonymous
mixin JSONString
Undocumented in source.
__anonymous
mixin HiBONRecordType
Undocumented in source.
isRecord
alias isRecord = HiBONRecord.isRecord!ThisType
Undocumented in source.
HAS_TYPE
enum HAS_TYPE;
Undocumented in source.
less_than
bool less_than(Key a, Key b)
Undocumented in source. Be warned that the author may not have intended to support it.
toHiBON
inout(HiBON) toHiBON()
Undocumented in source. Be warned that the author may not have intended to support it.
NO_DEFAULT_CTOR
enum NO_DEFAULT_CTOR;
Undocumented in source.
GetKeyName
template GetKeyName(uint i)
Undocumented in source.
_keys
string[] _keys()
keys
enum keys;
Undocumented in source.
this
this(HiBON hibon)
Undocumented in source.
this
this(Document doc)
Undocumented in source.
serialize
immutable(ubyte[]) serialize()
Undocumented in source. Be warned that the author may not have intended to support it.
toDoc
const(Document) toDoc()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta