OpenRTM-aist-Python 2.0.0
公開メンバ関数 | 全メンバ一覧
OpenRTM_aist.uuid.UUID クラス

[詳解]

OpenRTM_aist.uuid.UUID の継承関係図

公開メンバ関数

def __init__ (self, hex=None, bytes=None, fields=None, int_value=None, version=None)
 

詳解

UUID保持クラス

生成した UUID の情報を保持するためのクラス。

から
0.4.0

構築子と解体子

◆ __init__()

def OpenRTM_aist.uuid.UUID.__init__ (   self,
  hex = None,
  bytes = None,
  fields = None,
  int_value = 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'.

このクラス詳解は次のファイルから抽出されました: