Skip to content

CLASS ndi.ido

  ndi.ido - identifier object class for ndi

  This class creates and retrieves unique identifiers.  The identifier is a hexidecimal string
   based on both the current date/time and a random number. When identifiers are sorted in
   alphabetical order, they are also sorted in the order of fime of creation. 

  **Example**:
    i = ndi.ido();
    id = i.id(), % view the id that was created


Superclasses

did.ido

Properties

Property Description
identifier

Methods

Method Description
id return the identifier of an DID.IDO object
ido identifier object class for ndi
unique_id Generate a unique ID number for DID databases (Static method)

Methods help

id - return the identifier of an DID.IDO object

IDENTIFIER = ID(DID.IDO_OBJ)

  Returns the unique identifier of an DID.IDO object.

Help for ndi.ido/id is inherited from superclass did.ido

ido - identifier object class for ndi

This class creates and retrieves unique identifiers.  The identifier is a hexidecimal string
   based on both the current date/time and a random number. When identifiers are sorted in
   alphabetical order, they are also sorted in the order of fime of creation. 

  **Example**:
    i = ndi.ido();
    id = i.id(), % view the id that was created

    Documentation for ndi.ido/ido
       doc ndi.ido

unique_id - Generate a unique ID number for DID databases (Static method)

ID = DID.IDO.UNIQUE_ID()

  Generates a unique ID character array based on the current time and a random
  number. It is a hexidecimal representation of the serial date number in
  UTC Leap Seconds time. The serial date number is the number of days since January 0, 0000 at 0:00:00.
  The integer portion of the date is the whole number of days and the fractional part of the date number
  is the fraction of days.

  ID = [NUM2HEX(SERIAL_DATE_NUMBER) '_' NUM2HEX(RAND)]

  See also: NUM2HEX, NOW, RAND

Help for ndi.ido.unique_id is inherited from superclass did.ido