lensfun  0.3.95.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

DEPRECATED lfMountlf_mount_new ()
 Create a new mount object. More...
 
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

void lf_mount_add_compat ( lfMount mount,
const char *  val 
)
cbool lf_mount_check ( lfMount mount)
See also
lfMount::Check
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 &)
lfMount* lf_mount_create ( )

Create a new mount object.

Returns
A new empty mount object.
See also
lfMount::lfMount()
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()
const char* const* lf_mount_get_compats ( lfMount mount)
DEPRECATED lfMount* lf_mount_new ( )

Create a new mount object.

This function is deprecated, use lf_mount_create () instead.

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