Model Railroad System  2.2.1
Static Public Member Functions | List of all members
lcc::nid_or_null Class Reference

Node ID regexp pattern or the empty string. More...

Static Public Member Functions

static validate (value)
 Validate a Node ID, but allow a null string. More...
 

Detailed Description

Node ID regexp pattern or the empty string.

A Node Id is six bytes as pairs of hex digits separacted by colons (:).

Member Function Documentation

◆ validate()

static lcc::nid_or_null::validate ( value  )
static

Validate a Node ID, but allow a null string.

Parameters
valueThe value to validate, can be null.