Class

VipsObject

Description

abstract class Vips.Object : GObject.Object {
  parent_instance: GObject,
  constructed: gboolean,
  static_object: gboolean,
  argument_table: VipsArgumentTable*,
  nickname: char*,
  description: char*,
  preclose: gboolean,
  close: gboolean,
  postclose: gboolean,
  local_memory: size_t
}
No description available.

Hierarchy

hierarchy this VipsObject ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

vips_object_new

G_object_new() the object, set any arguments with set, call vips_object_build() and return the complete object.

vips_object_new_from_string
No description available.

Functions

vips_object_get_property
No description available.
vips_object_map

Call a function for all alive objects. Stop when fn returns non-NULL and return that value.

vips_object_print_all
No description available.
vips_object_print_summary_class
No description available.
vips_object_sanity_all
No description available.
vips_object_set_property
No description available.
vips_object_summary_class

Generate a human-readable summary for a class.

Instance methods

vips_object_argument_needsstring
No description available.
vips_object_build
No description available.
vips_object_dump

Dump everything that vips knows about an object to a string.

vips_object_get_args

Get all %GParamSpec names and VipsArgumentFlags for an object.

vips_object_get_argument

Look up the three things you need to work with a vips argument.

vips_object_get_argument_to_string
No description available.
vips_object_get_description

Fetch the object description. Useful for language bindings.

vips_object_local_array

Make an array of NULL VipsObject pointers. When parent closes, every non-NULL pointer in the array will be unreffed and the array will be freed. Handy for creating a set of temporary images for a function.

vips_object_local_cb
No description available.
vips_object_preclose
No description available.
vips_object_print_dump
No description available.
vips_object_print_name
No description available.
vips_object_print_summary
No description available.
vips_object_rewind
No description available.
vips_object_sanity
No description available.
vips_object_set

Set a list of vips object arguments. For example:

vips_object_set_argument_from_string
No description available.
vips_object_set_from_string

Set object arguments from a string. The string can be something like “a=12”, or “a = 12, b = 13”, or “fred”. The string can optionally be enclosed in brackets.

vips_object_set_required
No description available.
vips_object_set_static
No description available.
vips_object_set_valist

See vips_object_set().

vips_object_summary

Generate a human-readable summary for an object.

vips_object_to_string

The inverse of vips_object_new_from_string(): turn object into eg. “VipsInterpolateSnohalo1(blur=.333333)”.

vips_object_unref_outputs

Unref all assigned output objects. Useful for language bindings.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Vips.Object:description
No description available.
Vips.Object:nickname
No description available.

Signals

Vips.Object::close

The ::close signal is emitted once during object close. The object is dying and may not work.

Vips.Object::postbuild

The ::postbuild signal is emitted once just after successful object construction. Return non-zero to cause object construction to fail.

Vips.Object::postclose

The ::postclose signal is emitted once after object close. The object pointer is still valid, but nothing else.

Vips.Object::preclose

The ::preclose signal is emitted once just before object close starts. The oject is still alive.

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct VipsObjectClass {
  GObjectClass parent_class;
  int (* build) (
    VipsObject* object
  );
  int (* postbuild) (
    VipsObject* object,
    void* data
  );
  void (* summary_class) (
    _VipsObjectClass* cls,
    VipsBuf* buf
  );
  void (* summary) (
    VipsObject* object,
    VipsBuf* buf
  );
  void (* dump) (
    VipsObject* object,
    VipsBuf* buf
  );
  void (* sanity) (
    VipsObject* object,
    VipsBuf* buf
  );
  void (* rewind) (
    VipsObject* object
  );
  void (* preclose) (
    VipsObject* object
  );
  void (* close) (
    VipsObject* object
  );
  void (* postclose) (
    VipsObject* object
  );
  VipsObject* (* new_from_string) (
    const char* string
  );
  void (* to_string) (
    VipsObject* object,
    VipsBuf* buf
  );
  gboolean output_needs_arg;
  int (* output_to_arg) (
    VipsObject* object,
    const char* string
  );
  const char* nickname;
  const char* description;
  VipsArgumentTable* argument_table;
  GSList* argument_table_traverse;
  GType argument_table_traverse_gtype;
  gboolean deprecated;
  void (* _vips_reserved1) (
void
  );
  void (* _vips_reserved2) (
void
  );
  void (* _vips_reserved3) (
void
  );
  void (* _vips_reserved4) (
void
  );
  
}
Class members
parent_class
GObjectClass
  No description available.
build
int (* build) (
    VipsObject* object
  )
  No description available.
postbuild
int (* postbuild) (
    VipsObject* object,
    void* data
  )
  No description available.
summary_class
void (* summary_class) (
    _VipsObjectClass* cls,
    VipsBuf* buf
  )
  No description available.
summary
void (* summary) (
    VipsObject* object,
    VipsBuf* buf
  )
  No description available.
dump
void (* dump) (
    VipsObject* object,
    VipsBuf* buf
  )
  No description available.
sanity
void (* sanity) (
    VipsObject* object,
    VipsBuf* buf
  )
  No description available.
rewind
void (* rewind) (
    VipsObject* object
  )
  No description available.
preclose
void (* preclose) (
    VipsObject* object
  )
  No description available.
close
void (* close) (
    VipsObject* object
  )
  No description available.
postclose
void (* postclose) (
    VipsObject* object
  )
  No description available.
new_from_string
VipsObject* (* new_from_string) (
    const char* string
  )
  No description available.
to_string
void (* to_string) (
    VipsObject* object,
    VipsBuf* buf
  )
  No description available.
output_needs_arg
gboolean
  No description available.
output_to_arg
int (* output_to_arg) (
    VipsObject* object,
    const char* string
  )
  No description available.
nickname
const char*
  No description available.
description
const char*
  No description available.
argument_table
VipsArgumentTable*
  No description available.
argument_table_traverse
GSList*
  No description available.
argument_table_traverse_gtype
GType
  No description available.
deprecated
gboolean
  No description available.
_vips_reserved1
void (* _vips_reserved1) (
void
  )
  No description available.
_vips_reserved2
void (* _vips_reserved2) (
void
  )
  No description available.
_vips_reserved3
void (* _vips_reserved3) (
void
  )
  No description available.
_vips_reserved4
void (* _vips_reserved4) (
void
  )
  No description available.

Virtual methods

Vips.ObjectClass.build
No description available.
Vips.ObjectClass.close
No description available.
Vips.ObjectClass.dump

Dump everything that vips knows about an object to a string.

Vips.ObjectClass.output_to_arg
No description available.
Vips.ObjectClass.postbuild
No description available.
Vips.ObjectClass.postclose
No description available.
Vips.ObjectClass.preclose
No description available.
Vips.ObjectClass.rewind
No description available.
Vips.ObjectClass.sanity
No description available.
Vips.ObjectClass.summary

Generate a human-readable summary for an object.

Vips.ObjectClass.to_string

The inverse of vips_object_new_from_string(): turn object into eg. “VipsInterpolateSnohalo1(blur=.333333)”.

Class methods

vips_object_class_install_argument
No description available.