メインページ | ネームスペース一覧 | クラス階層 | 構成 | ファイル一覧 | 構成メンバ | ファイルメンバ

uuid.py

#include "ctypes.py"
#include "ctypes/util.py"

構成

class  UUID

関数

 _ifconfig_getnode ()
 _ipconfig_getnode ()
 _netbios_getnode ()
 _unixdll_getnode ()
 _windll_getnode ()
 _random_getnode ()
 getnode ()
 uuid1 (node=None, clock_seq=None)
 uuid3 (namespace, name)
 uuid4 ()
 uuid5 (namespace, name)

関数

_ifconfig_getnode  ) 
 

Get the hardware address on Unix by running ifconfig.

_ipconfig_getnode  ) 
 

Get the hardware address on Windows by running ipconfig.exe.

_netbios_getnode  ) 
 

Get the hardware address on Windows using NetBIOS calls. See http://support.microsoft.com/kb/118623 for details.

_random_getnode  ) 
 

Get a random node ID, with eighth bit set as suggested by RFC 4122.

_unixdll_getnode  ) 
 

Get the hardware address on Unix using ctypes.

_windll_getnode  ) 
 

Get the hardware address on Windows using ctypes.

getnode  ) 
 

Get the hardware address as a 48-bit integer. The first time this runs, it may launch a separate program, which could be quite slow. If all attempts to obtain the hardware address fail, we choose a random 48-bit number with its eighth bit set to 1 as recommended in RFC 4122.

uuid1 node  = None,
clock_seq  = None
 

Generate a UUID from a host ID, sequence number, and the current time. If 'node' is not given, getnode() is used to obtain the hardware address. If 'clock_seq' is given, it is used as the sequence number; otherwise a random 14-bit sequence number is chosen.

uuid3 namespace  ,
name 
 

Generate a UUID from the MD5 hash of a namespace UUID and a name.

uuid4  ) 
 

Generate a random UUID.

uuid5 namespace  ,
name 
 

Generate a UUID from the SHA-1 hash of a namespace UUID and a name.


OpenRTMに対してMon Oct 29 15:51:37 2007に生成されました。  doxygen 1.4.3