##// END OF EJS Templates
Changes structure of data hold by the item...
Changes structure of data hold by the item - The data are now set as a QHash instead of a QVector. Each data has a QVariant value and is associated to a key - Changes the constructor and adds a constructor that takes only a name

File last commit:

r327:87af69bdce8a
r342:2fbf66a7ca8a
Show More
IVariableContainer.h
22 lines | 601 B | text/x-c | CLexer
#ifndef SCIQLOP_IVARIABLECONTAINER_H
#define SCIQLOP_IVARIABLECONTAINER_H
class Variable;
/**
* @brief The IVariableContainer interface represents an UI object that can accommodate a variable
*/
class IVariableContainer {
public:
virtual ~IVariableContainer() = default;
/// Checks if the container can handle the variable passed in parameter
virtual bool canDrop(const Variable &variable) const = 0;
/// Checks if the container contains the variable passed in parameter
virtual bool contains(const Variable &variable) const = 0;
};
#endif // SCIQLOP_IVARIABLECONTAINER_H