BRL-CAD
gcv_filter Struct Reference

#include <api.h>

Data Fields

const char *const name
 
enum gcv_filter_type filter_type
 
const bu_mime_model_t mime_type
 
int(*const data_supported )(const char *data)
 
void(*const create_opts_fn )(struct bu_opt_desc **options_desc, void **options_data)
 
void(*const free_opts_fn )(void *options_data)
 
int(*const filter_fn )(struct gcv_context *context, const struct gcv_opts *gcv_options, const void *options_data, const char *target)
 

Detailed Description

Input/Output/Translation filter.

Definition at line 137 of file api.h.

Field Documentation

◆ name

const char* const name

Definition at line 139 of file api.h.

◆ filter_type

enum gcv_filter_type filter_type

Definition at line 142 of file api.h.

◆ mime_type

const bu_mime_model_t mime_type

Definition at line 152 of file api.h.

◆ data_supported

int(*const data_supported) (const char *data)

Definition at line 161 of file api.h.

◆ create_opts_fn

void(*const create_opts_fn) (struct bu_opt_desc **options_desc, void **options_data)

PRIVATE

Allocate and initialize a bu_opt_desc block and associated memory for storing the option data.

Must set *options_desc and *options_data.

May be NULL.

Definition at line 173 of file api.h.

◆ free_opts_fn

void(*const free_opts_fn) (void *options_data)

PRIVATE

Free the filter-specific opaque pointer returned by create_opts_fn(). NULL if and only if 'create_opts_fn' is NULL.

Definition at line 181 of file api.h.

◆ filter_fn

int(*const filter_fn) (struct gcv_context *context, const struct gcv_opts *gcv_options, const void *options_data, const char *target)

Definition at line 196 of file api.h.


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