MOAB: Mesh Oriented datABase
(version 5.4.1)
|
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 28 of file UnknownInterface.hpp.
moab::MBuuid::MBuuid | ( | ) | [inline] |
default constructor that initializes to zero
Definition at line 31 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] |
constructor that takes initialization arguments
Definition at line 36 of file UnknownInterface.hpp.
moab::MBuuid::MBuuid | ( | const MBuuid & | mdbuuid | ) | [inline] |
copy constructor
Definition at line 61 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 77 of file UnknownInterface.hpp.
{ return !( *this == orig ); }
sets this uuid equal to another one
Definition at line 66 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 72 of file UnknownInterface.hpp.
{ return !memcmp( this, &orig, sizeof( MBuuid ) ); }
unsigned moab::MBuuid::data1 |
unsigned short moab::MBuuid::data2 |
Definition at line 84 of file UnknownInterface.hpp.
Referenced by MBuuid().
unsigned short moab::MBuuid::data3 |
Definition at line 85 of file UnknownInterface.hpp.
Referenced by MBuuid().
unsigned char moab::MBuuid::data4[8] |
Definition at line 86 of file UnknownInterface.hpp.
Referenced by MBuuid().