##// END OF EJS Templates
Implements "Variable creation" operation (1)...
Implements "Variable creation" operation (1) Defines properties that will be necessary for the operation: - the provider attached to the variable created - the metadata attached to the variable created

File last commit:

r327:87af69bdce8a
r1207:f9a3c30f94e2
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