PartId¶
-
class
PartId(id=None)[source]¶ Bases:
objectMethods Summary
equals(other)fromBin(eis)Read the binary representation of a PartId from an EndianInput stream and return the PartId
setId(idStr)Set this PartId to the value in idStr.
toBin(eos)Write the binary representation of this into an EndianOutput stream
validate(idStr)validate idStr, which must be a string or None If idStr has an invalid format or is not a string a string message is returned If idStr is valid, None is returned
Methods Documentation
-
static
fromBin(eis)[source]¶ Read the binary representation of a PartId from an EndianInput stream and return the PartId
-
static