HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_NetworkOperatorFilter Class Reference

#include <OP_Network.h>

+ Inheritance diagram for OP_NetworkOperatorFilter:

Public Member Functions

 OP_NetworkOperatorFilter ()
 
 ~OP_NetworkOperatorFilter () override
 
bool allowOperatorAsChild (OP_Operator *op) override
 
bool allowOperatorInTabMenu (OP_Operator *op) override
 
bool allowToolSubmenus (const UT_StringHolder &tool_name, const UT_StringArray &submenus) override
 
void setFilter (const UT_StringHolder &filter)
 
- Public Member Functions inherited from OP_OperatorFilter
 OP_OperatorFilter ()
 
virtual ~OP_OperatorFilter ()
 
virtual bool allowTool (const char *tool_name)
 

Detailed Description

Definition at line 133 of file OP_Network.h.

Constructor & Destructor Documentation

OP_NetworkOperatorFilter::OP_NetworkOperatorFilter ( )
OP_NetworkOperatorFilter::~OP_NetworkOperatorFilter ( )
override

Member Function Documentation

bool OP_NetworkOperatorFilter::allowOperatorAsChild ( OP_Operator op)
overridevirtual

Returns true if an operator type can be created as a child, and false otherwise.

Reimplemented from OP_OperatorFilter.

bool OP_NetworkOperatorFilter::allowOperatorInTabMenu ( OP_Operator op)
overridevirtual

Returns true if an operator type should be listed in the Tab menu, and false otherwise.

Reimplemented from OP_OperatorFilter.

bool OP_NetworkOperatorFilter::allowToolSubmenus ( const UT_StringHolder tool_name,
const UT_StringArray submenus 
)
overridevirtual

Returns true if a shelf tool by the given name can appear in the Tab menu for that (parent) network.

Reimplemented from OP_OperatorFilter.

void OP_NetworkOperatorFilter::setFilter ( const UT_StringHolder filter)

The documentation for this class was generated from the following file: