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

Public Member Functions

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

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 src/lib/coil/build/uuid.py.

Constructor & Destructor Documentation

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

Definition at line 101 of file src/lib/coil/build/uuid.py.

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

Definition at line 99 of file utils/rtc-template/uuid.py.

Member Function Documentation

def uuid.UUID.__cmp__ (   self,
  other 
)

Definition at line 168 of file utils/rtc-template/uuid.py.

def uuid.UUID.__cmp__ (   self,
  other 
)

Definition at line 170 of file src/lib/coil/build/uuid.py.

def uuid.UUID.__hash__ (   self)

Definition at line 173 of file utils/rtc-template/uuid.py.

def uuid.UUID.__hash__ (   self)

Definition at line 175 of file src/lib/coil/build/uuid.py.

def uuid.UUID.__int__ (   self)

Definition at line 176 of file utils/rtc-template/uuid.py.

def uuid.UUID.__int__ (   self)

Definition at line 178 of file src/lib/coil/build/uuid.py.

def uuid.UUID.__repr__ (   self)

Definition at line 179 of file utils/rtc-template/uuid.py.

def uuid.UUID.__repr__ (   self)

Definition at line 181 of file src/lib/coil/build/uuid.py.

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

Definition at line 182 of file utils/rtc-template/uuid.py.

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

Definition at line 184 of file src/lib/coil/build/uuid.py.

def uuid.UUID.__str__ (   self)

Definition at line 185 of file utils/rtc-template/uuid.py.

def uuid.UUID.__str__ (   self)

Definition at line 187 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_bytes (   self)

Definition at line 190 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_bytes (   self)

Definition at line 192 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_clock_seq (   self)

Definition at line 235 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_clock_seq (   self)

Definition at line 237 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_clock_seq_hi_variant (   self)

Definition at line 219 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_clock_seq_hi_variant (   self)

Definition at line 221 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_clock_seq_low (   self)

Definition at line 224 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_clock_seq_low (   self)

Definition at line 226 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_fields (   self)

Definition at line 198 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_fields (   self)

Definition at line 200 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_hex (   self)

Definition at line 246 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_hex (   self)

Definition at line 248 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_node (   self)

Definition at line 241 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_node (   self)

Definition at line 243 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_time (   self)

Definition at line 229 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_time (   self)

Definition at line 231 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_time_hi_version (   self)

Definition at line 214 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_time_hi_version (   self)

Definition at line 216 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_time_low (   self)

Definition at line 204 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_time_low (   self)

Definition at line 206 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_time_mid (   self)

Definition at line 209 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_time_mid (   self)

Definition at line 211 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_urn (   self)

Definition at line 251 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_urn (   self)

Definition at line 253 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_variant (   self)

Definition at line 256 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_variant (   self)

Definition at line 258 of file src/lib/coil/build/uuid.py.

def uuid.UUID.get_version (   self)

Definition at line 268 of file utils/rtc-template/uuid.py.

def uuid.UUID.get_version (   self)

Definition at line 270 of file src/lib/coil/build/uuid.py.

Property Documentation

uuid.UUID.bytes = property(get_bytes)
static

Definition at line 198 of file src/lib/coil/build/uuid.py.

uuid.UUID.clock_seq = property(get_clock_seq)
static

Definition at line 241 of file src/lib/coil/build/uuid.py.

uuid.UUID.clock_seq_hi_variant = property(get_clock_seq_hi_variant)
static

Definition at line 224 of file src/lib/coil/build/uuid.py.

uuid.UUID.clock_seq_low = property(get_clock_seq_low)
static

Definition at line 229 of file src/lib/coil/build/uuid.py.

uuid.UUID.fields = property(get_fields)
static

Definition at line 204 of file src/lib/coil/build/uuid.py.

uuid.UUID.hex = property(get_hex)
static

Definition at line 251 of file src/lib/coil/build/uuid.py.

uuid.UUID.node = property(get_node)
static

Definition at line 246 of file src/lib/coil/build/uuid.py.

uuid.UUID.time = property(get_time)
static

Definition at line 235 of file src/lib/coil/build/uuid.py.

uuid.UUID.time_hi_version = property(get_time_hi_version)
static

Definition at line 219 of file src/lib/coil/build/uuid.py.

uuid.UUID.time_low = property(get_time_low)
static

Definition at line 209 of file src/lib/coil/build/uuid.py.

uuid.UUID.time_mid = property(get_time_mid)
static

Definition at line 214 of file src/lib/coil/build/uuid.py.

uuid.UUID.urn = property(get_urn)
static

Definition at line 256 of file src/lib/coil/build/uuid.py.

uuid.UUID.variant = property(get_variant)
static

Definition at line 268 of file src/lib/coil/build/uuid.py.

uuid.UUID.version = property(get_version)
static

Definition at line 275 of file src/lib/coil/build/uuid.py.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:08:05