Public Member Functions | Properties | List of all members
OpenRTM_aist.uuid.UUID Class Reference
Inheritance diagram for OpenRTM_aist.uuid.UUID:
Inheritance graph
[legend]

Public Member Functions

def __cmp__ (self, other)
 
def __hash__ (self)
 
def __init__ (self, hex=None, bytes=None, fields=None, int=None, version=None)
 
def __int__ (self)
 
def __repr__ (self)
 
def __setattr__ (self, name, value)
 
def __str__ (self)
 
def get_bytes (self)
 
def get_clock_seq (self)
 
def get_clock_seq_hi_variant (self)
 
def get_clock_seq_low (self)
 
def get_fields (self)
 
def get_hex (self)
 
def get_node (self)
 
def get_time (self)
 
def get_time_hi_version (self)
 
def get_time_low (self)
 
def get_time_mid (self)
 
def get_urn (self)
 
def get_variant (self)
 
def get_version (self)
 

Properties

 bytes = property(get_bytes)
 
 clock_seq = property(get_clock_seq)
 
 clock_seq_hi_variant = property(get_clock_seq_hi_variant)
 
 clock_seq_low = property(get_clock_seq_low)
 
 fields = property(get_fields)
 
 hex = property(get_hex)
 
 node = property(get_node)
 
 time = property(get_time)
 
 time_hi_version = property(get_time_hi_version)
 
 time_low = property(get_time_low)
 
 time_mid = property(get_time_mid)
 
 urn = property(get_urn)
 
 variant = property(get_variant)
 
 version = property(get_version)
 

Detailed Description

Definition at line 34 of file OpenRTM_aist/uuid.py.

Constructor & Destructor Documentation

◆ __init__()

def OpenRTM_aist.uuid.UUID.__init__ (   self,
  hex = None,
  bytes = None,
  fields = None,
  int = None,
  version = None 
)
Create a UUID from either a string of 32 hexadecimal digits,
a string of 16 bytes as the 'bytes' argument, a tuple of six
integers (32-bit time_low, 16-bit time_mid, 16-bit time_hi_version,
8-bit clock_seq_hi_variant, 8-bit clock_seq_low, 48-bit node) as
the 'fields' argument, or a single 128-bit integer as the 'int'
argument.  When a string of hex digits is given, curly braces,
hyphens, and a URN prefix are all optional.  For example, these
expressions all yield the same UUID:

UUID('{12345678-1234-5678-1234-567812345678}')
UUID('12345678123456781234567812345678')
UUID('urn:uuid:12345678-1234-5678-1234-567812345678')
UUID(bytes='\x12\x34\x56\x78'*4)
UUID(fields=(0x12345678, 0x1234, 0x5678, 0x12, 0x34, 0x567812345678))
UUID(int=0x12345678123456781234567812345678)

Exactly one of 'hex', 'bytes', 'fields', or 'int' must be given.
The 'version' argument is optional; if given, the resulting UUID
will have its variant and version number set according to RFC 4122,
overriding bits in the given 'hex', 'bytes', 'fields', or 'int'.

Definition at line 37 of file OpenRTM_aist/uuid.py.

Member Function Documentation

◆ __cmp__()

def OpenRTM_aist.uuid.UUID.__cmp__ (   self,
  other 
)

Definition at line 106 of file OpenRTM_aist/uuid.py.

◆ __hash__()

def OpenRTM_aist.uuid.UUID.__hash__ (   self)

Definition at line 111 of file OpenRTM_aist/uuid.py.

◆ __int__()

def OpenRTM_aist.uuid.UUID.__int__ (   self)

Definition at line 114 of file OpenRTM_aist/uuid.py.

◆ __repr__()

def OpenRTM_aist.uuid.UUID.__repr__ (   self)

Definition at line 117 of file OpenRTM_aist/uuid.py.

◆ __setattr__()

def OpenRTM_aist.uuid.UUID.__setattr__ (   self,
  name,
  value 
)

Definition at line 120 of file OpenRTM_aist/uuid.py.

◆ __str__()

def OpenRTM_aist.uuid.UUID.__str__ (   self)

Definition at line 123 of file OpenRTM_aist/uuid.py.

◆ get_bytes()

def OpenRTM_aist.uuid.UUID.get_bytes (   self)

Definition at line 128 of file OpenRTM_aist/uuid.py.

◆ get_clock_seq()

def OpenRTM_aist.uuid.UUID.get_clock_seq (   self)

Definition at line 173 of file OpenRTM_aist/uuid.py.

