OEHasInteractionHintType¶
class OEHasInteractionHintType : public OESystem::OEUnaryPredicate<OEInteractionHint>
This class represents OEHasInteractionHintType functor that identifies connections (OEInteractionHint) with a specific type (OEInteractionHintTypeBase).
See also
Constructors¶
OEHasInteractionHintType(const OEInteractionHintTypeBase &itype)
Constructs the functor with the given interaction type.
See also
The following built-in interaction hint types are available:
OEHasInteractionHintType(const OEHasInteractionHintType &rhs)
Copy constructor.
operator=¶
OEHasInteractionHintType &operator=(const OEHasInteractionHintType &rhs)
Assignment operator.
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.
The returned copy should be deallocated using C++ delete operator in order to prevent a memory leak.