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

Range of entities, grouped by type, to export. More...

#include <WriteHDF5.hpp>

+ Inheritance diagram for moab::WriteHDF5::ExportSet:
+ Collaboration diagram for moab::WriteHDF5::ExportSet:

Public Member Functions

bool operator< (const ExportType &other) const
bool operator< (std::pair< int, int > other) const
bool operator== (const ExportType &other) const
bool operator== (std::pair< int, int > other) const
const char * name () const

Public Attributes

Range range
 The range of entities.
wid_t first_id
 The first Id allocated by the mhdf library. Entities in range have sequential IDs.
long offset
long adj_offset
 Offset for adjacency data. Always zero except for parallel IO.
long max_num_ents
long max_num_adjs
long total_num_ents

Detailed Description

Range of entities, grouped by type, to export.

Definition at line 108 of file WriteHDF5.hpp.


Member Function Documentation

bool moab::WriteHDF5::ExportSet::operator< ( const ExportType other) const [inline]

Reimplemented from moab::WriteHDF5::ExportType.

Definition at line 129 of file WriteHDF5.hpp.

References moab::WriteHDF5::ExportType::num_nodes, and moab::WriteHDF5::ExportType::type.

        {
            return type < other.type || ( type == other.type && num_nodes < other.num_nodes );
        }
bool moab::WriteHDF5::ExportSet::operator< ( std::pair< int, int >  other) const [inline]

Definition at line 134 of file WriteHDF5.hpp.

References moab::WriteHDF5::ExportType::num_nodes, and moab::WriteHDF5::ExportType::type.

        {
            return type < other.first || ( type == other.first && num_nodes < other.second );
        }
bool moab::WriteHDF5::ExportSet::operator== ( const ExportType other) const [inline]

Reimplemented from moab::WriteHDF5::ExportType.

Definition at line 139 of file WriteHDF5.hpp.

References moab::WriteHDF5::ExportType::num_nodes, and moab::WriteHDF5::ExportType::type.

        {
            return ( type == other.type && num_nodes == other.num_nodes );
        }
bool moab::WriteHDF5::ExportSet::operator== ( std::pair< int, int >  other) const [inline]

Definition at line 144 of file WriteHDF5.hpp.

References moab::WriteHDF5::ExportType::num_nodes, and moab::WriteHDF5::ExportType::type.

        {
            return ( type == other.first && num_nodes == other.second );
        }

Member Data Documentation

Offset for adjacency data. Always zero except for parallel IO.

Definition at line 118 of file WriteHDF5.hpp.

Referenced by moab::WriteHDF5Parallel::negotiate_type_list(), moab::WriteHDF5::serial_create_file(), and moab::WriteHDF5::write_adjacencies().

The total number of entities that will be written to the file for this group. For serial IO, this should always be range.size(). For parallel IO, it will be the sum of range size over all processors. For parallel IO, this value is undefined except for on the root processor.

Definition at line 127 of file WriteHDF5.hpp.

Referenced by moab::WriteHDF5Parallel::create_meshset_tables(), moab::WriteHDF5Parallel::create_node_table(), moab::WriteHDF5::create_tag(), moab::WriteHDF5::serial_create_file(), and moab::WriteHDF5::write_nodes().

List of all members.


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