Back to index

salome-med  6.5.0
Public Member Functions | Public Attributes
MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data Struct Reference

#include <MEDMEM_DriverTools.hxx>

Collaboration diagram for MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setData (int nb_comp, int supp_id)
int nbComponents () const
std::string & compName (int i_comp)
bool isValidNbGauss () const
int nbGauss () const
bool hasGauss () const

Public Attributes

int _supp_id
std::vector< std::string > _comp_names
std::vector< int > _nb_gauss

Detailed Description

template<class ARRAY_ELEMENT_TYPE, class INTERLACE_TAG, class GAUSS_TAG, class CHECKING_POLICY = IndexCheckPolicy>
struct MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data

Definition at line 157 of file MEDMEM_DriverTools.hxx.


Member Function Documentation

template<class ARRAY_ELEMENT_TYPE , class INTERLACE_TAG , class GAUSS_TAG , class CHECKING_POLICY = IndexCheckPolicy>
std::string& MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data::compName ( int  i_comp) [inline]

Definition at line 167 of file MEDMEM_DriverTools.hxx.

{ return _comp_names[ i_comp ]; }
template<class ARRAY_ELEMENT_TYPE , class INTERLACE_TAG , class GAUSS_TAG , class CHECKING_POLICY = IndexCheckPolicy>
bool MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data::hasGauss ( ) const [inline]

Definition at line 175 of file MEDMEM_DriverTools.hxx.

{ return nbGauss() > 1; }

Here is the call graph for this function:

template<class ARRAY_ELEMENT_TYPE , class INTERLACE_TAG , class GAUSS_TAG , class CHECKING_POLICY = IndexCheckPolicy>
bool MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data::isValidNbGauss ( ) const [inline]

Definition at line 168 of file MEDMEM_DriverTools.hxx.

                                { return *std::max_element( _nb_gauss.begin(), _nb_gauss.end() ) ==
                                    *std::min_element( _nb_gauss.begin(), _nb_gauss.end() ); }
template<class ARRAY_ELEMENT_TYPE , class INTERLACE_TAG , class GAUSS_TAG , class CHECKING_POLICY = IndexCheckPolicy>
int MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data::nbComponents ( ) const [inline]

Definition at line 166 of file MEDMEM_DriverTools.hxx.

{ return _comp_names.size(); }
template<class ARRAY_ELEMENT_TYPE , class INTERLACE_TAG , class GAUSS_TAG , class CHECKING_POLICY = IndexCheckPolicy>
int MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data::nbGauss ( ) const [inline]

Definition at line 173 of file MEDMEM_DriverTools.hxx.

{ return std::max( 1, _nb_gauss[0] ); }

Here is the caller graph for this function:

template<class ARRAY_ELEMENT_TYPE , class INTERLACE_TAG , class GAUSS_TAG , class CHECKING_POLICY = IndexCheckPolicy>
void MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data::setData ( int  nb_comp,
int  supp_id 
) [inline]

Definition at line 164 of file MEDMEM_DriverTools.hxx.

    { _supp_id = supp_id - 1; _comp_names.resize(nb_comp); _nb_gauss.resize(nb_comp,1); }

Member Data Documentation

template<class ARRAY_ELEMENT_TYPE , class INTERLACE_TAG , class GAUSS_TAG , class CHECKING_POLICY = IndexCheckPolicy>
std::vector<std::string> MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data::_comp_names

Definition at line 161 of file MEDMEM_DriverTools.hxx.

template<class ARRAY_ELEMENT_TYPE , class INTERLACE_TAG , class GAUSS_TAG , class CHECKING_POLICY = IndexCheckPolicy>
std::vector<int> MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data::_nb_gauss

Definition at line 162 of file MEDMEM_DriverTools.hxx.

template<class ARRAY_ELEMENT_TYPE , class INTERLACE_TAG , class GAUSS_TAG , class CHECKING_POLICY = IndexCheckPolicy>
int MEDMEM::MEDMEM_EXPORT< ARRAY_ELEMENT_TYPE, INTERLACE_TAG, GAUSS_TAG, CHECKING_POLICY >::_sub_data::_supp_id

Definition at line 160 of file MEDMEM_DriverTools.hxx.


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