Public Member Functions | Properties
uuid.UUID Class Reference

List of all members.

Public Member Functions

def __cmp__
def __cmp__
def __hash__
def __hash__
def __init__
def __init__
def __int__
def __int__
def __repr__
def __repr__
def __setattr__
def __setattr__
def __str__
def __str__
def get_bytes
def get_bytes
def get_clock_seq
def get_clock_seq
def get_clock_seq_hi_variant
def get_clock_seq_hi_variant
def get_clock_seq_low
def get_clock_seq_low
def get_fields
def get_fields
def get_hex
def get_hex
def get_node
def get_node
def get_time
def get_time
def get_time_hi_version
def get_time_hi_version
def get_time_low
def get_time_low
def get_time_mid
def get_time_mid
def get_urn
def get_urn
def get_variant
def get_variant
def get_version
def get_version

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

Instances of the UUID class represent UUIDs as specified in RFC 4122.
UUID objects are immutable, hashable, and usable as dictionary keys.
Converting a UUID to a string with str() yields something in the form
'12345678-1234-1234-1234-123456789abc'.  The UUID constructor accepts
four possible forms: a similar string of hexadecimal digits, or a
string of 16 raw bytes as an argument named 'bytes', or a tuple of
six integer fields (with 32-bit, 16-bit, 16-bit, 8-bit, 8-bit, and
48-bit values respectively) as an argument named 'fields', or a single
128-bit integer as an argument named 'int'.

UUIDs have these read-only attributes:

    bytes       the UUID as a 16-byte string

    fields      a tuple of the six integer fields of the UUID,
                which are also available as six individual attributes
                and two derived attributes:

        time_low                the first 32 bits of the UUID
        time_mid                the next 16 bits of the UUID
        time_hi_version         the next 16 bits of the UUID
        clock_seq_hi_variant    the next 8 bits of the UUID
        clock_seq_low           the next 8 bits of the UUID
        node                    the last 48 bits of the UUID

        time                    the 60-bit timestamp
        clock_seq               the 14-bit sequence number

    hex         the UUID as a 32-character hexadecimal string

    int         the UUID as a 128-bit integer

    urn         the UUID as a URN as specified in RFC 4122

    variant     the UUID variant (one of the constants RESERVED_NCS,
                RFC_4122, RESERVED_MICROSOFT, or RESERVED_FUTURE)

    version     the UUID version number (1 through 5, meaningful only
                when the variant is RFC_4122)

Definition at line 58 of file installer/uuid.py.


Constructor & Destructor Documentation

def uuid.UUID.__init__ (   self,
  hex = None,
  bytes = None,
  fields = None,
  int = None,
  version = None 
)

Definition at line 100 of file installer/uuid.py.

def uuid.UUID.__init__ (   self,
  hex = None,
  bytes = None,
  fields = None,
  int = None,
  version = None 
)

Definition at line 98 of file OpenRTM_aist/test/uuid.py.


Member Function Documentation

def uuid.UUID.__cmp__ (   self,
  other 
)

Definition at line 168 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.__cmp__ (   self,
  other 
)

Definition at line 170 of file installer/uuid.py.

def uuid.UUID.__hash__ (   self)

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

def uuid.UUID.__hash__ (   self)

Definition at line 175 of file installer/uuid.py.

def uuid.UUID.__int__ (   self)

Definition at line 176 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.__int__ (   self)

Definition at line 178 of file installer/uuid.py.

def uuid.UUID.__repr__ (   self)

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

def uuid.UUID.__repr__ (   self)

Definition at line 181 of file installer/uuid.py.

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

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

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

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

def uuid.UUID.__str__ (   self)

Definition at line 185 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.__str__ (   self)

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

def uuid.UUID.get_bytes (   self)

Definition at line 190 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.get_bytes (   self)

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

def uuid.UUID.get_clock_seq (   self)

Definition at line 235 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.get_clock_seq (   self)

Definition at line 237 of file installer/uuid.py.

Definition at line 219 of file OpenRTM_aist/test/uuid.py.

Definition at line 221 of file installer/uuid.py.

Definition at line 224 of file OpenRTM_aist/test/uuid.py.

Definition at line 226 of file installer/uuid.py.

def uuid.UUID.get_fields (   self)

Definition at line 198 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.get_fields (   self)

Definition at line 200 of file installer/uuid.py.

def uuid.UUID.get_hex (   self)

Definition at line 246 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.get_hex (   self)

Definition at line 248 of file installer/uuid.py.

def uuid.UUID.get_node (   self)

Definition at line 241 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.get_node (   self)

Definition at line 243 of file installer/uuid.py.

def uuid.UUID.get_time (   self)

Definition at line 229 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.get_time (   self)

Definition at line 231 of file installer/uuid.py.

Definition at line 214 of file OpenRTM_aist/test/uuid.py.

Definition at line 216 of file installer/uuid.py.

def uuid.UUID.get_time_low (   self)

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

def uuid.UUID.get_time_low (   self)

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

def uuid.UUID.get_time_mid (   self)

Definition at line 209 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.get_time_mid (   self)

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

def uuid.UUID.get_urn (   self)

Definition at line 251 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.get_urn (   self)

Definition at line 253 of file installer/uuid.py.

def uuid.UUID.get_variant (   self)

Definition at line 256 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.get_variant (   self)

Definition at line 258 of file installer/uuid.py.

def uuid.UUID.get_version (   self)

Definition at line 268 of file OpenRTM_aist/test/uuid.py.

def uuid.UUID.get_version (   self)

Definition at line 270 of file installer/uuid.py.


Property Documentation

uuid.UUID::bytes = property(get_bytes) [static]

Definition at line 198 of file installer/uuid.py.

uuid.UUID::clock_seq = property(get_clock_seq) [static]

Definition at line 241 of file installer/uuid.py.

Definition at line 224 of file installer/uuid.py.

Definition at line 229 of file installer/uuid.py.

uuid.UUID::fields = property(get_fields) [static]

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

uuid.UUID::hex = property(get_hex) [static]

Definition at line 251 of file installer/uuid.py.

uuid.UUID::node = property(get_node) [static]

Definition at line 246 of file installer/uuid.py.

uuid.UUID::time = property(get_time) [static]

Definition at line 235 of file installer/uuid.py.

Definition at line 219 of file installer/uuid.py.

uuid.UUID::time_low = property(get_time_low) [static]

Definition at line 209 of file installer/uuid.py.

uuid.UUID::time_mid = property(get_time_mid) [static]

Definition at line 214 of file installer/uuid.py.

uuid.UUID::urn = property(get_urn) [static]

Definition at line 256 of file installer/uuid.py.

uuid.UUID::variant = property(get_variant) [static]

Definition at line 268 of file installer/uuid.py.

uuid.UUID::version = property(get_version) [static]

Definition at line 275 of file installer/uuid.py.


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


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Aug 27 2015 14:17:30