MOAB: Mesh Oriented datABase  (version 5.2.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 1175 of file WriteHDF5Parallel.cpp.


Constructor & Destructor Documentation

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

Definition at line 1180 of file WriteHDF5Parallel.cpp.

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

Definition at line 1181 of file WriteHDF5Parallel.cpp.

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

Member Function Documentation

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

Definition at line 1193 of file WriteHDF5Parallel.cpp.

References operator==().

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

Definition at line 1187 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 1183 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 1177 of file WriteHDF5Parallel.cpp.

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

Definition at line 1178 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