UUID¶

samson.Core.Container.UUID objects can hold Universally Unique IDs (UUIDs), which are used to identify classes and SAMSON Elements.

See also

SAMSON API: sbccontaineruuid

class samson.Core.Container.UUID(*args, **kwargs)¶

Bases: pybind11_builtins.pybind11_object

This class describes a universally unique identifier (UUID).

This class objects can hold Universally Unique IDs (UUIDs), which are used to identify classes and SAMSON Elements.

Overloaded function.

  1. __init__(self: samson.Core.Container.UUID, u: str) -> None

Constructs a UUID from a string u.

  1. __init__(self: samson.Core.Container.UUID, u: samson.Core.Container.UUID) -> None

Copy constructor.

  1. __init__(self: samson.Core.Container.UUID) -> None

Constructs an invalid UUID

__eq__(self: samson.Core.Container.UUID, arg0: samson.Core.Container.UUID) → bool¶

operator ==

__lt__(self: samson.Core.Container.UUID, arg0: samson.Core.Container.UUID) → bool¶

operator < - Lexicographic comparison with another UUID

__ne__(self: samson.Core.Container.UUID, arg0: samson.Core.Container.UUID) → bool¶

operator !=

toString(self: samson.Core.Container.UUID) → str¶

A string representation

isValid¶

Returns true if and only if the UUID is valid