##// END OF EJS Templates
Prohibits the plot of a variable in several graphs (2)...
Prohibits the plot of a variable in several graphs (2) Uses previous operation to not generate 'plot' menu if the variable is already displayed

File last commit:

r327:87af69bdce8a
r736:bca343a0ae6b
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