3#ifndef PDFSDK_CXX_PDF_FUNCTION_H_INCLUDED_
4#define PDFSDK_CXX_PDF_FUNCTION_H_INCLUDED_
6#include "wrapper_base.h"
15class Function :
public detail::RefCountedHandle<PDEFunction> {
47 void Execute(
const float* inputs,
float* outputs);
49 PDF_CXX_CORE_WRAPPER_DEFINE_MEMBERS_(
Function, PDEFunction)
54#include "function_impl.inl"
Represents a function that maps input values to output values.
Definition function.h:15
size_t GetNumInputs() const
Get the number of input values.
Object GetPdfObject() const
size_t GetNumOutputs() const
Get the number of output values.
static Function CreateFromPdfObject(const Object &object)
void Execute(const float *inputs, float *outputs)
Evaluate the function with the specified input values.
Represents a PDF object.
Definition object.h:20