CC-Fractal-Suite
Static Public Member Functions | List of all members
CC::OP Class Reference

OP is meant to remove the need to write public 'myConstructor' methods in every class like the examples. More...

#include <FractalNode.h>

Static Public Member Functions

template<typename T >
static OP_Node * get_new_op (OP_Network *net, const char *name, OP_Operator *op)
 Method that calls a node's constructor, if added as a friend of the given node's class. More...
 

Detailed Description

OP is meant to remove the need to write public 'myConstructor' methods in every class like the examples.

So long as the constructor for a node can be default, this class need only be added as a 'friend class' and register.cpp will be able to call the static get_new_op method to pass node construction to Houdini.

Member Function Documentation

§ get_new_op()

template<typename T >
static OP_Node* CC::OP::get_new_op ( OP_Network *  net,
const char *  name,
OP_Operator *  op 
)
inlinestatic

Method that calls a node's constructor, if added as a friend of the given node's class.

See register.cpp to see its usage.


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