Back to index

salome-med  6.5.0
Public Member Functions | Public Attributes
SauvUtilities::Group Struct Reference

#include <SauvMedConvertor.hxx>

Collaboration diagram for SauvUtilities::Group:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool empty () const
int size () const
 Return nb of elements in the group.
 Group ()

Public Attributes

TCellType _cellType
std::string _name
std::vector< const Cell * > _cells
std::vector< Group * > _groups
bool _isProfile
std::vector< std::string > _refNames
ParaMEDMEM::DataArrayInt_medGroup
std::vector< unsigned > _relocTable

Detailed Description

Definition at line 91 of file SauvMedConvertor.hxx.


Constructor & Destructor Documentation

Definition at line 111 of file SauvMedConvertor.hxx.


Member Function Documentation

bool SauvUtilities::Group::empty ( ) const [inline]

Definition at line 109 of file SauvMedConvertor.hxx.

{ return _cells.empty() && _groups.empty(); }

Here is the caller graph for this function:

int Group::size ( ) const

Return nb of elements in the group.

Definition at line 393 of file SauvMedConvertor.cxx.

{
  int sizze = 0;
  if ( !_relocTable.empty() )
    sizze =  _relocTable.size();
  else if ( _medGroup )
    sizze = _medGroup->getNumberOfTuples();
  else if ( !_cells.empty() )
    sizze = _cells.size();
  else
    for ( size_t i = 0; i < _groups.size(); ++i )
      sizze += _groups[i]->size();
  return sizze;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

std::vector<const Cell*> SauvUtilities::Group::_cells

Definition at line 95 of file SauvMedConvertor.hxx.

Definition at line 93 of file SauvMedConvertor.hxx.

Definition at line 96 of file SauvMedConvertor.hxx.

Definition at line 98 of file SauvMedConvertor.hxx.

Definition at line 106 of file SauvMedConvertor.hxx.

Definition at line 94 of file SauvMedConvertor.hxx.

std::vector<std::string> SauvUtilities::Group::_refNames

Definition at line 99 of file SauvMedConvertor.hxx.

std::vector< unsigned > SauvUtilities::Group::_relocTable

Definition at line 107 of file SauvMedConvertor.hxx.


The documentation for this struct was generated from the following files: