OEInteractionHintTypeBase

class OEInteractionHintTypeBase

The OEInteractionHintTypeBase is an abstract class that enables to type interactions (OEInteractionHint) stored in a OEInteractionHintContainer object.

The following classes derive from this class:

Constructors

OEInteractionHintTypeBase(const std::string& name)

Creates an interaction type with the given name (identifier).

name

A unique string representing a specific interaction type.

OEInteractionHintTypeBase(const OEInteractionHintTypeBase& rhs)

Copy constructor.

CreateCopy

CreateCopy() -> OEInteractionHintTypeBase

Virtual const constructor which allows copying of concrete derived objects using a reference to this base class.

GetName

GetName() -> str

Returns the name (identifier) of the interaction type.

IsValid

IsValid(arg2: OEInteractionHint) -> bool

Returns whether the given interaction is considered valid for the given interaction type.

IsValid(arg2: OEInteractionHintFragment,
        arg3: OEInteractionHintFragment) -> bool

This is a virtual method that has to be implemented in the concrete derived classes to evaluate whether the two given fragments form a valid interaction for the given concrete interaction type.