ObjectIdentifierNode

A struct representing a single node in an OID, which has a mandatory number and an optional descriptor.

Constructors

this
this(size_t number, string descriptor)

A constructor that accepts a descriptor string. The descriptor string is an ObjectDescriptor, which is defined as:

Members

Functions

opCmp
ptrdiff_t opCmp(OIDNode other)

Override for the use of the '>', '<', '<=', and '>=' operands.

opEquals
bool opEquals(OIDNode other)

Override for use of the == operand.

toHash
size_t toHash()

An override so that associative arrays can use an OIDNode as a key.

Properties

descriptor
string descriptor [@property getter]

The descriptor string is an ObjectDescriptor, which is defined as:

descriptor
string descriptor [@property setter]

The descriptor string is an ObjectDescriptor, which is defined as:

Variables

number
size_t number;

The unique unsigned integral number associated with a node in the object identifier hierarchy.

Meta