Back to index

salome-kernel  6.5.0
Classes | Public Member Functions
CouplingPolicy Class Reference

#include <CouplingPolicy.hxx>

Inheritance diagram for CouplingPolicy:
Inheritance graph

List of all members.


struct  BoundedDataIdProcessor
struct  DisconnectProcessor
struct  EraseDataIdBeforeOrAfterTagProcessor
struct  EraseDataIdProcessor

Public Member Functions

template<typename Container >
bool isDataIdConveniant (Container &storedDatas, const typename Container::key_type &expectedDataId, bool &isEqual, bool &isBounded, typename Container::iterator &wDataIt1) const
virtual void wakeupWaiting ()
virtual ~CouplingPolicy ()

Detailed Description

Definition at line 65 of file CouplingPolicy.hxx.

Constructor & Destructor Documentation

virtual CouplingPolicy::~CouplingPolicy ( ) [inline, virtual]

Definition at line 172 of file CouplingPolicy.hxx.


Member Function Documentation

template<typename Container >
bool CouplingPolicy::isDataIdConveniant ( Container &  storedDatas,
const typename Container::key_type &  expectedDataId,
bool isEqual,
bool isBounded,
typename Container::iterator &  wDataIt1 
) const [inline]

Definition at line 77 of file CouplingPolicy.hxx.

    typedef typename Container::key_type   key_type;
    typedef typename Container::value_type value_type;
    typedef typename Container::iterator iterator;
    isBounded = false;
    FindKeyPredicate<value_type> fkp(expectedDataId);
    wDataIt1  = std::find_if(storedDatas.begin(),storedDatas.end(),fkp);
    isEqual   = (wDataIt1 != storedDatas.end());
    std::cout << "-------- Generic isDataIdConvenient : isEqual : " << isEqual << " , isBounded " << isBounded << std::endl;
    return isEqual || isBounded;
virtual void CouplingPolicy::wakeupWaiting ( ) [inline, virtual]

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