##// END OF EJS Templates
Unplot menu (5): adds contains() method to an IVariableContainer...
Unplot menu (5): adds contains() method to an IVariableContainer The method will be used to generate an action in the 'unplot' menu, depending on whether or not the container contains the variable

File last commit:

r327:87af69bdce8a
r327:87af69bdce8a
Show More
IVariableContainer.h
22 lines | 601 B | text/x-c | CLexer
Alexandre Leroux
Creates a interface that defines a variable container...
r209 #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;
Alexandre Leroux
Unplot menu (5): adds contains() method to an IVariableContainer...
r327
/// Checks if the container contains the variable passed in parameter
virtual bool contains(const Variable &variable) const = 0;
Alexandre Leroux
Creates a interface that defines a variable container...
r209 };
#endif // SCIQLOP_IVARIABLECONTAINER_H