moab
|
struct that handles universally unique id's for the Mesh Database More...
#include <UnknownInterface.hpp>
Public Member Functions | |
MBuuid () | |
default constructor that initializes to zero | |
MBuuid (unsigned l, unsigned short w1, unsigned short w2, unsigned char b1, unsigned char b2, unsigned char b3, unsigned char b4, unsigned char b5, unsigned char b6, unsigned char b7, unsigned char b8) | |
constructor that takes initialization arguments | |
MBuuid (const MBuuid &mdbuuid) | |
copy constructor | |
MBuuid & | operator= (const MBuuid &orig) |
sets this uuid equal to another one | |
bool | operator== (const MBuuid &orig) const |
returns whether two uuid's are equal | |
bool | operator!= (const MBuuid &orig) const |
returns whether two uuid's are not equal | |
Public Attributes | |
unsigned | data1 |
uuid data storage | |
unsigned short | data2 |
unsigned short | data3 |
unsigned char | data4 [8] |
struct that handles universally unique id's for the Mesh Database
Definition at line 27 of file UnknownInterface.hpp.
moab::MBuuid::MBuuid | ( | ) | [inline] |
default constructor that initializes to zero
Definition at line 30 of file UnknownInterface.hpp.
{ memset( this, 0, sizeof(MBuuid) ); }
moab::MBuuid::MBuuid | ( | unsigned | l, |
unsigned short | w1, | ||
unsigned short | w2, | ||
unsigned char | b1, | ||
unsigned char | b2, | ||
unsigned char | b3, | ||
unsigned char | b4, | ||
unsigned char | b5, | ||
unsigned char | b6, | ||
unsigned char | b7, | ||
unsigned char | b8 | ||
) | [inline] |
moab::MBuuid::MBuuid | ( | const MBuuid & | mdbuuid | ) | [inline] |
copy constructor
Definition at line 53 of file UnknownInterface.hpp.
{ memcpy( this, &mdbuuid, sizeof(MBuuid)); }
bool moab::MBuuid::operator!= | ( | const MBuuid & | orig | ) | const [inline] |
returns whether two uuid's are not equal
Definition at line 69 of file UnknownInterface.hpp.
{ return!(*this == orig); }
sets this uuid equal to another one
Definition at line 58 of file UnknownInterface.hpp.
{ memcpy( this, &orig, sizeof(MBuuid)); return *this; }
bool moab::MBuuid::operator== | ( | const MBuuid & | orig | ) | const [inline] |
returns whether two uuid's are equal
Definition at line 64 of file UnknownInterface.hpp.
{ return !memcmp(this, &orig, sizeof(MBuuid)); }
unsigned moab::MBuuid::data1 |
uuid data storage
Definition at line 75 of file UnknownInterface.hpp.
unsigned short moab::MBuuid::data2 |
Definition at line 76 of file UnknownInterface.hpp.
unsigned short moab::MBuuid::data3 |
Definition at line 77 of file UnknownInterface.hpp.
unsigned char moab::MBuuid::data4[8] |
Definition at line 78 of file UnknownInterface.hpp.