Back to index

salome-kernel  6.5.0
Public Types | Public Member Functions | Public Attributes
CalciumCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG > Struct Template Reference

#include <CalciumCouplingPolicy.hxx>

Inheritance diagram for CalciumCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >:
Inheritance graph
[legend]
Collaboration diagram for CalciumCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector< DataIdDataIdVect

Public Member Functions

 InternalDataIdContainer (const DataId &dataId, const CalciumCouplingPolicy &policy)

Public Attributes

elements
 STL member.

Detailed Description

template<typename T_TIME, typename T_TAG>
struct CalciumCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >

Definition at line 147 of file CalciumCouplingPolicy.hxx.


Member Typedef Documentation

template<typename T_TIME , typename T_TAG >
typedef std::vector< DataId > CalciumCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::DataIdVect

Definition at line 148 of file CalciumCouplingPolicy.hxx.


Constructor & Destructor Documentation

template<typename T_TIME , typename T_TAG >
CalciumCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::InternalDataIdContainer ( const DataId dataId,
const CalciumCouplingPolicy policy 
) [inline]

Definition at line 150 of file CalciumCouplingPolicy.hxx.

                           :std::vector< std::pair< T_TIME,T_TAG> >() {
    // Ignore les paramètres qui ne sont pas en rapport avec le type de dépendance
    switch (policy._dependencyType) {
    case CalciumTypes::TIME_DEPENDENCY:
      this->push_back(DataId(dataId.first,0));
      break;
    case CalciumTypes::ITERATION_DEPENDENCY:
      this->push_back(DataId(0,dataId.second));
      break;
    default:
      throw(CalciumException(CalciumTypes::CPIT,LOC("The dependency type must be set by setDependencyType before calling DataIdContainer contructor")));
      break;
    }
  };

Member Data Documentation

template<typename T>
T std::vector< T >::elements [inherited]

STL member.


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