MOAB: Mesh Oriented datABase  (version 5.4.1)
moab::elemtype Struct Reference

Public Member Functions

 elemtype (int vals[2])
 elemtype (int t, int n)
bool operator== (const elemtype &other) const
bool operator< (const elemtype &other) const
bool operator!= (const elemtype &other) const

Public Attributes

int mbtype
int numnode

Detailed Description

Definition at line 1204 of file WriteHDF5Parallel.cpp.


Constructor & Destructor Documentation

moab::elemtype::elemtype ( int  vals[2]) [inline]

Definition at line 1209 of file WriteHDF5Parallel.cpp.

: mbtype( vals[0] ), numnode( vals[1] ) {}
moab::elemtype::elemtype ( int  t,
int  n 
) [inline]

Definition at line 1210 of file WriteHDF5Parallel.cpp.

: mbtype( t ), numnode( n ) {}

Member Function Documentation

bool moab::elemtype::operator!= ( const elemtype other) const [inline]

Definition at line 1222 of file WriteHDF5Parallel.cpp.

References operator==().

    {
        return !this->operator==( other );
    }
bool moab::elemtype::operator< ( const elemtype other) const [inline]

Definition at line 1216 of file WriteHDF5Parallel.cpp.

References MBENTITYSET, mbtype, and numnode.

    {
        if( mbtype > other.mbtype ) return false;

        return mbtype < other.mbtype || ( mbtype != MBENTITYSET && numnode < other.numnode );
    }
bool moab::elemtype::operator== ( const elemtype other) const [inline]

Definition at line 1212 of file WriteHDF5Parallel.cpp.

References MBENTITYSET, mbtype, and numnode.

Referenced by operator!=().

    {
        return mbtype == other.mbtype && ( mbtype == MBENTITYSET || numnode == other.numnode );
    }

Member Data Documentation

Definition at line 1206 of file WriteHDF5Parallel.cpp.

Referenced by operator<(), and operator==().

Definition at line 1207 of file WriteHDF5Parallel.cpp.

Referenced by operator<(), and operator==().

List of all members.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines