All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OP_BundleFilter Class Referenceabstract

#include <OP_BundleFilter.h>

Public Member Functions

 OP_BundleFilter ()
virtual ~OP_BundleFilter ()
virtual const char * getName () const =0
virtual const char * getLabel () const =0
virtual bool isNodeValid (const OP_Bundle *bundle, const OP_Node *node) const =0
virtual int findAllNodes (const OP_Bundle *bundle, UT_IntArray &list, const OP_Node *net, const OP_Node *relativeto) const
virtual bool matchNode (const OP_Bundle *bundle, const OP_Node *needle, const OP_Node *patternNode, const OP_Node *relativeTo) const

Static Public Member Functions

static const OP_BundleFilterfindFilter (const char *name)
static int getFilterCount ()
static const OP_BundleFiltergetFilter (int index)
static const char * getNullFilterName ()
static const OP_BundleFilterfindTightFilter (const OP_Bundle *bundle, const OP_NodeList &list)

Detailed Description

Definition at line 21 of file OP_BundleFilter.h.

Constructor & Destructor Documentation

OP_BundleFilter::OP_BundleFilter ( )
virtual OP_BundleFilter::~OP_BundleFilter ( )

Member Function Documentation

virtual int OP_BundleFilter::findAllNodes ( const OP_Bundle bundle,
UT_IntArray list,
const OP_Node net,
const OP_Node relativeto 
) const
static const OP_BundleFilter* OP_BundleFilter::findFilter ( const char *  name)
static const OP_BundleFilter* OP_BundleFilter::findTightFilter ( const OP_Bundle bundle,
const OP_NodeList list 
static const OP_BundleFilter* OP_BundleFilter::getFilter ( int  index)
static int OP_BundleFilter::getFilterCount ( )
virtual const char* OP_BundleFilter::getLabel ( ) const
pure virtual
virtual const char* OP_BundleFilter::getName ( ) const
pure virtual
static const char* OP_BundleFilter::getNullFilterName ( )
virtual bool OP_BundleFilter::isNodeValid ( const OP_Bundle bundle,
const OP_Node node 
) const
pure virtual
virtual bool OP_BundleFilter::matchNode ( const OP_Bundle bundle,
const OP_Node needle,
const OP_Node patternNode,
const OP_Node relativeTo 
) const

Check whether the needle node is in the bundle. The base class implementation checks that isNodeValid() is true an that the needle is a child of the patternNode.

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