lensfun  0.3.99.0
Classes | Functions
Structures and functions for camera mounts

These structures and functions allow to define and examine the properties of camera mounts. More...

Classes

struct  lfMount
 This structure contains everything specific to a camera mount. More...
 

Functions

lfMountlf_mount_create ()
 Create a new mount object. More...
 
void lf_mount_destroy (lfMount *mount)
 Destroy a lfMount object. More...
 
void lf_mount_copy (lfMount *dest, const lfMount *source)
 Copy the data from one lfMount structure into another. More...
 
cbool lf_mount_check (lfMount *mount)
 
void lf_mount_add_compat (lfMount *mount, const char *val)
 
const char *const * lf_mount_get_compats (lfMount *mount)
 

Detailed Description

These structures and functions allow to define and examine the properties of camera mounts.

Function Documentation

◆ lf_mount_add_compat()

void lf_mount_add_compat ( lfMount mount,
const char *  val 
)

◆ lf_mount_check()

cbool lf_mount_check ( lfMount mount)
See also
lfMount::Check

◆ lf_mount_copy()

void lf_mount_copy ( lfMount dest,
const lfMount source 
)

Copy the data from one lfMount structure into another.

Parameters
destThe destination object
sourceThe source object
See also
lfMount::operator = (const lfMount &)

◆ lf_mount_create()

lfMount* lf_mount_create ( )

Create a new mount object.

Returns
A new empty mount object.
See also
lfMount::lfMount()

◆ lf_mount_destroy()

void lf_mount_destroy ( lfMount mount)

Destroy a lfMount object.

This is equivalent to C++ "delete mount".

Parameters
mountThe mount object to destroy.
See also
lfMount::~lfMount()

◆ lf_mount_get_compats()

const char* const* lf_mount_get_compats ( lfMount mount)