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.
__init__(self: samson.Core.Container.UUID, u: str) -> None
Constructs a UUID from a string u.
__init__(self: samson.Core.Container.UUID, u: samson.Core.Container.UUID) -> None
Copy constructor.
__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
- property isValid¶
Returns true if and only if the UUID is valid