moab
moab::elemtype Struct Reference

List of all members.

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 1135 of file WriteHDF5Parallel.cpp.


Constructor & Destructor Documentation

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

Definition at line 1139 of file WriteHDF5Parallel.cpp.

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

Definition at line 1140 of file WriteHDF5Parallel.cpp.

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

Member Function Documentation

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

Definition at line 1157 of file WriteHDF5Parallel.cpp.

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

Definition at line 1148 of file WriteHDF5Parallel.cpp.

  {
    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 1142 of file WriteHDF5Parallel.cpp.

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

Member Data Documentation

Definition at line 1136 of file WriteHDF5Parallel.cpp.

Definition at line 1137 of file WriteHDF5Parallel.cpp.


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