OEHasInteractionHintType

class OEHasInteractionHintType : public OESystem::OEUnaryPredicate<OEInteractionHint>

This class represents OEHasInteractionHintType functor that identifies connections (OEInteractionHint) with a specific type (OEInteractionHintTypeBase).

Constructors

OEHasInteractionHintType(const OEInteractionHintTypeBase& itype)

Constructs the functor with the given interaction type.

OEHasInteractionHintType(const OEHasInteractionHintType& rhs)

Copy constructor.

operator()

bool operator()(const OEInteractionHint& i) const

Returns true, if the interaction has the same type with which the functor is constructed.

CreateCopy

OESystem::OEUnaryFunction<OEInteractionHint , bool>* CreateCopy() const

Deep copy constructor that returns a copy of the object. The memory for the returned OEHasInteractionHintType object is dynamically allocated and owned by the caller.