Back to index

salome-kernel  6.5.0
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes
PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG > Class Template Reference

#include <PalmCouplingPolicy.hxx>

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

List of all members.

Classes

class  DataIdIterator

Public Types

typedef DataId value_type
typedef DataIdIterator< T_TIME,
T_TAG > 
iterator
typedef value_typereference
typedef value_type const & const_reference

Public Member Functions

 InternalDataIdContainer (const DataId &dataId, const PalmCouplingPolicy &policy)
 InternalDataIdContainer (std::vector< T_TIME > const &lTime, std::vector< T_TAG > const &lTag)
 InternalDataIdContainer (InternalDataIdContainer const &pc)
InternalDataIdContaineroperator= (const InternalDataIdContainer &pc)
virtual ~InternalDataIdContainer ()
iterator begin ()
iterator end ()
bool empty () const

Private Member Functions

 InternalDataIdContainer ()

Private Attributes

std::vector< T_TIME > _lTime
std::vector< T_TAG > _lTag

Detailed Description

template<typename T_TIME, typename T_TAG>
class PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >

Definition at line 69 of file PalmCouplingPolicy.hxx.


Member Typedef Documentation

template<typename T_TIME, typename T_TAG>
typedef value_type const& PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::const_reference

Definition at line 83 of file PalmCouplingPolicy.hxx.

template<typename T_TIME, typename T_TAG>
typedef DataIdIterator<T_TIME, T_TAG> PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::iterator

Definition at line 80 of file PalmCouplingPolicy.hxx.

template<typename T_TIME, typename T_TAG>
typedef value_type& PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::reference

Definition at line 82 of file PalmCouplingPolicy.hxx.

template<typename T_TIME, typename T_TAG>
typedef DataId PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::value_type

Definition at line 79 of file PalmCouplingPolicy.hxx.


Constructor & Destructor Documentation

template<typename T_TIME, typename T_TAG>
PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::InternalDataIdContainer ( ) [inline, private]

Definition at line 76 of file PalmCouplingPolicy.hxx.

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

Definition at line 87 of file PalmCouplingPolicy.hxx.

                                                                                       {
      std::cout << "----Cst ----  InternalDataIdContainer(const DataId & dataId..) " << dataId <<std::endl;
      policy.filtre_convert_TIME.applique_filtre_conversion(dataId.first, _lTime);
      int c=0;
      for(std::vector<CORBA::Long>::iterator i=_lTime.begin();i!=_lTime.end();++i)
        std::cout << "_lTime["<< c++ << "] : " << *i << std::endl;
      policy.filtre_convert_TAG.applique_filtre_conversion(dataId.second, _lTag);
      c=0;
      for(std::vector<CORBA::Long>::iterator i=_lTag.begin();i!=_lTag.end();++i)
        std::cout << "_lTag["<< c++ << "] : " << *i << std::endl;
    }
template<typename T_TIME, typename T_TAG>
PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::InternalDataIdContainer ( std::vector< T_TIME > const &  lTime,
std::vector< T_TAG > const &  lTag 
) [inline]

Definition at line 100 of file PalmCouplingPolicy.hxx.

                                                                                           :
      _lTime(lTime),_lTag(lTag) {}
template<typename T_TIME, typename T_TAG>
PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::InternalDataIdContainer ( InternalDataIdContainer< T_TIME, T_TAG > const &  pc) [inline]

Definition at line 105 of file PalmCouplingPolicy.hxx.

                                                                :
      _lTime(pc._lTime), _lTag(pc._lTag) {}
template<typename T_TIME, typename T_TAG>
virtual PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::~InternalDataIdContainer ( ) [inline, virtual]

Definition at line 115 of file PalmCouplingPolicy.hxx.

{}

Member Function Documentation

template<typename T_TIME, typename T_TAG>
iterator PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::begin ( ) [inline]

Definition at line 117 of file PalmCouplingPolicy.hxx.

{ return iterator(*this);  }
template<typename T_TIME, typename T_TAG>
bool PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::empty ( ) const [inline]

Definition at line 121 of file PalmCouplingPolicy.hxx.

{ return _lTime.empty() || _lTag.empty(); }
template<typename T_TIME, typename T_TAG>
iterator PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::end ( ) [inline]

Definition at line 118 of file PalmCouplingPolicy.hxx.

{ return iterator(*this,_lTime.end(),_lTag.end()); }
template<typename T_TIME, typename T_TAG>
InternalDataIdContainer& PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::operator= ( const InternalDataIdContainer< T_TIME, T_TAG > &  pc) [inline]

Definition at line 110 of file PalmCouplingPolicy.hxx.

                                                                            {
      if (this != &pc) { _lTime=pc._lTime; _lTag=pc._lTag; }
      return *this;
    }

Member Data Documentation

template<typename T_TIME, typename T_TAG>
std::vector<T_TAG> PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::_lTag [private]

Definition at line 72 of file PalmCouplingPolicy.hxx.

template<typename T_TIME, typename T_TAG>
std::vector<T_TIME> PalmCouplingPolicy::InternalDataIdContainer< T_TIME, T_TAG >::_lTime [private]

Definition at line 71 of file PalmCouplingPolicy.hxx.


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