◆ get_clock_seq_hi_variant()

def OpenRTM_aist.uuid.UUID.get_clock_seq_hi_variant (   self)

Definition at line 157 of file OpenRTM_aist/uuid.py.

◆ get_clock_seq_low()

def OpenRTM_aist.uuid.UUID.get_clock_seq_low (   self)

Definition at line 162 of file OpenRTM_aist/uuid.py.

◆ get_fields()

def OpenRTM_aist.uuid.UUID.get_fields (   self)

Definition at line 136 of file OpenRTM_aist/uuid.py.

◆ get_hex()

def OpenRTM_aist.uuid.UUID.get_hex (   self)

Definition at line 184 of file OpenRTM_aist/uuid.py.

◆ get_node()

def OpenRTM_aist.uuid.UUID.get_node (   self)

Definition at line 179 of file OpenRTM_aist/uuid.py.

◆ get_time()

def OpenRTM_aist.uuid.UUID.get_time (   self)

Definition at line 167 of file OpenRTM_aist/uuid.py.

◆ get_time_hi_version()

def OpenRTM_aist.uuid.UUID.get_time_hi_version (   self)

Definition at line 152 of file OpenRTM_aist/uuid.py.

◆ get_time_low()

def OpenRTM_aist.uuid.UUID.get_time_low (   self)

Definition at line 142 of file OpenRTM_aist/uuid.py.

◆ get_time_mid()

def OpenRTM_aist.uuid.UUID.get_time_mid (   self)

Definition at line 147 of file OpenRTM_aist/uuid.py.

◆ get_urn()

def OpenRTM_aist.uuid.UUID.get_urn (   self)

Definition at line 189 of file OpenRTM_aist/uuid.py.

◆ get_variant()

def OpenRTM_aist.uuid.UUID.get_variant (   self)

Definition at line 194 of file OpenRTM_aist/uuid.py.

◆ get_version()

def OpenRTM_aist.uuid.UUID.get_version (   self)

Definition at line 206 of file OpenRTM_aist/uuid.py.

Property Documentation

◆ bytes

OpenRTM_aist.uuid.UUID.bytes = property(get_bytes)
static

Definition at line 134 of file OpenRTM_aist/uuid.py.

◆ clock_seq

OpenRTM_aist.uuid.UUID.clock_seq = property(get_clock_seq)
static

Definition at line 177 of file OpenRTM_aist/uuid.py.

◆ clock_seq_hi_variant

OpenRTM_aist.uuid.UUID.clock_seq_hi_variant = property(get_clock_seq_hi_variant)
static

Definition at line 160 of file OpenRTM_aist/uuid.py.

◆ clock_seq_low

OpenRTM_aist.uuid.UUID.clock_seq_low = property(get_clock_seq_low)
static

Definition at line 165 of file OpenRTM_aist/uuid.py.

◆ fields

OpenRTM_aist.uuid.UUID.fields = property(get_fields)
static

Definition at line 140 of file OpenRTM_aist/uuid.py.

◆ hex

OpenRTM_aist.uuid.UUID.hex = property(get_hex)
static

Definition at line 187 of file OpenRTM_aist/uuid.py.

◆ node

OpenRTM_aist.uuid.UUID.node = property(get_node)
static

Definition at line 182 of file OpenRTM_aist/uuid.py.

◆ time

OpenRTM_aist.uuid.UUID.time = property(get_time)
static

Definition at line 171 of file OpenRTM_aist/uuid.py.

◆ time_hi_version

OpenRTM_aist.uuid.UUID.time_hi_version = property(get_time_hi_version)
static

Definition at line 155 of file OpenRTM_aist/uuid.py.

◆ time_low

OpenRTM_aist.uuid.UUID.time_low = property(get_time_low)
static

Definition at line 145 of file OpenRTM_aist/uuid.py.

◆ time_mid

OpenRTM_aist.uuid.UUID.time_mid = property(get_time_mid)
static

Definition at line 150 of file OpenRTM_aist/uuid.py.

◆ urn

OpenRTM_aist.uuid.UUID.urn = property(get_urn)
static

Definition at line 192 of file OpenRTM_aist/uuid.py.

◆ variant

OpenRTM_aist.uuid.UUID.variant = property(get_variant)
static

Definition at line 204 of file OpenRTM_aist/uuid.py.

◆ version

OpenRTM_aist.uuid.UUID.version = property(get_version)
static

Definition at line 211 of file OpenRTM_aist/uuid.py.


The documentation for this class was generated from the following file:


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Mon Feb 28 2022 23:01:09