HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_NodeVerb Class Referenceabstract

#include <OP_NodeVerb.h>

+ Inheritance diagram for OP_NodeVerb:

Classes

class  Register
 

Public Member Functions

 OP_NodeVerb ()
 
virtual ~OP_NodeVerb ()
 
 OP_NodeVerb (const OP_NodeVerb &)=delete
 
OP_NodeVerboperator= (const OP_NodeVerb &)=delete
 
virtual OP_NodeCachebaseAllocCache () const
 
virtual OP_NodeParmsbaseAllocParms () const =0
 
virtual UT_StringHolder name () const =0
 
virtual OP_OpTypeId category () const =0
 

Static Public Member Functions

static const OP_NodeVerblookupCategoryVerb (OP_OpTypeId cat, const UT_StringRef &name)
 Finds a verb which matches the given name. More...
 
static void listCategoryVerbs (OP_OpTypeId cat, UT_StringArray &verbnames)
 
static void registerVerb (OP_NodeVerb *verb)
 
static void unregisterVerb (OP_NodeVerb *verb)
 

Detailed Description

OP_NodeVerb

This should be a singleton class. Build it with the Register template to allow it to be discoverable by name.

Definition at line 33 of file OP_NodeVerb.h.

Constructor & Destructor Documentation

OP_NodeVerb::OP_NodeVerb ( )
inline

Definition at line 36 of file OP_NodeVerb.h.

virtual OP_NodeVerb::~OP_NodeVerb ( )
inlinevirtual

Definition at line 37 of file OP_NodeVerb.h.

OP_NodeVerb::OP_NodeVerb ( const OP_NodeVerb )
delete

Member Function Documentation

virtual OP_NodeCache* OP_NodeVerb::baseAllocCache ( ) const
inlinevirtual

When working with a specific category one will use allocCache and allocParms, which these should chain to in the category baseclass.

Reimplemented in SOP_NodeVerb.

Definition at line 66 of file OP_NodeVerb.h.

virtual OP_NodeParms* OP_NodeVerb::baseAllocParms ( ) const
pure virtual

Implemented in SOP_NodeVerb.

virtual OP_OpTypeId OP_NodeVerb::category ( ) const
pure virtual

Implemented in SOP_NodeVerb.

static void OP_NodeVerb::listCategoryVerbs ( OP_OpTypeId  cat,
UT_StringArray verbnames 
)
static
static const OP_NodeVerb* OP_NodeVerb::lookupCategoryVerb ( OP_OpTypeId  cat,
const UT_StringRef name 
)
static

Finds a verb which matches the given name.

OP_NodeVerb& OP_NodeVerb::operator= ( const OP_NodeVerb )
delete
static void OP_NodeVerb::registerVerb ( OP_NodeVerb verb)
static
static void OP_NodeVerb::unregisterVerb ( OP_NodeVerb verb)
static

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