OpenVDB  9.0.1
Public Member Functions | List of all members
FunctionRegistry::RegisteredFunction Struct Reference

An object to represent a registered function, storing its constructor, a pointer to the function definition and whether it should only be available internally (i.e. to a developer, not a user) More...

#include <openvdb_ax/codegen/FunctionRegistry.h>

Public Member Functions

 RegisteredFunction (const ConstructorT &creator, const bool internal=false)
 Constructor. More...
 
void create (const FunctionOptions &op)
 Create a function object using this creator of this function. More...
 
const FunctionGroupfunction () const
 Return a pointer to this function definition. More...
 
bool isInternal () const
 Check whether this function should be only internally accesible. More...
 

Detailed Description

An object to represent a registered function, storing its constructor, a pointer to the function definition and whether it should only be available internally (i.e. to a developer, not a user)

Constructor & Destructor Documentation

RegisteredFunction ( const ConstructorT creator,
const bool  internal = false 
)
inline

Constructor.

Parameters
creatorThe function definition used to create this function
internalWhether the function should be only internally accessible

Member Function Documentation

void create ( const FunctionOptions op)
inline

Create a function object using this creator of this function.

Parameters
opThe current function options
const FunctionGroup* function ( ) const
inline

Return a pointer to this function definition.

bool isInternal ( ) const
inline

Check whether this function should be only internally accesible.