MOAB: Mesh Oriented datABase  (version 5.4.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

InterfaceiFace
std::string name1
std::string name2

Detailed Description

Definition at line 507 of file WriteHDF5Parallel.cpp.


Constructor & Destructor Documentation

Definition at line 513 of file WriteHDF5Parallel.cpp.

: iFace( iface ) {}

Member Function Documentation

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

Definition at line 517 of file WriteHDF5Parallel.cpp.

References iFace, name1, name2, moab::Interface::tag_get_name(), 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

Definition at line 509 of file WriteHDF5Parallel.cpp.

Referenced by operator()().

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

Definition at line 510 of file WriteHDF5Parallel.cpp.

Referenced by operator()().

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

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