30 #ifndef _PALM_COUPLING_POLICIES_HXX_
31 #define _PALM_COUPLING_POLICIES_HXX_
33 #include <SALOMEconfig.h>
35 #include <omniORB4/CORBA.h>
61 typedef std::pair < TimeType , TagType >
DataId;
80 template <
typename TTIME,
typename TTAG>
class DataIdIterator;
81 typedef DataIdIterator<T_TIME, T_TAG>
iterator;
88 std::cout <<
"----Cst ---- InternalDataIdContainer(const DataId & dataId..) " << dataId <<std::endl;
91 for(std::vector<CORBA::Long>::iterator i=
_lTime.begin();i!=
_lTime.end();++i)
92 std::cout <<
"_lTime["<< c++ <<
"] : " << *i << std::endl;
95 for(std::vector<CORBA::Long>::iterator i=
_lTag.begin();i!=
_lTag.end();++i)
96 std::cout <<
"_lTag["<< c++ <<
"] : " << *i << std::endl;
111 if (
this != &pc) {
_lTime=pc._lTime;
_lTag=pc._lTag; }
124 template <
typename TTIME,
typename TTAG>
class DataIdIterator {
128 typedef typename std::vector<TTIME>::const_iterator
ItTime;
129 typedef typename std::vector<TTAG >::const_iterator
ItTag;
160 std::cout <<
"-------- operator*(), *_itTime : " << *
_itTime <<
" *_itTag " << *
_itTag <<std::endl;
164 return (
_itTime == dIt._itTime) && (
_itTag == dIt._itTag) && (&
_pc == &dIt._pc);
168 return (
_itTime != dIt._itTime) || (
_itTag != dIt._itTag) || (&
_pc != &dIt._pc);