nn::nex::DataStoreDataCode Class

Syntax

class DataStoreDataCode : public nn::nex::RootObject

Description

Class for converting between data IDs and datacode strings for display.

Datacode strings can be a maximum of 14 characters in length including the data ID and checksum and can contain any of the following 28 characters: 0 1 2 3 4 5 6 7 8 9 B C D F G H J K L M N P R T V W X Y. The data ID can be up to 56 bits in size.

Member Functions

S CreateFromDataId Creates a DataStoreDataCode object from a data ID.
S CreateFromDataCodeString Creates a DataStoreDataCode object from a datacode string.
S CreateFromDataCodeRaw Generates a DataStoreDataCode object from a 64-bit integer internal datacode.
GetDataId Gets the data ID.
ToDataCodeString Creates a datacode string.
ToDataCodeStringZeroPad Creates a datacode string. Left-pads the string with zeros if it is less than 14 characters long.
GetDataCodeRaw Gets the internal datacode.
IsValid Determines whether the object was generated from a valid datacode string, data ID, or internal datacode.

Class Hierarchy

nn::nex::RootObject
  nn::nex::DataStoreDataCode

Revision History

2014/09/16
Initial version.

CONFIDENTIAL