⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 quuid.3qt

📁 这个是Linux的qt源代码
💻 3QT
字号:
'\" t.TH QUuid 3qt "10 November 2003" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2001 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQUuid \- Defines a Universally Unique Identifier (UUID).SH SYNOPSISAll the functions in this class are reentrant when Qt is built with thread support.</p>.PP\fC#include <quuid.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "\fBQUuid\fR ()".br.ti -1c.BI "\fBQUuid\fR ( uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8 )".br.ti -1c.BI "\fBQUuid\fR ( const QUuid & orig )".br.ti -1c.BI "\fBQUuid\fR ( const QString & text )".br.ti -1c.BI "QString \fBtoString\fR () const".br.ti -1c.BI "\fBoperator QString\fR () const".br.ti -1c.BI "bool \fBisNull\fR () const".br.ti -1c.BI "QUuid & \fBoperator=\fR ( const QUuid & uuid )".br.ti -1c.BI "bool \fBoperator==\fR ( const QUuid & other ) const".br.ti -1c.BI "bool \fBoperator!=\fR ( const QUuid & other ) const".br.in -1c.SH RELATED FUNCTION DOCUMENTATION.in +1c.ti -1c.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const QUuid & id )".br.ti -1c.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, QUuid & id )".br.in -1c.SH DESCRIPTIONThe QUuid class defines a Universally Unique Identifier (UUID)..PPFor objects or declarations that need to be uniquely identified, UUIDs (also known as GUIDs) are widely used in order to assign a fixed and easy to compare value to the object or declaration. The 128-bit value of a UUID is generated by an algorithm that guarantees that the value is unique..PPIn Qt, UUIDs are wrapped by the QUuid struct which provides convenience functions for handling UUIDs. Most platforms provide a tool to generate new UUIDs, for example, uuidgen and guidgen..SH MEMBER FUNCTION DOCUMENTATION.SH "QUuid::QUuid ()"Creates the null UUID {00000000-0000-0000-0000-000000000000}..SH "QUuid::QUuid ( uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8 )"Creates a UUID with the value specified by the parameters, \fIl\fR, \fIw1\fR, \fIw2\fR, \fIb1\fR, \fIb2\fR, \fIb3\fR, \fIb4\fR, \fIb5\fR, \fIb6\fR, \fIb7\fR, \fIb8\fR..PPExample:.PP.nf.br    // {67C8770B-44F1-410A-AB9A-F9B5446F13EE}.br    QUuid IID_MyInterface( 0x67c8770b, 0x44f1, 0x410a, 0xab, 0x9a, 0xf9, 0xb5, 0x44, 0x6f, 0x13, 0xee ).br.fi.SH "QUuid::QUuid ( const QUuid & orig )"Creates a copy of the QUuid \fIorig\fR..SH "QUuid::QUuid ( const QString & text )"Creates a QUuid object from the string \fItext\fR. The function can only convert a string in the format {HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH} (where 'H' stands for a hex digit), and will create the null UUID if the conversion fails..SH "bool QUuid::isNull () const"Returns TRUE if this is the null UUID {00000000-0000-0000-0000-000000000000}; otherwise returns FALSE..SH "QUuid::operator QString () const"Returns the string representation of the uuid..PPSee also toString()..SH "bool QUuid::operator!= ( const QUuid & other ) const"Returns TRUE if this QUuid and the \fIother\fR QUuid are different; otherwise returns FALSE..SH "QUuid & QUuid::operator= ( const QUuid & uuid )"Assigns the value of \fIuuid\fR to this QUuid object..SH "bool QUuid::operator== ( const QUuid & other ) const"Returns TRUE if this QUuid and the \fIother\fR QUuid are identical; otherwise returns FALSE..SH "QString QUuid::toString () const"QString QUuid::toString() const.PPReturns the string representation of the uuid..SH RELATED FUNCTION DOCUMENTATION.SH "QDataStream & operator<< ( QDataStream & s, const QUuid & id )"Writes the uuid \fIid\fR to the datastream \fIs\fR..SH "QDataStream & operator>> ( QDataStream & s, QUuid & id )"Reads uuid from from the stream \fIs\fR into \fIid\fR..SH "SEE ALSO".BR http://doc.trolltech.com/quuid.html.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports help us to help you. Thank you..PThe definitive Qt documentation is provided in HTML format; it islocated at $QTDIR/doc/html and can be read using Qt Assistant or witha web browser. This man page is provided as a convenience for thoseusers who prefer man pages, although this format is not officiallysupported by Trolltech. .PIf you find errors in this manual page, please report them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (quuid.3qt) and the Qtversion (3.2.3).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -