ObjectIdentifier

A class for Object Identifiers that supports object descriptors and various output formatting.

Constructors

this
this(size_t[] numbers)

Constructor for an Object Identifier

this
this(OIDNode[] nodes)

Constructor for an Object Identifier

this
this(string str)

Constructor for an Object Identifier

Members

Aliases

asn1Notation
alias asn1Notation = abstractSyntaxNotation1Notation
iriNotation
alias iriNotation = internationalizedResourceIdentifierNotation
numbers
alias numbers = numericArray
uniformResourceIdentifierNotation
alias uniformResourceIdentifierNotation = internationalizedResourceIdentifierNotation
uriNotation
alias uriNotation = internationalizedResourceIdentifierNotation
urnNotation
alias urnNotation = uniformResourceNameNotation

Functions

descriptor
string descriptor(size_t index)
opDollar
size_t opDollar()

Returns the length of the OID.

opEquals
bool opEquals(Object other)
opIndex
OIDNode opIndex(ptrdiff_t index)
opSlice
OIDNode[] opSlice(ptrdiff_t index1, ptrdiff_t index2)
toHash
size_t toHash()

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

Properties

abstractSyntaxNotation1Notation
string abstractSyntaxNotation1Notation [@property getter]
dotNotation
string dotNotation [@property getter]
internationalizedResourceIdentifierNotation
string internationalizedResourceIdentifierNotation [@property getter]
length
size_t length [@property getter]
numericArray
size_t[] numericArray [@property getter]
toString
string toString [@property getter]
uniformResourceNameNotation
string uniformResourceNameNotation [@property getter]

Static variables

showDescriptors
bool showDescriptors;

Variables

nodes
OIDNode[] nodes;

Meta