#include <OP_OpTypeIdFilter.h>
Public Member Functions | |
| OP_OpTypeIdFilter () | |
| Constructor. | |
| OP_OpTypeIdFilter (const OP_OpTypeIdFilter &filter) | |
| Copy constructor. | |
| virtual | ~OP_OpTypeIdFilter () |
| Destructor. | |
| bool | isAcceptableNode (OP_Node *node) const |
| bool | hasOpTypeId (OP_OpTypeId opType) const |
| void | setCheckChildOpTypeId (bool doChildCheck) |
| void | setFilterMask (OP_OpTypeId opType, bool doMask=true) |
| Sets the mask for the operator type id. | |
| void | resetFilter (bool resetValue=true) |
| Resets the filter by setting each mask to the reset value. | |
| OP_OpTypeIdFilter & | operator= (const OP_OpTypeIdFilter &str) |
| Assignment operator. | |
Definition at line 31 of file OP_OpTypeIdFilter.h.
| OP_OpTypeIdFilter::OP_OpTypeIdFilter | ( | ) |
Constructor.
| OP_OpTypeIdFilter::OP_OpTypeIdFilter | ( | const OP_OpTypeIdFilter & | filter | ) |
Copy constructor.
| virtual OP_OpTypeIdFilter::~OP_OpTypeIdFilter | ( | ) | [virtual] |
Destructor.
| bool OP_OpTypeIdFilter::hasOpTypeId | ( | OP_OpTypeId | opType | ) | const |
Returns true if the the filter has the operator type id. Returns false otherwise.
| bool OP_OpTypeIdFilter::isAcceptableNode | ( | OP_Node * | node | ) | const |
Returns true if the given node is accepted by the filter. Returns false otherwise.
| OP_OpTypeIdFilter& OP_OpTypeIdFilter::operator= | ( | const OP_OpTypeIdFilter & | str | ) |
Assignment operator.
| void OP_OpTypeIdFilter::resetFilter | ( | bool | resetValue = true |
) |
Resets the filter by setting each mask to the reset value.
| void OP_OpTypeIdFilter::setCheckChildOpTypeId | ( | bool | doChildCheck | ) | [inline] |
Sets whether we should be checking a network's child op type when determining if it is accepted by this filter. This logic is used in isAcceptableNode().
Definition at line 55 of file OP_OpTypeIdFilter.h.
| void OP_OpTypeIdFilter::setFilterMask | ( | OP_OpTypeId | opType, | |
| bool | doMask = true | |||
| ) |
Sets the mask for the operator type id.
1.5.9