PeriDyno 1.2.1
Loading...
Searching...
No Matches
Wt::Guid Class Reference

#include <guid.hpp>

Public Member Functions

 Guid (const std::array< unsigned char, 16 > &bytes)
 
 Guid (std::array< unsigned char, 16 > &&bytes)
 
 Guid ()
 
 Guid (const Guid &other)=default
 
Guidoperator= (const Guid &other)=default
 
 Guid (Guid &&other)=default
 
Guidoperator= (Guid &&other)=default
 
bool operator== (const Guid &other) const
 
bool operator!= (const Guid &other) const
 
std::string str () const
 
 operator std::string () const
 
const std::array< unsigned char, 16 > & bytes () const
 
void swap (Guid &other)
 
bool isValid () const
 

Private Attributes

std::array< unsigned char, 16 > _bytes
 

Friends

std::ostream & operator<< (std::ostream &s, const Guid &guid)
 
bool operator< (const Guid &lhs, const Guid &rhs)
 

Detailed Description

Definition at line 13 of file guid.hpp.

Constructor & Destructor Documentation

◆ Guid() [1/5]

Wt::Guid::Guid ( const std::array< unsigned char, 16 > & bytes)
explicit

Definition at line 6 of file guid.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Guid() [2/5]

Wt::Guid::Guid ( std::array< unsigned char, 16 > && bytes)
explicit

Definition at line 8 of file guid.cpp.

Here is the call graph for this function:

◆ Guid() [3/5]

Wt::Guid::Guid ( )

Definition at line 10 of file guid.cpp.

◆ Guid() [4/5]

Wt::Guid::Guid ( const Guid & other)
default
Here is the call graph for this function:

◆ Guid() [5/5]

Wt::Guid::Guid ( Guid && other)
default
Here is the call graph for this function:

Member Function Documentation

◆ bytes()

const std::array< unsigned char, 16 > & Wt::Guid::bytes ( ) const

Definition at line 53 of file guid.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isValid()

bool Wt::Guid::isValid ( ) const

Definition at line 64 of file guid.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator std::string()

Wt::Guid::operator std::string ( ) const

Definition at line 48 of file guid.cpp.

Here is the call graph for this function:

◆ operator!=()

bool Wt::Guid::operator!= ( const Guid & other) const

Definition at line 17 of file guid.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

Guid & Wt::Guid::operator= ( const Guid & other)
default
Here is the call graph for this function:

◆ operator=() [2/2]

Guid & Wt::Guid::operator= ( Guid && other)
default
Here is the call graph for this function:

◆ operator==()

bool Wt::Guid::operator== ( const Guid & other) const

Definition at line 12 of file guid.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ str()

std::string Wt::Guid::str ( ) const

Definition at line 22 of file guid.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swap()

void Wt::Guid::swap ( Guid & other)

Definition at line 58 of file guid.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator<

bool operator< ( const Guid & lhs,
const Guid & rhs )
friend

Definition at line 98 of file guid.cpp.

◆ operator<<

std::ostream & operator<< ( std::ostream & s,
const Guid & guid )
friend

Definition at line 70 of file guid.cpp.

Member Data Documentation

◆ _bytes

std::array<unsigned char, 16> Wt::Guid::_bytes
private

Definition at line 36 of file guid.hpp.


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