MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLS63HWID Class Reference
 TSLS63HWID (const char *asciiRepresentation)
 
 TSLS63HWID (unsigned char b1, unsigned char b2, unsigned char b3)
 
 TSLS63HWID (const TSLS63HWID *rhs)
 
 ~TSLS63HWID ()
 
const char * asciiRepresentation () const
 
TSLSimpleString asciiRepresentationAsString () const
 
bool binaryRepresentation (unsigned char buffer[3]) const
 
bool isValid () const
 
bool toHWID6 (char buffer[6]) const
 
static unsigned char fromASCII (char c)
 
static char toASCII (unsigned char c)
 

Constructor & Destructor Documentation

◆ TSLS63HWID() [1/3]

TSLS63HWID::TSLS63HWID ( const char * asciiRepresentation)
inline

Constructs an S63 HW_ID from the passed ASCII string.

This string should be no less than 5 characters long and only contain the characters 0-9 and A-F/a-f.

NOTE that the string does not need to be null terminated,

Having constructed an instance of this type, the user should call isValid to ensure that the value contained is valid.

◆ TSLS63HWID() [2/3]

TSLS63HWID::TSLS63HWID ( unsigned char b1,
unsigned char b2,
unsigned char b3 )
inline

Constructs a new HW_ID from the binary representation passed. NOTE the top 4 bits of the byte passed in parameter b1 will be discarded.

◆ TSLS63HWID() [3/3]

TSLS63HWID::TSLS63HWID ( const TSLS63HWID * rhs)
inline

Copy constructor

◆ ~TSLS63HWID()

TSLS63HWID::~TSLS63HWID ( )
inline

Member Function Documentation

◆ asciiRepresentation()

const char * TSLS63HWID::asciiRepresentation ( ) const
inline

Returns the contained HW_ID as in a hexadecimal ASCII representation. Should the valid contained in the class not be valid, then NULL will be returned.

The returned string will NOT be null terminated. It will be 5 bytes long.

◆ asciiRepresentationAsString()

TSLSimpleString TSLS63HWID::asciiRepresentationAsString ( ) const
inline

Returns the contained HW_ID as in a hexadecimal ASCII representation. Should the valid contained in the class not be valid, then an empty string will be returned.

◆ binaryRepresentation()

bool TSLS63HWID::binaryRepresentation ( unsigned char buffer[3]) const
inline

◆ fromASCII()

unsigned char TSLS63HWID::fromASCII ( char c)
inlinestatic

◆ isValid()

bool TSLS63HWID::isValid ( ) const
inline

◆ toASCII()

char TSLS63HWID::toASCII ( unsigned char c)
inlinestatic

◆ toHWID6()

bool TSLS63HWID::toHWID6 ( char buffer[6]) const
inline