MOAB: Mesh Oriented datABase  (version 5.2.1)
moab::TagNameCompare Class Reference
+ Collaboration diagram for moab::TagNameCompare:

Public Member Functions

 TagNameCompare (Interface *iface)
bool operator() (const WriteHDF5::TagDesc &t1, const WriteHDF5::TagDesc &t2)

Private Attributes

Interface * iFace
std::string name1
std::string name2

Detailed Description

Definition at line 491 of file WriteHDF5Parallel.cpp.


Constructor & Destructor Documentation

moab::TagNameCompare::TagNameCompare ( Interface *  iface) [inline]

Definition at line 497 of file WriteHDF5Parallel.cpp.

: iFace( iface ) {}

Member Function Documentation

bool moab::TagNameCompare::operator() ( const WriteHDF5::TagDesc t1,
const WriteHDF5::TagDesc t2 
)

Definition at line 501 of file WriteHDF5Parallel.cpp.

References iFace, name1, name2, and moab::WriteHDF5::TagDesc::tag_id.

{
    iFace->tag_get_name( t1.tag_id, name1 );
    iFace->tag_get_name( t2.tag_id, name2 );
    return name1 < name2;
}

Member Data Documentation

Interface* moab::TagNameCompare::iFace [private]

Definition at line 493 of file WriteHDF5Parallel.cpp.

Referenced by operator()().

std::string moab::TagNameCompare::name1 [private]

Definition at line 494 of file WriteHDF5Parallel.cpp.

Referenced by operator()().

std::string moab::TagNameCompare::name2 [private]

Definition at line 494 of file WriteHDF5Parallel.cpp.

Referenced by operator()().

List of all members.


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