2015-10-08 14:55:01 -04:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2017-02-22 23:37:31 -05:00
< meta name = "generator" content = "Doxygen 1.8.13" / >
2016-11-07 15:21:37 -05:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
2015-10-08 14:55:01 -04:00
< title > Crashpad: crashpad::UUID Struct Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2016-11-08 14:26:59 -05:00
< link href = "crashpad_doxygen.css" rel = "stylesheet" type = "text/css" / >
2015-10-08 14:55:01 -04:00
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2016-01-06 16:09:15 -05:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
2015-10-08 14:55:01 -04:00
< div id = "projectname" > Crashpad
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2017-02-22 23:37:31 -05:00
<!-- Generated by Doxygen 1.8.13 -->
2015-10-08 14:55:01 -04:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
2016-11-07 15:21:37 -05:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
< / script >
< div id = "main-nav" > < / div >
2015-10-08 14:55:01 -04:00
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "namespacecrashpad.html" > crashpad< / a > < / li > < li class = "navelem" > < a class = "el" href = "structcrashpad_1_1UUID.html" > UUID< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pub-attribs" > Public Attributes< / a > |
< a href = "structcrashpad_1_1UUID-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > crashpad::UUID Struct Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > A universally unique identifier (UUID).
< a href = "structcrashpad_1_1UUID.html#details" > More...< / a > < / p >
< p > < code > #include " util/misc/uuid.h" < / code > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:aa1d13714e81f4a19308d408d922082ce" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "aa1d13714e81f4a19308d408d922082ce" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > operator==< / b > (const < a class = "el" href = "structcrashpad_1_1UUID.html" > UUID< / a > & that) const< / td > < / tr >
< tr class = "separator:aa1d13714e81f4a19308d408d922082ce" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab86bad3713d1572dc85e9d14a34a7192" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ab86bad3713d1572dc85e9d14a34a7192" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < b > operator!=< / b > (const < a class = "el" href = "structcrashpad_1_1UUID.html" > UUID< / a > & that) const< / td > < / tr >
< tr class = "separator:ab86bad3713d1572dc85e9d14a34a7192" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-11 12:39:21 -05:00
< tr class = "memitem:ab0e2b1779dff0f51bacb90a12a5cabce" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ab0e2b1779dff0f51bacb90a12a5cabce" > < / a >
void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcrashpad_1_1UUID.html#ab0e2b1779dff0f51bacb90a12a5cabce" > InitializeToZero< / a > ()< / td > < / tr >
< tr class = "memdesc:ab0e2b1779dff0f51bacb90a12a5cabce" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the UUID to zero. < br / > < / td > < / tr >
< tr class = "separator:ab0e2b1779dff0f51bacb90a12a5cabce" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-10-08 14:55:01 -04:00
< tr class = "memitem:adc8f2ac33af88d762a6b7575971cca58" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcrashpad_1_1UUID.html#adc8f2ac33af88d762a6b7575971cca58" > InitializeFromBytes< / a > (const uint8_t *bytes)< / td > < / tr >
< tr class = "memdesc:adc8f2ac33af88d762a6b7575971cca58" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the UUID from a sequence of bytes. < a href = "#adc8f2ac33af88d762a6b7575971cca58" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:adc8f2ac33af88d762a6b7575971cca58" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac048cf2b1060c2203897c03858377184" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcrashpad_1_1UUID.html#ac048cf2b1060c2203897c03858377184" > InitializeFromString< / a > (const base::StringPiece & string)< / td > < / tr >
< tr class = "memdesc:ac048cf2b1060c2203897c03858377184" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the UUID from a RFC 4122 §3 formatted string. < a href = "#ac048cf2b1060c2203897c03858377184" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ac048cf2b1060c2203897c03858377184" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:abb93de9035e993726b07e3654640b860" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcrashpad_1_1UUID.html#abb93de9035e993726b07e3654640b860" > InitializeWithNew< / a > ()< / td > < / tr >
< tr class = "memdesc:abb93de9035e993726b07e3654640b860" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the UUID using a standard system facility to generate the value. < a href = "#abb93de9035e993726b07e3654640b860" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:abb93de9035e993726b07e3654640b860" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a06925d567ffcc907c4cd6adc2c86ff96" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcrashpad_1_1UUID.html#a06925d567ffcc907c4cd6adc2c86ff96" > InitializeFromSystemUUID< / a > (const ::< a class = "el" href = "structcrashpad_1_1UUID.html" > UUID< / a > *system_uuid)< / td > < / tr >
< tr class = "memdesc:a06925d567ffcc907c4cd6adc2c86ff96" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the UUID from a system < code > < a class = "el" href = "structcrashpad_1_1UUID.html" title = "A universally unique identifier (UUID). " > UUID< / a > < / code > or < code > GUID< / code > structure. < a href = "#a06925d567ffcc907c4cd6adc2c86ff96" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a06925d567ffcc907c4cd6adc2c86ff96" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a4bf420363950dd85c017694ac96e29f5" > < td class = "memItemLeft" align = "right" valign = "top" > std::string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcrashpad_1_1UUID.html#a4bf420363950dd85c017694ac96e29f5" > ToString< / a > () const< / td > < / tr >
< tr class = "memdesc:a4bf420363950dd85c017694ac96e29f5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Formats the UUID per RFC 4122 §3. < a href = "#a4bf420363950dd85c017694ac96e29f5" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a4bf420363950dd85c017694ac96e29f5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7786c734ac9476443030ceeebc9c8d0b" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a7786c734ac9476443030ceeebc9c8d0b" > < / a >
base::string16  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcrashpad_1_1UUID.html#a7786c734ac9476443030ceeebc9c8d0b" > ToString16< / a > () const< / td > < / tr >
< tr class = "memdesc:a7786c734ac9476443030ceeebc9c8d0b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The same as ToString, but returned as a string16. < br / > < / td > < / tr >
< tr class = "separator:a7786c734ac9476443030ceeebc9c8d0b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2015-10-08 14:55:01 -04:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-attribs" > < / a >
Public Attributes< / h2 > < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a84f20b78160b488b12e1962761a5b905" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a84f20b78160b488b12e1962761a5b905" > < / a >
2015-10-08 14:55:01 -04:00
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > data_1< / b > < / td > < / tr >
< tr class = "separator:a84f20b78160b488b12e1962761a5b905" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:ad987671b480932c3fe7aa35994a1f2a6" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ad987671b480932c3fe7aa35994a1f2a6" > < / a >
2015-10-08 14:55:01 -04:00
uint16_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > data_2< / b > < / td > < / tr >
< tr class = "separator:ad987671b480932c3fe7aa35994a1f2a6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:ade468e8bdc5d0dfa7e7d0383fc79d032" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "ade468e8bdc5d0dfa7e7d0383fc79d032" > < / a >
2015-10-08 14:55:01 -04:00
uint16_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > data_3< / b > < / td > < / tr >
< tr class = "separator:ade468e8bdc5d0dfa7e7d0383fc79d032" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a07879efe214b4929a3c5558952f09614" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a07879efe214b4929a3c5558952f09614" > < / a >
2015-10-08 14:55:01 -04:00
uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > data_4< / b > [2]< / td > < / tr >
< tr class = "separator:a07879efe214b4929a3c5558952f09614" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2016-11-07 15:21:37 -05:00
< tr class = "memitem:a6610e6dfbb8829bbcd5f034b974df9e6" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a6610e6dfbb8829bbcd5f034b974df9e6" > < / a >
2015-10-08 14:55:01 -04:00
uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > data_5< / b > [6]< / td > < / tr >
< tr class = "separator:a6610e6dfbb8829bbcd5f034b974df9e6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > A universally unique identifier (UUID). < / p >
< p > An alternate term for UUID is “globally unique identifier” (GUID), used primarily by Microsoft.< / p >
< p > A UUID is a unique 128-bit number specified by RFC 4122.< / p >
2016-11-11 12:39:21 -05:00
< p > This is a POD structure. < / p >
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2016-11-07 15:21:37 -05:00
< a id = "adc8f2ac33af88d762a6b7575971cca58" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#adc8f2ac33af88d762a6b7575971cca58" > ◆ < / a > < / span > InitializeFromBytes()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void crashpad::UUID::InitializeFromBytes < / td >
< td > (< / td >
< td class = "paramtype" > const uint8_t *  < / td >
< td class = "paramname" > < em > bytes< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Initializes the UUID from a sequence of bytes. < / p >
< p > < em > bytes< / em > is taken as a UUID laid out in big-endian format in memory. On little-endian machines, appropriate byte-swapping will be performed to initialize an object’ s data members.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > bytes< / td > < td > A buffer of exactly 16 bytes that will be assigned to the UUID. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "ac048cf2b1060c2203897c03858377184" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ac048cf2b1060c2203897c03858377184" > ◆ < / a > < / span > InitializeFromString()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool crashpad::UUID::InitializeFromString < / td >
< td > (< / td >
< td class = "paramtype" > const base::StringPiece &   < / td >
< td class = "paramname" > < em > string< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Initializes the UUID from a RFC 4122 §3 formatted string. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > string< / td > < td > A string of the form < code > "00112233-4455-6677-8899-aabbccddeeff"< / code > .< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > < code > true< / code > if the string was formatted correctly and the object has been initialized with the data. < code > false< / code > if the string could not be parsed, with the object state untouched. < / dd > < / dl >
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "a06925d567ffcc907c4cd6adc2c86ff96" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a06925d567ffcc907c4cd6adc2c86ff96" > ◆ < / a > < / span > InitializeFromSystemUUID()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void crashpad::UUID::InitializeFromSystemUUID < / td >
< td > (< / td >
< td class = "paramtype" > const ::< a class = "el" href = "structcrashpad_1_1UUID.html" > UUID< / a > *  < / td >
< td class = "paramname" > < em > system_uuid< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Initializes the UUID from a system < code > < a class = "el" href = "structcrashpad_1_1UUID.html" title = "A universally unique identifier (UUID). " > UUID< / a > < / code > or < code > GUID< / code > structure. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramdir" > [in]< / td > < td class = "paramname" > system_uuid< / td > < td > A system < code > < a class = "el" href = "structcrashpad_1_1UUID.html" title = "A universally unique identifier (UUID). " > UUID< / a > < / code > or < code > GUID< / code > structure. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "abb93de9035e993726b07e3654640b860" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#abb93de9035e993726b07e3654640b860" > ◆ < / a > < / span > InitializeWithNew()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool crashpad::UUID::InitializeWithNew < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Initializes the UUID using a standard system facility to generate the value. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > < code > true< / code > if the UUID was initialized correctly, < code > false< / code > otherwise with a message logged. < / dd > < / dl >
< / div >
< / div >
2016-11-07 15:21:37 -05:00
< a id = "a4bf420363950dd85c017694ac96e29f5" > < / a >
2017-02-22 23:37:31 -05:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a4bf420363950dd85c017694ac96e29f5" > ◆ < / a > < / span > ToString()< / h2 >
2016-11-07 15:21:37 -05:00
2015-10-08 14:55:01 -04:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string crashpad::UUID::ToString < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Formats the UUID per RFC 4122 §3. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > A string of the form < code > "00112233-4455-6677-8899-aabbccddeeff"< / code > . < / dd > < / dl >
< / div >
< / div >
< hr / > The documentation for this struct was generated from the following files:< ul >
< li > util/misc/uuid.h< / li >
< li > util/misc/uuid.cc< / li >
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2017-02-22 23:37:31 -05:00
< / a > 1.8.13
2015-10-08 14:55:01 -04:00
< / small > < / address >
< / body >
< / html >