This file is indexed.

/usr/share/gtk-doc/html/libvips/VipsObject.html is in libvips-doc 8.4.5-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>VipsObject: VIPS Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="VIPS Reference Manual">
<link rel="up" href="ch02.html" title="Core VIPS API">
<link rel="prev" href="libvips-rect.html" title="rect">
<link rel="next" href="VipsThreadState.html" title="VipsThreadState">
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#VipsObject.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#VipsObject.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#VipsObject.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#VipsObject.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libvips-rect.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="VipsThreadState.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="VipsObject"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="VipsObject.top_of_page"></a>VipsObject</span></h2>
<p>VipsObject — the VIPS base object class</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="VipsObject.stability-level"></a><h2>Stability Level</h2>
<acronym title="The intention of a Stable interface is to enable arbitrary third parties to
develop applications to these interfaces, release them, and have confidence that
they will run on all minor releases of the product (after the one in which the
interface was introduced, and within the same major release). Even at a major
release, incompatible changes are expected to be rare, and to have strong
justifications.
"><span class="acronym">Stable</span></acronym>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="VipsObject.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-UNREF:CAPS" title="VIPS_UNREF()">VIPS_UNREF</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARG-IMAGE:CAPS" title="VIPS_ARG_IMAGE()">VIPS_ARG_IMAGE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARG-INTERPOLATE:CAPS" title="VIPS_ARG_INTERPOLATE()">VIPS_ARG_INTERPOLATE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARG-BOOL:CAPS" title="VIPS_ARG_BOOL()">VIPS_ARG_BOOL</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARG-DOUBLE:CAPS" title="VIPS_ARG_DOUBLE()">VIPS_ARG_DOUBLE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARG-BOXED:CAPS" title="VIPS_ARG_BOXED()">VIPS_ARG_BOXED</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARG-INT:CAPS" title="VIPS_ARG_INT()">VIPS_ARG_INT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARG-UINT64:CAPS" title="VIPS_ARG_UINT64()">VIPS_ARG_UINT64</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARG-ENUM:CAPS" title="VIPS_ARG_ENUM()">VIPS_ARG_ENUM</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARG-FLAGS:CAPS" title="VIPS_ARG_FLAGS()">VIPS_ARG_FLAGS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARG-STRING:CAPS" title="VIPS_ARG_STRING()">VIPS_ARG_STRING</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARG-POINTER:CAPS" title="VIPS_ARG_POINTER()">VIPS_ARG_POINTER</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips--object-set-member" title="vips__object_set_member ()">vips__object_set_member</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="VipsObject.html#VipsArgumentMapFn" title="VipsArgumentMapFn ()">*VipsArgumentMapFn</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-argument-map" title="vips_argument_map ()">vips_argument_map</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="VipsObject.html#VipsArgumentClassMapFn" title="VipsArgumentClassMapFn ()">*VipsArgumentClassMapFn</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-argument-class-map" title="vips_argument_class_map ()">vips_argument_class_map</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-argument-class-needsstring" title="vips_argument_class_needsstring ()">vips_argument_class_needsstring</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-get-argument" title="vips_object_get_argument ()">vips_object_get_argument</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-argument-isset" title="vips_object_argument_isset ()">vips_object_argument_isset</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="VipsObject.html#VipsArgumentFlags" title="enum VipsArgumentFlags"><span class="returnvalue">VipsArgumentFlags</span></a>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-get-argument-flags" title="vips_object_get_argument_flags ()">vips_object_get_argument_flags</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-get-argument-priority" title="vips_object_get_argument_priority ()">vips_object_get_argument_priority</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARGUMENT-FOR-ALL:CAPS" title="VIPS_ARGUMENT_FOR_ALL()">VIPS_ARGUMENT_FOR_ALL</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARGUMENT-COLLECT-SET:CAPS" title="VIPS_ARGUMENT_COLLECT_SET()">VIPS_ARGUMENT_COLLECT_SET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#VIPS-ARGUMENT-COLLECT-GET:CAPS" title="VIPS_ARGUMENT_COLLECT_GET()">VIPS_ARGUMENT_COLLECT_GET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-value-is-null" title="vips_value_is_null ()">vips_value_is_null</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-set-property" title="vips_object_set_property ()">vips_object_set_property</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-get-property" title="vips_object_get_property ()">vips_object_get_property</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-preclose" title="vips_object_preclose ()">vips_object_preclose</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-build" title="vips_object_build ()">vips_object_build</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-summary-class" title="vips_object_summary_class ()">vips_object_summary_class</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-summary" title="vips_object_summary ()">vips_object_summary</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-dump" title="vips_object_dump ()">vips_object_dump</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-print-summary-class" title="vips_object_print_summary_class ()">vips_object_print_summary_class</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-print-summary" title="vips_object_print_summary ()">vips_object_print_summary</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-print-dump" title="vips_object_print_dump ()">vips_object_print_dump</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-print-name" title="vips_object_print_name ()">vips_object_print_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-sanity" title="vips_object_sanity ()">vips_object_sanity</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-class-install-argument" title="vips_object_class_install_argument ()">vips_object_class_install_argument</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-set-argument-from-string" title="vips_object_set_argument_from_string ()">vips_object_set_argument_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-argument-needsstring" title="vips_object_argument_needsstring ()">vips_object_argument_needsstring</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-get-argument-to-string" title="vips_object_get_argument_to_string ()">vips_object_get_argument_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-set-required" title="vips_object_set_required ()">vips_object_set_required</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="VipsObject.html#VipsObjectSetArguments" title="VipsObjectSetArguments ()">*VipsObjectSetArguments</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="VipsObject.html" title="VipsObject"><span class="returnvalue">VipsObject</span></a> *
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-new" title="vips_object_new ()">vips_object_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-set-valist" title="vips_object_set_valist ()">vips_object_set_valist</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-set" title="vips_object_set ()">vips_object_set</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-set-from-string" title="vips_object_set_from_string ()">vips_object_set_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="VipsObject.html" title="VipsObject"><span class="returnvalue">VipsObject</span></a> *
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-new-from-string" title="vips_object_new_from_string ()">vips_object_new_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-to-string" title="vips_object_to_string ()">vips_object_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-map" title="vips_object_map ()">vips_object_map</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="VipsObject.html#VipsTypeMapFn" title="VipsTypeMapFn ()">*VipsTypeMapFn</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="VipsObject.html#VipsTypeMap2Fn" title="VipsTypeMap2Fn ()">*VipsTypeMap2Fn</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="VipsObject.html#VipsClassMapFn" title="VipsClassMapFn ()">*VipsClassMapFn</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-type-map" title="vips_type_map ()">vips_type_map</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-type-map-all" title="vips_type_map_all ()">vips_type_map_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-type-depth" title="vips_type_depth ()">vips_type_depth</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GType</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-type-find" title="vips_type_find ()">vips_type_find</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-nickname-find" title="vips_nickname_find ()">vips_nickname_find</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span> *
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-class-map-all" title="vips_class_map_all ()">vips_class_map_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">VipsObjectClass</span> *
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-class-find" title="vips_class_find ()">vips_class_find</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="VipsObject.html" title="VipsObject"><span class="returnvalue">VipsObject</span></a> **
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-local-array" title="vips_object_local_array ()">vips_object_local_array</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-local-cb" title="vips_object_local_cb ()">vips_object_local_cb</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-local" title="vips_object_local()">vips_object_local</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-set-static" title="vips_object_set_static ()">vips_object_set_static</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-print-all" title="vips_object_print_all ()">vips_object_print_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-sanity-all" title="vips_object_sanity_all ()">vips_object_sanity_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-rewind" title="vips_object_rewind ()">vips_object_rewind</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-unref-outputs" title="vips_object_unref_outputs ()">vips_object_unref_outputs</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="VipsObject.html#vips-object-get-description" title="vips_object_get_description ()">vips_object_get_description</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="VipsObject.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="VipsObject.html#VipsObject--description" title="The “description” property">description</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="VipsObject.html#VipsObject--nickname" title="The “nickname” property">nickname</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="VipsObject.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="VipsObject.html#VipsObject-close" title="The “close” signal">close</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">gint</span></td>
<td class="signal_name"><a class="link" href="VipsObject.html#VipsObject-postbuild" title="The “postbuild” signal">postbuild</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="VipsObject.html#VipsObject-postclose" title="The “postclose” signal">postclose</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="VipsObject.html#VipsObject-preclose" title="The “preclose” signal">preclose</a></td>
<td class="signal_flags">Run Last</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="VipsObject.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="VipsObject.html#VipsArgumentFlags" title="enum VipsArgumentFlags">VipsArgumentFlags</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="VipsObject.html#VIPS-ARGUMENT-REQUIRED-INPUT:CAPS" title="VIPS_ARGUMENT_REQUIRED_INPUT">VIPS_ARGUMENT_REQUIRED_INPUT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="VipsObject.html#VIPS-ARGUMENT-OPTIONAL-INPUT:CAPS" title="VIPS_ARGUMENT_OPTIONAL_INPUT">VIPS_ARGUMENT_OPTIONAL_INPUT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="VipsObject.html#VIPS-ARGUMENT-REQUIRED-OUTPUT:CAPS" title="VIPS_ARGUMENT_REQUIRED_OUTPUT">VIPS_ARGUMENT_REQUIRED_OUTPUT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="VipsObject.html#VIPS-ARGUMENT-OPTIONAL-OUTPUT:CAPS" title="VIPS_ARGUMENT_OPTIONAL_OUTPUT">VIPS_ARGUMENT_OPTIONAL_OUTPUT</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="VipsObject.html#VipsArgument" title="VipsArgument">VipsArgument</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="VipsObject.html#VipsArgumentClass" title="VipsArgumentClass">VipsArgumentClass</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="VipsObject.html#VipsArgumentInstance" title="VipsArgumentInstance">VipsArgumentInstance</a></td>
</tr>
<tr>
<td class="typedef_keyword">typedef</td>
<td class="function_name"><a class="link" href="VipsObject.html#VipsArgumentTable" title="VipsArgumentTable">VipsArgumentTable</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="VipsObject.html#VIPS-ARGUMENT-COLLECT-END:CAPS" title="VIPS_ARGUMENT_COLLECT_END">VIPS_ARGUMENT_COLLECT_END</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="VipsObject.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> VipsObject
        <span class="lineart">├──</span> <a class="link" href="VipsOperation.html" title="VipsOperation">VipsOperation</a>
        <span class="lineart">├──</span> <a class="link" href="VipsImage.html" title="VipsImage">VipsImage</a>
        <span class="lineart">├──</span> <a class="link" href="VipsInterpolate.html" title="VipsInterpolate">VipsInterpolate</a>
        <span class="lineart">├──</span> <a class="link" href="VipsRegion.html" title="VipsRegion">VipsRegion</a>
        <span class="lineart">╰──</span> <a class="link" href="VipsThreadState.html" title="VipsThreadState">VipsThreadState</a>
</pre>
</div>
<div class="refsect1">
<a name="VipsObject.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;vips/vips.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="VipsObject.description"></a><h2>Description</h2>
<p>The <a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> class and associated types and macros.</p>
<p><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> is the base class for all objects in libvips. It has the
following major features:</p>
<p><span class="emphasis"><em>Functional class creation</em></span> Vips objects have a very 
regular lifecycle: initialise, build, use, destroy. They behave rather like
function calls and are free of side-effects. </p>
<p><span class="emphasis"><em>Run-time introspection</em></span> Vips objects can be fully 
introspected at run-time. There is not need for separate source-code 
analysis. </p>
<p><span class="emphasis"><em>Command-line interface</em></span> Any vips object can be run from
the command-line with the <code class="literal">vips</code> driver program. </p>
<div class="refsect3">
<a name="id-1.3.12.10.7"></a><h4>The <a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> lifecycle</h4>
<p><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> s have a strictly defined lifecycle, split broadly as construct
and then use. In detail, the stages are:</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><p>g_object_new(). The <a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> is created with <code class="function">g_object_new()</code>. Objects
in this state are blank slates and need to have their various parameters
set.</p></li>
<li class="listitem"><p>g_object_set(). You loop over the <a class="link" href="VipsObject.html#VipsArgument" title="VipsArgument"><span class="type">VipsArgument</span></a> that the object has
defined with <a class="link" href="VipsObject.html#vips-argument-map" title="vips_argument_map ()"><code class="function">vips_argument_map()</code></a>. Arguments have a set of flags attached to
them for required, optional, input, output, type, and so on. You must set
all required arguments. </p></li>
<li class="listitem"><p>vips_object_build(). Call this to construct the object and get it ready
for use. Building an object happens in four stages, see below.</p></li>
<li class="listitem"><p>g_object_get(). The object has now been built. You can read out any 
computed values.  </p></li>
<li class="listitem"><p>g_object_unref(). When you are done with an object, you can unref it.
See the section on reference counting for an explanation of the convention
that <a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> uses. When the last ref to an object is released, the
object is closed. Objects close in three stages, see below.</p></li>
</ol></div>
<p>The stages inside <a class="link" href="VipsObject.html#vips-object-build" title="vips_object_build ()"><code class="function">vips_object_build()</code></a> are:</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><p>Chain up through the object's <em class="parameter"><code>build</code></em>
 class methods. At each stage,
each class does any initial setup and checking, then chains up to its
superclass.</p></li>
<li class="listitem"><p>The innermost <em class="parameter"><code>build</code></em>
 method inside <a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> itself checks that all 
input arguments have been set and then returns. </p></li>
<li class="listitem"><p>All object <em class="parameter"><code>build</code></em>
 methods now finish executing, from innermost to
outermost. They know all input arguments have been checked and supplied, so
now they set all output arguments. </p></li>
<li class="listitem"><p>vips_object_build() finishes the process by checking that all output
objects have been set, and then triggering the <a class="link" href="VipsObject.html#VipsObject-postbuild" title="The “postbuild” signal"><span class="type">“postbuild”</span></a>
signal. <a class="link" href="VipsObject.html#VipsObject-postbuild" title="The “postbuild” signal"><span class="type">“postbuild”</span></a> only runs if the object has constructed
successfuly.</p></li>
</ol></div>
<p><a class="link" href="VipsOperation.html" title="VipsOperation"><span class="type">VipsOperation</span></a> has a cache of recent operation objects, see that class for
an explanation of <a class="link" href="VipsOperation.html#vips-cache-operation-build" title="vips_cache_operation_build ()"><code class="function">vips_cache_operation_build()</code></a>. </p>
<p>Finally the stages inside close are:</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><p><a class="link" href="VipsObject.html#VipsObject-preclose" title="The “preclose” signal"><span class="type">“preclose”</span></a>. This is emitted at the start of
the <a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> dispose. The object is still functioning. </p></li>
<li class="listitem"><p><a class="link" href="VipsObject.html#VipsObject-close" title="The “close” signal"><span class="type">“close”</span></a>. This runs just after all <a class="link" href="VipsObject.html#VipsArgument" title="VipsArgument"><span class="type">VipsArgument</span></a> held by
the object have been released.</p></li>
<li class="listitem"><p><a class="link" href="VipsObject.html#VipsObject-postclose" title="The “postclose” signal"><span class="type">“postclose”</span></a>. This runs right at the end. The object
pointer is still valid, but nothing else is. </p></li>
</ol></div>
</div>
<div class="refsect3">
<a name="id-1.3.12.10.8"></a><h4><a class="link" href="VipsObject.html#VipsArgument" title="VipsArgument"><span class="type">VipsArgument</span></a></h4>
<p>libvips has a simple mechanism for automating at least some aspects of
<code class="literal">GObject</code> properties. You add a set of macros to your <code class="function">_class_init()</code> which
describe the arguments, and set the get and set functions to the vips ones.</p>
<p>See <a class="link" href="extending.html" title="Extending VIPS">extending</a> for a complete example. </p>
</div>
<div class="refsect3">
<a name="id-1.3.12.10.9"></a><h4>The <a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> reference counting convention</h4>
<p><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> has a set of conventions to simplify reference counting.</p>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><p>All input <code class="literal">GObject</code> have a ref added to them, owned by the object. When a
<a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> is unreffed, all of these refs to input objects are
automatically dropped.</p></li>
<li class="listitem"><p>All output <code class="literal">GObject</code> hold a ref to the object. When a <code class="literal">GObject</code> which is an
output of a <a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> is disposed, it must drop this reference.
<a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> which are outputs of other <a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> will do this
automatically. </p></li>
</ol></div>
<p>See <a class="link" href="VipsOperation.html" title="VipsOperation"><span class="type">VipsOperation</span></a> for an example of <a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> reference counting.</p>
</div>
</div>
<div class="refsect1">
<a name="VipsObject.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="VIPS-UNREF:CAPS"></a><h3>VIPS_UNREF()</h3>
<pre class="programlisting">#define             VIPS_UNREF( X )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARG-IMAGE:CAPS"></a><h3>VIPS_ARG_IMAGE()</h3>
<pre class="programlisting">#define             VIPS_ARG_IMAGE( CLASS, NAME, PRIORITY, LONG, DESC, FLAGS, OFFSET )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARG-INTERPOLATE:CAPS"></a><h3>VIPS_ARG_INTERPOLATE()</h3>
<pre class="programlisting">#define             VIPS_ARG_INTERPOLATE( CLASS, NAME, PRIORITY, LONG, DESC, FLAGS, OFFSET )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARG-BOOL:CAPS"></a><h3>VIPS_ARG_BOOL()</h3>
<pre class="programlisting">#define             VIPS_ARG_BOOL( CLASS, NAME, PRIORITY, LONG, DESC, \
            	FLAGS, OFFSET, VALUE )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARG-DOUBLE:CAPS"></a><h3>VIPS_ARG_DOUBLE()</h3>
<pre class="programlisting">#define             VIPS_ARG_DOUBLE( CLASS, NAME, PRIORITY, LONG, DESC, \
            	FLAGS, OFFSET, MIN, MAX, VALUE )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARG-BOXED:CAPS"></a><h3>VIPS_ARG_BOXED()</h3>
<pre class="programlisting">#define             VIPS_ARG_BOXED( CLASS, NAME, PRIORITY, LONG, DESC, \
            	FLAGS, OFFSET, TYPE )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARG-INT:CAPS"></a><h3>VIPS_ARG_INT()</h3>
<pre class="programlisting">#define             VIPS_ARG_INT( CLASS, NAME, PRIORITY, LONG, DESC, \
            	FLAGS, OFFSET, MIN, MAX, VALUE )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARG-UINT64:CAPS"></a><h3>VIPS_ARG_UINT64()</h3>
<pre class="programlisting">#define             VIPS_ARG_UINT64( CLASS, NAME, PRIORITY, LONG, DESC, \
            	FLAGS, OFFSET, MIN, MAX, VALUE )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARG-ENUM:CAPS"></a><h3>VIPS_ARG_ENUM()</h3>
<pre class="programlisting">#define             VIPS_ARG_ENUM( CLASS, NAME, PRIORITY, LONG, DESC, \
            	FLAGS, OFFSET, TYPE, VALUE )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARG-FLAGS:CAPS"></a><h3>VIPS_ARG_FLAGS()</h3>
<pre class="programlisting">#define             VIPS_ARG_FLAGS( CLASS, NAME, PRIORITY, LONG, DESC, \
            	FLAGS, OFFSET, TYPE, VALUE )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARG-STRING:CAPS"></a><h3>VIPS_ARG_STRING()</h3>
<pre class="programlisting">#define             VIPS_ARG_STRING( CLASS, NAME, PRIORITY, LONG, DESC, FLAGS, OFFSET, \
            	VALUE )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARG-POINTER:CAPS"></a><h3>VIPS_ARG_POINTER()</h3>
<pre class="programlisting">#define             VIPS_ARG_POINTER( CLASS, NAME, PRIORITY, LONG, DESC, FLAGS, OFFSET )</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips--object-set-member"></a><h3>vips__object_set_member ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips__object_set_member (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                         <em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>,
                         <em class="parameter"><code><span class="type">GObject</span> **member</code></em>,
                         <em class="parameter"><code><span class="type">GObject</span> *argument</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="VipsArgumentMapFn"></a><h3>VipsArgumentMapFn ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
<span class="c_punctuation">(</span>*VipsArgumentMapFn<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                      <em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>,
                      <em class="parameter"><code><a class="link" href="VipsObject.html#VipsArgumentClass" title="VipsArgumentClass"><span class="type">VipsArgumentClass</span></a> *argument_class</code></em>,
                      <em class="parameter"><code><a class="link" href="VipsObject.html#VipsArgumentInstance" title="VipsArgumentInstance"><span class="type">VipsArgumentInstance</span></a> *argument_instance</code></em>,
                      <em class="parameter"><code><span class="type">void</span> *a</code></em>,
                      <em class="parameter"><code><span class="type">void</span> *b</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-argument-map"></a><h3>vips_argument_map ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
vips_argument_map (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                   <em class="parameter"><code><a class="link" href="VipsObject.html#VipsArgumentMapFn" title="VipsArgumentMapFn ()"><span class="type">VipsArgumentMapFn</span></a> fn</code></em>,
                   <em class="parameter"><code><span class="type">void</span> *a</code></em>,
                   <em class="parameter"><code><span class="type">void</span> *b</code></em>);</pre>
<p>Loop over the vips_arguments to an object. Stop when <em class="parameter"><code>fn</code></em>
 returns non-<code class="literal">NULL</code>
and return that value.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="vips-argument-map.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>object whose args should be enumerated</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fn</p></td>
<td class="parameter_description"><p>call this function for every argument</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a</p></td>
<td class="parameter_description"><p>client data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>b</p></td>
<td class="parameter_description"><p>client data</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-argument-map.returns"></a><h4>Returns</h4>
<p> <code class="literal">NULL</code> if <em class="parameter"><code>fn</code></em>
returns <code class="literal">NULL</code> for all arguments, otherwise the first
non-<code class="literal">NULL</code> value from <em class="parameter"><code>fn</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="VipsArgumentClassMapFn"></a><h3>VipsArgumentClassMapFn ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
<span class="c_punctuation">(</span>*VipsArgumentClassMapFn<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">VipsObjectClass</span> *object_class</code></em>,
                           <em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>,
                           <em class="parameter"><code><a class="link" href="VipsObject.html#VipsArgumentClass" title="VipsArgumentClass"><span class="type">VipsArgumentClass</span></a> *argument_class</code></em>,
                           <em class="parameter"><code><span class="type">void</span> *a</code></em>,
                           <em class="parameter"><code><span class="type">void</span> *b</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-argument-class-map"></a><h3>vips_argument_class_map ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
vips_argument_class_map (<em class="parameter"><code><span class="type">VipsObjectClass</span> *object_class</code></em>,
                         <em class="parameter"><code><a class="link" href="VipsObject.html#VipsArgumentClassMapFn" title="VipsArgumentClassMapFn ()"><span class="type">VipsArgumentClassMapFn</span></a> fn</code></em>,
                         <em class="parameter"><code><span class="type">void</span> *a</code></em>,
                         <em class="parameter"><code><span class="type">void</span> *b</code></em>);</pre>
<p>And loop over a class. Same as ^^, but with no VipsArgumentInstance.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
</div>
<hr>
<div class="refsect2">
<a name="vips-argument-class-needsstring"></a><h3>vips_argument_class_needsstring ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
vips_argument_class_needsstring (<em class="parameter"><code><a class="link" href="VipsObject.html#VipsArgumentClass" title="VipsArgumentClass"><span class="type">VipsArgumentClass</span></a> *argument_class</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-get-argument"></a><h3>vips_object_get_argument ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
vips_object_get_argument (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                          <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
                          <em class="parameter"><code><span class="type">GParamSpec</span> **pspec</code></em>,
                          <em class="parameter"><code><a class="link" href="VipsObject.html#VipsArgumentClass" title="VipsArgumentClass"><span class="type">VipsArgumentClass</span></a> **argument_class</code></em>,
                          <em class="parameter"><code><a class="link" href="VipsObject.html#VipsArgumentInstance" title="VipsArgumentInstance"><span class="type">VipsArgumentInstance</span></a> **argument_instance</code></em>);</pre>
<p>Look up the three things you need to work with a vips argument.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="vips-object-get-argument.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>the object to fetch the args from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>arg to fetch</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pspec</p></td>
<td class="parameter_description"><p> the pspec for this arg. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>argument_class</p></td>
<td class="parameter_description"><p> the argument_class for this arg. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>argument_instance</p></td>
<td class="parameter_description"><p> the argument_instance for this arg. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-object-get-argument.returns"></a><h4>Returns</h4>
<p> 0 on success, or -1 on error.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-argument-isset"></a><h3>vips_object_argument_isset ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
vips_object_argument_isset (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                            <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>Convenience: has an argument been assigned. Useful for bindings.</p>
<div class="refsect3">
<a name="vips-object-argument-isset.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>the object to fetch the args from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>arg to fetch</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-object-argument-isset.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the argument has been assigned.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-get-argument-flags"></a><h3>vips_object_get_argument_flags ()</h3>
<pre class="programlisting"><a class="link" href="VipsObject.html#VipsArgumentFlags" title="enum VipsArgumentFlags"><span class="returnvalue">VipsArgumentFlags</span></a>
vips_object_get_argument_flags (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                                <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>Convenience: get the flags for an argument. Useful for bindings.</p>
<div class="refsect3">
<a name="vips-object-get-argument-flags.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>the object to fetch the args from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>arg to fetch</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-object-get-argument-flags.returns"></a><h4>Returns</h4>
<p> The <a class="link" href="VipsObject.html#VipsArgumentFlags" title="enum VipsArgumentFlags"><span class="type">VipsArgumentFlags</span></a> for this argument.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-get-argument-priority"></a><h3>vips_object_get_argument_priority ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
vips_object_get_argument_priority (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                                   <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>Convenience: get the priority for an argument. Useful for bindings.</p>
<div class="refsect3">
<a name="vips-object-get-argument-priority.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>the object to fetch the args from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>arg to fetch</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-object-get-argument-priority.returns"></a><h4>Returns</h4>
<p> The priority of this argument.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARGUMENT-FOR-ALL:CAPS"></a><h3>VIPS_ARGUMENT_FOR_ALL()</h3>
<pre class="programlisting">#define             VIPS_ARGUMENT_FOR_ALL( OBJECT, PSPEC, ARG_CLASS, ARG_INSTANCE )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARGUMENT-COLLECT-SET:CAPS"></a><h3>VIPS_ARGUMENT_COLLECT_SET()</h3>
<pre class="programlisting">#define             VIPS_ARGUMENT_COLLECT_SET( PSPEC, ARG_CLASS, AP )</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARGUMENT-COLLECT-GET:CAPS"></a><h3>VIPS_ARGUMENT_COLLECT_GET()</h3>
<pre class="programlisting">#define             VIPS_ARGUMENT_COLLECT_GET( PSPEC, ARG_CLASS, AP )</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-value-is-null"></a><h3>vips_value_is_null ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
vips_value_is_null (<em class="parameter"><code><span class="type">GParamSpec</span> *psoec</code></em>,
                    <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-set-property"></a><h3>vips_object_set_property ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_set_property (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>,
                          <em class="parameter"><code><span class="type">guint</span> property_id</code></em>,
                          <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>,
                          <em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-get-property"></a><h3>vips_object_get_property ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_get_property (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>,
                          <em class="parameter"><code><span class="type">guint</span> property_id</code></em>,
                          <em class="parameter"><code><span class="type">GValue</span> *value</code></em>,
                          <em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-preclose"></a><h3>vips_object_preclose ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_preclose (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-build"></a><h3>vips_object_build ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
vips_object_build (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-summary-class"></a><h3>vips_object_summary_class ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_summary_class (<em class="parameter"><code><span class="type">VipsObjectClass</span> *klass</code></em>,
                           <em class="parameter"><code><a class="link" href="libvips-buf.html#VipsBuf" title="VipsBuf"><span class="type">VipsBuf</span></a> *buf</code></em>);</pre>
<p>Generate a human-readable summary for a class.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="vips-object-summary-class.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>klass</p></td>
<td class="parameter_description"><p>class to summarise</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>buf</p></td>
<td class="parameter_description"><p>write summary here</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-summary"></a><h3>vips_object_summary ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_summary (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                     <em class="parameter"><code><a class="link" href="libvips-buf.html#VipsBuf" title="VipsBuf"><span class="type">VipsBuf</span></a> *buf</code></em>);</pre>
<p>Generate a human-readable summary for an object.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="vips-object-summary.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>object to summarise</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>buf</p></td>
<td class="parameter_description"><p>write summary here</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-dump"></a><h3>vips_object_dump ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_dump (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                  <em class="parameter"><code><a class="link" href="libvips-buf.html#VipsBuf" title="VipsBuf"><span class="type">VipsBuf</span></a> *buf</code></em>);</pre>
<p>Dump everything that vips knows about an object to a string.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="vips-object-dump.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>object to dump</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>buf</p></td>
<td class="parameter_description"><p>write dump here</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-print-summary-class"></a><h3>vips_object_print_summary_class ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_print_summary_class (<em class="parameter"><code><span class="type">VipsObjectClass</span> *klass</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-print-summary"></a><h3>vips_object_print_summary ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_print_summary (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-print-dump"></a><h3>vips_object_print_dump ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_print_dump (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-print-name"></a><h3>vips_object_print_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_print_name (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-sanity"></a><h3>vips_object_sanity ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
vips_object_sanity (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-class-install-argument"></a><h3>vips_object_class_install_argument ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_class_install_argument (<em class="parameter"><code><span class="type">VipsObjectClass</span> *cls</code></em>,
                                    <em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>,
                                    <em class="parameter"><code><a class="link" href="VipsObject.html#VipsArgumentFlags" title="enum VipsArgumentFlags"><span class="type">VipsArgumentFlags</span></a> flags</code></em>,
                                    <em class="parameter"><code><span class="type">int</span> priority</code></em>,
                                    <em class="parameter"><code><span class="type">guint</span> offset</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-set-argument-from-string"></a><h3>vips_object_set_argument_from_string ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
vips_object_set_argument_from_string (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                                      <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
                                      <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-argument-needsstring"></a><h3>vips_object_argument_needsstring ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
vips_object_argument_needsstring (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                                  <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-get-argument-to-string"></a><h3>vips_object_get_argument_to_string ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
vips_object_get_argument_to_string (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                                    <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
                                    <em class="parameter"><code>const <span class="type">char</span> *arg</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-set-required"></a><h3>vips_object_set_required ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
vips_object_set_required (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                          <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="VipsObjectSetArguments"></a><h3>VipsObjectSetArguments ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
<span class="c_punctuation">(</span>*VipsObjectSetArguments<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                           <em class="parameter"><code><span class="type">void</span> *a</code></em>,
                           <em class="parameter"><code><span class="type">void</span> *b</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-new"></a><h3>vips_object_new ()</h3>
<pre class="programlisting"><a class="link" href="VipsObject.html" title="VipsObject"><span class="returnvalue">VipsObject</span></a> *
vips_object_new (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
                 <em class="parameter"><code><a class="link" href="VipsObject.html#VipsObjectSetArguments" title="VipsObjectSetArguments ()"><span class="type">VipsObjectSetArguments</span></a> set</code></em>,
                 <em class="parameter"><code><span class="type">void</span> *a</code></em>,
                 <em class="parameter"><code><span class="type">void</span> *b</code></em>);</pre>
<p>g_object_new() the object, set any arguments with <em class="parameter"><code>set</code></em>
, call
<a class="link" href="VipsObject.html#vips-object-build" title="vips_object_build ()"><code class="function">vips_object_build()</code></a> and return the complete object.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="vips-object-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>object to create</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>set</p></td>
<td class="parameter_description"><p>set arguments with this</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a</p></td>
<td class="parameter_description"><p>client data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>b</p></td>
<td class="parameter_description"><p>client data</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-object-new.returns"></a><h4>Returns</h4>
<p> the new object</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-set-valist"></a><h3>vips_object_set_valist ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
vips_object_set_valist (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                        <em class="parameter"><code><span class="type">va_list</span> ap</code></em>);</pre>
<p>See <a class="link" href="VipsObject.html#vips-object-set" title="vips_object_set ()"><code class="function">vips_object_set()</code></a>.</p>
<div class="refsect3">
<a name="vips-object-set-valist.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>object to set arguments on</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ap</p></td>
<td class="parameter_description"><p><code class="literal">NULL</code>-terminated list of argument/value pairs</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-object-set-valist.returns"></a><h4>Returns</h4>
<p> 0 on success, -1 on error</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-set"></a><h3>vips_object_set ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
vips_object_set (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                 <em class="parameter"><code>...</code></em>);</pre>
<p>Set a list of vips object arguments. For example:</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3
4</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="function"><a href="VipsObject.html#vips-object-set">vips_object_set</a></span> <span class="gtkdoc opt">(</span>operation<span class="gtkdoc opt">,</span>
  <span class="string">&quot;input&quot;</span><span class="gtkdoc opt">,</span> in<span class="gtkdoc opt">,</span>
  <span class="string">&quot;output&quot;</span><span class="gtkdoc opt">, &amp;</span>out<span class="gtkdoc opt">,</span>
  NULL<span class="gtkdoc opt">);</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p></p>
<p>Input arguments are given in-line, output arguments are given as pointers
to where the output value should be written.</p>
<p>See also: <a class="link" href="VipsObject.html#vips-object-set-valist" title="vips_object_set_valist ()"><code class="function">vips_object_set_valist()</code></a>, <a class="link" href="VipsObject.html#vips-object-set-from-string" title="vips_object_set_from_string ()"><code class="function">vips_object_set_from_string()</code></a>.</p>
<div class="refsect3">
<a name="vips-object-set.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>object to set arguments on</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p><code class="literal">NULL</code>-terminated list of argument/value pairs</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-object-set.returns"></a><h4>Returns</h4>
<p> 0 on success, -1 on error</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-set-from-string"></a><h3>vips_object_set_from_string ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
vips_object_set_from_string (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                             <em class="parameter"><code>const <span class="type">char</span> *string</code></em>);</pre>
<p>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. </p>
<p>You'd typically use this between creating the object and building it. </p>
<p>See also: <a class="link" href="VipsObject.html#vips-object-set" title="vips_object_set ()"><code class="function">vips_object_set()</code></a>, <a class="link" href="VipsObject.html#vips-object-build" title="vips_object_build ()"><code class="function">vips_object_build()</code></a>,
<a class="link" href="VipsOperation.html#vips-cache-operation-buildp" title="vips_cache_operation_buildp ()"><code class="function">vips_cache_operation_buildp()</code></a>.</p>
<div class="refsect3">
<a name="vips-object-set-from-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>object to set arguments on</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>string</p></td>
<td class="parameter_description"><p>arguments as a string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-object-set-from-string.returns"></a><h4>Returns</h4>
<p> 0 on success, -1 on error</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-new-from-string"></a><h3>vips_object_new_from_string ()</h3>
<pre class="programlisting"><a class="link" href="VipsObject.html" title="VipsObject"><span class="returnvalue">VipsObject</span></a> *
vips_object_new_from_string (<em class="parameter"><code><span class="type">VipsObjectClass</span> *object_class</code></em>,
                             <em class="parameter"><code>const <span class="type">char</span> *p</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-to-string"></a><h3>vips_object_to_string ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_to_string (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                       <em class="parameter"><code><a class="link" href="libvips-buf.html#VipsBuf" title="VipsBuf"><span class="type">VipsBuf</span></a> *buf</code></em>);</pre>
<p>The inverse of <a class="link" href="VipsObject.html#vips-object-new-from-string" title="vips_object_new_from_string ()"><code class="function">vips_object_new_from_string()</code></a>: turn <em class="parameter"><code>object</code></em>
 into eg.
"VipsInterpolateSnohalo1(blur=.333333)".</p>
<div class="refsect3">
<a name="vips-object-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>object to stringify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>buf</p></td>
<td class="parameter_description"><p>write string here</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-map"></a><h3>vips_object_map ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
vips_object_map (<em class="parameter"><code><a class="link" href="libvips-basic.html#VipsSListMap2Fn" title="VipsSListMap2Fn ()"><span class="type">VipsSListMap2Fn</span></a> fn</code></em>,
                 <em class="parameter"><code><span class="type">void</span> *a</code></em>,
                 <em class="parameter"><code><span class="type">void</span> *b</code></em>);</pre>
<p>Call a function for all alive objects.
Stop when <em class="parameter"><code>fn</code></em>
 returns non-<code class="literal">NULL</code> and return that value.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="vips-object-map.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>fn</p></td>
<td class="parameter_description"><p>function to call for all objects</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a</p></td>
<td class="parameter_description"><p>client data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>b</p></td>
<td class="parameter_description"><p>client data</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-object-map.returns"></a><h4>Returns</h4>
<p> <code class="literal">NULL</code> if <em class="parameter"><code>fn</code></em>
returns <code class="literal">NULL</code> for all arguments, otherwise the first
non-<code class="literal">NULL</code> value from <em class="parameter"><code>fn</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="VipsTypeMapFn"></a><h3>VipsTypeMapFn ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
<span class="c_punctuation">(</span>*VipsTypeMapFn<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
                  <em class="parameter"><code><span class="type">void</span> *a</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="VipsTypeMap2Fn"></a><h3>VipsTypeMap2Fn ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
<span class="c_punctuation">(</span>*VipsTypeMap2Fn<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
                   <em class="parameter"><code><span class="type">void</span> *a</code></em>,
                   <em class="parameter"><code><span class="type">void</span> *b</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="VipsClassMapFn"></a><h3>VipsClassMapFn ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
<span class="c_punctuation">(</span>*VipsClassMapFn<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">VipsObjectClass</span> *cls</code></em>,
                   <em class="parameter"><code><span class="type">void</span> *a</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-type-map"></a><h3>vips_type_map ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
vips_type_map (<em class="parameter"><code><span class="type">GType</span> base</code></em>,
               <em class="parameter"><code><a class="link" href="VipsObject.html#VipsTypeMap2Fn" title="VipsTypeMap2Fn ()"><span class="type">VipsTypeMap2Fn</span></a> fn</code></em>,
               <em class="parameter"><code><span class="type">void</span> *a</code></em>,
               <em class="parameter"><code><span class="type">void</span> *b</code></em>);</pre>
<p>Map over a type's children. Stop when <em class="parameter"><code>fn</code></em>
 returns non-<code class="literal">NULL</code>
and return that value.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="vips-type-map.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>base</p></td>
<td class="parameter_description"><p>base type</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fn</p></td>
<td class="parameter_description"><p>call this function for every type</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a</p></td>
<td class="parameter_description"><p>client data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>b</p></td>
<td class="parameter_description"><p>client data</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-type-map.returns"></a><h4>Returns</h4>
<p> <code class="literal">NULL</code> if <em class="parameter"><code>fn</code></em>
returns <code class="literal">NULL</code> for all arguments, otherwise the first
non-<code class="literal">NULL</code> value from <em class="parameter"><code>fn</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-type-map-all"></a><h3>vips_type_map_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
vips_type_map_all (<em class="parameter"><code><span class="type">GType</span> base</code></em>,
                   <em class="parameter"><code><a class="link" href="VipsObject.html#VipsTypeMapFn" title="VipsTypeMapFn ()"><span class="type">VipsTypeMapFn</span></a> fn</code></em>,
                   <em class="parameter"><code><span class="type">void</span> *a</code></em>);</pre>
<p>Map over a type's children, direct and indirect. Stop when <em class="parameter"><code>fn</code></em>
 returns 
non-<code class="literal">NULL</code> and return that value.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="vips-type-map-all.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>base</p></td>
<td class="parameter_description"><p>base type</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fn</p></td>
<td class="parameter_description"><p>call this function for every type</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a</p></td>
<td class="parameter_description"><p>client data</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-type-map-all.returns"></a><h4>Returns</h4>
<p> <code class="literal">NULL</code> if <em class="parameter"><code>fn</code></em>
returns <code class="literal">NULL</code> for all arguments, otherwise the first
non-<code class="literal">NULL</code> value from <em class="parameter"><code>fn</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-type-depth"></a><h3>vips_type_depth ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
vips_type_depth (<em class="parameter"><code><span class="type">GType</span> type</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-type-find"></a><h3>vips_type_find ()</h3>
<pre class="programlisting"><span class="returnvalue">GType</span>
vips_type_find (<em class="parameter"><code>const <span class="type">char</span> *basename</code></em>,
                <em class="parameter"><code>const <span class="type">char</span> *nickname</code></em>);</pre>
<p>Search below <em class="parameter"><code>basename</code></em>
, return the <code class="literal">GType</code> of the class whose name or 
<em class="parameter"><code>nickname</code></em>
 matches, or 0 for not found. 
If <em class="parameter"><code>basename</code></em>
 is NULL, the whole of <a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> is searched.</p>
<p>This function uses a cache, so it should be quick. </p>
<p>See also: <a class="link" href="VipsObject.html#vips-class-find" title="vips_class_find ()"><code class="function">vips_class_find()</code></a></p>
<div class="refsect3">
<a name="vips-type-find.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>basename</p></td>
<td class="parameter_description"><p>name of base class</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>nickname</p></td>
<td class="parameter_description"><p>search for a class with this nickname</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-type-find.returns"></a><h4>Returns</h4>
<p> the <code class="literal">GType</code> of the class, or 0 if the class is not found.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-nickname-find"></a><h3>vips_nickname_find ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
vips_nickname_find (<em class="parameter"><code><span class="type">GType</span> type</code></em>);</pre>
<p>Return the VIPS nickname for a <code class="literal">GType</code>. Handy for language bindings.</p>
<div class="refsect3">
<a name="vips-nickname-find.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p><span class="type">GType</span> to search for</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-nickname-find.returns"></a><h4>Returns</h4>
<p> the class nickname. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-class-map-all"></a><h3>vips_class_map_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> *
vips_class_map_all (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
                    <em class="parameter"><code><a class="link" href="VipsObject.html#VipsClassMapFn" title="VipsClassMapFn ()"><span class="type">VipsClassMapFn</span></a> fn</code></em>,
                    <em class="parameter"><code><span class="type">void</span> *a</code></em>);</pre>
<p>Loop over all the subclasses of <em class="parameter"><code>type</code></em>
. Non-abstract classes only.
Stop when <em class="parameter"><code>fn</code></em>
 returns 
non-<code class="literal">NULL</code> and return that value.</p>
<div class="refsect3">
<a name="vips-class-map-all.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>base type</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fn</p></td>
<td class="parameter_description"><p>call this function for every type</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a</p></td>
<td class="parameter_description"><p>client data</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-class-map-all.returns"></a><h4>Returns</h4>
<p> <code class="literal">NULL</code> if <em class="parameter"><code>fn</code></em>
returns <code class="literal">NULL</code> for all arguments, otherwise the first
non-<code class="literal">NULL</code> value from <em class="parameter"><code>fn</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-class-find"></a><h3>vips_class_find ()</h3>
<pre class="programlisting">const <span class="returnvalue">VipsObjectClass</span> *
vips_class_find (<em class="parameter"><code>const <span class="type">char</span> *basename</code></em>,
                 <em class="parameter"><code>const <span class="type">char</span> *nickname</code></em>);</pre>
<p>Search below <em class="parameter"><code>basename</code></em>
, return the first class whose name or <em class="parameter"><code>nickname</code></em>

matches.</p>
<p>See also: <a class="link" href="VipsObject.html#vips-type-find" title="vips_type_find ()"><code class="function">vips_type_find()</code></a></p>
<div class="refsect3">
<a name="vips-class-find.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>basename</p></td>
<td class="parameter_description"><p>name of base class</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>nickname</p></td>
<td class="parameter_description"><p>search for a class with this nickname</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-class-find.returns"></a><h4>Returns</h4>
<p> the found class. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-local-array"></a><h3>vips_object_local_array ()</h3>
<pre class="programlisting"><a class="link" href="VipsObject.html" title="VipsObject"><span class="returnvalue">VipsObject</span></a> **
vips_object_local_array (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *parent</code></em>,
                         <em class="parameter"><code><span class="type">int</span> n</code></em>);</pre>
<p>Make an array of NULL VipsObject pointers. When <em class="parameter"><code>parent</code></em>
 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.</p>
<p>The array is NULL-terminated, ie. contains an extra NULL element at the
end. </p>
<p>Example:</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9</pre></td>
        <td class="listing_code"><pre class="programlisting">VipsObject <span class="gtkdoc opt">**</span>t<span class="gtkdoc opt">;</span>

t <span class="gtkdoc opt">=</span> <span class="function"><a href="VipsObject.html#vips-object-local-array">vips_object_local_array</a></span><span class="gtkdoc opt">(</span> a<span class="gtkdoc opt">,</span> <span class="number">5</span> <span class="gtkdoc opt">);</span>
<span class="keyword">if</span><span class="gtkdoc opt">(</span> 
  <span class="function"><a href="libvips-arithmetic.html#vips-add">vips_add</a></span><span class="gtkdoc opt">(</span> a<span class="gtkdoc opt">,</span> b<span class="gtkdoc opt">, &amp;</span>t<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">],</span> NULL <span class="gtkdoc opt">) ||</span>
  <span class="function"><a href="libvips-arithmetic.html#vips-invert">vips_invert</a></span><span class="gtkdoc opt">(</span> t<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">], &amp;</span>t<span class="gtkdoc opt">[</span><span class="number">1</span><span class="gtkdoc opt">],</span> NULL <span class="gtkdoc opt">) ||</span>
  <span class="function"><a href="libvips-arithmetic.html#vips-add">vips_add</a></span><span class="gtkdoc opt">(</span> t<span class="gtkdoc opt">[</span><span class="number">1</span><span class="gtkdoc opt">],</span> t<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">], &amp;</span>t<span class="gtkdoc opt">[</span><span class="number">2</span><span class="gtkdoc opt">],</span> NULL <span class="gtkdoc opt">) ||</span>
  <span class="function">vips_costra</span><span class="gtkdoc opt">(</span> t<span class="gtkdoc opt">[</span><span class="number">2</span><span class="gtkdoc opt">],</span> out<span class="gtkdoc opt">,</span> NULL <span class="gtkdoc opt">) )</span>
  <span class="keyword">return</span><span class="gtkdoc opt">( -</span><span class="number">1</span> <span class="gtkdoc opt">);</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p></p>
<p>See also: <a class="link" href="VipsObject.html#vips-object-local" title="vips_object_local()"><code class="function">vips_object_local()</code></a>.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="vips-object-local-array.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>objects unref when this object unrefs</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>n</p></td>
<td class="parameter_description"><p>array size</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-object-local-array.returns"></a><h4>Returns</h4>
<p> an array of NULL pointers of length <em class="parameter"><code>n</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-local-cb"></a><h3>vips_object_local_cb ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_local_cb (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *vobject</code></em>,
                      <em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-local"></a><h3>vips_object_local()</h3>
<pre class="programlisting">#define             vips_object_local( V, G )</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-set-static"></a><h3>vips_object_set_static ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_set_static (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>,
                        <em class="parameter"><code><span class="type">gboolean</span> static_object</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-print-all"></a><h3>vips_object_print_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_print_all (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-sanity-all"></a><h3>vips_object_sanity_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_sanity_all (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-rewind"></a><h3>vips_object_rewind ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_rewind (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-unref-outputs"></a><h3>vips_object_unref_outputs ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
vips_object_unref_outputs (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>);</pre>
<p>Unref all assigned output objects. Useful for language bindings. </p>
<p>After an object is built, all output args are owned by the caller. If
something goes wrong before then, we have to unref the outputs that have
been made so far. This function can also be useful for callers when
they've finished processing outputs themselves.</p>
<p>See also: <a class="link" href="VipsOperation.html#vips-cache-operation-build" title="vips_cache_operation_build ()"><code class="function">vips_cache_operation_build()</code></a>.</p>
<div class="refsect3">
<a name="vips-object-unref-outputs.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>object to drop output refs from</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="vips-object-get-description"></a><h3>vips_object_get_description ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
vips_object_get_description (<em class="parameter"><code><a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object</code></em>);</pre>
<p>Fetch the object description. Useful for language bindings. </p>
<p><em class="parameter"><code>object.description</code></em>
 is only avaliable after <code class="function">_build()</code>, which can be too
late. This function fetches from the instance, if possible, but falls back
to the class description if we are too early.</p>
<div class="refsect3">
<a name="vips-object-get-description.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>object to fetch description from</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="vips-object-get-description.returns"></a><h4>Returns</h4>
<p> the object description</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="VipsObject.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="VipsArgumentFlags"></a><h3>enum VipsArgumentFlags</h3>
<p>Flags we associate with each object argument.</p>
<p>Have separate input &amp; output flags. Both set is an error; neither set is OK.</p>
<p>Input gobjects are automatically reffed, output gobjects automatically ref
us. We also automatically watch for "destroy" and unlink.</p>
<p><em class="parameter"><code>VIPS_ARGUMENT_SET_ALWAYS</code></em>
 is handy for arguments which are set from C. For
example, VipsImage::width is a property that gives access to the Xsize
member of struct _VipsImage. We default its 'assigned' to TRUE
since the field is always set directly by C.</p>
<p><em class="parameter"><code>VIPS_ARGUMENT_DEPRECATED</code></em>
 arguments are not shown in help text, are not
looked for if required, are not checked for "have-been-set". You can
deprecate a required argument, but you must obviously add a new required
argument if you do.</p>
<p>Input args with <em class="parameter"><code>VIPS_ARGUMENT_MODIFY</code></em>
 will be modified by the operation.
This is used for things like the in-place drawing operations.</p>
<div class="refsect3">
<a name="VipsArgumentFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="VIPS-ARGUMENT-NONE:CAPS"></a>VIPS_ARGUMENT_NONE</p></td>
<td class="enum_member_description">
<p>no flags</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="VIPS-ARGUMENT-REQUIRED:CAPS"></a>VIPS_ARGUMENT_REQUIRED</p></td>
<td class="enum_member_description">
<p>must be set in the constructor</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="VIPS-ARGUMENT-CONSTRUCT:CAPS"></a>VIPS_ARGUMENT_CONSTRUCT</p></td>
<td class="enum_member_description">
<p>can only be set in the constructor</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="VIPS-ARGUMENT-SET-ONCE:CAPS"></a>VIPS_ARGUMENT_SET_ONCE</p></td>
<td class="enum_member_description">
<p>can only be set once</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="VIPS-ARGUMENT-SET-ALWAYS:CAPS"></a>VIPS_ARGUMENT_SET_ALWAYS</p></td>
<td class="enum_member_description">
<p>don't do use-before-set checks</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="VIPS-ARGUMENT-INPUT:CAPS"></a>VIPS_ARGUMENT_INPUT</p></td>
<td class="enum_member_description">
<p>is an input argument (one we depend on)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="VIPS-ARGUMENT-OUTPUT:CAPS"></a>VIPS_ARGUMENT_OUTPUT</p></td>
<td class="enum_member_description">
<p>is an output argument (depends on us)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="VIPS-ARGUMENT-DEPRECATED:CAPS"></a>VIPS_ARGUMENT_DEPRECATED</p></td>
<td class="enum_member_description">
<p>just there for back-compat, hide </p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="VIPS-ARGUMENT-MODIFY:CAPS"></a>VIPS_ARGUMENT_MODIFY</p></td>
<td class="enum_member_description">
<p>the input argument will be modified</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARGUMENT-REQUIRED-INPUT:CAPS"></a><h3>VIPS_ARGUMENT_REQUIRED_INPUT</h3>
<pre class="programlisting">#define             VIPS_ARGUMENT_REQUIRED_INPUT</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARGUMENT-OPTIONAL-INPUT:CAPS"></a><h3>VIPS_ARGUMENT_OPTIONAL_INPUT</h3>
<pre class="programlisting">#define             VIPS_ARGUMENT_OPTIONAL_INPUT</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARGUMENT-REQUIRED-OUTPUT:CAPS"></a><h3>VIPS_ARGUMENT_REQUIRED_OUTPUT</h3>
<pre class="programlisting">#define             VIPS_ARGUMENT_REQUIRED_OUTPUT</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARGUMENT-OPTIONAL-OUTPUT:CAPS"></a><h3>VIPS_ARGUMENT_OPTIONAL_OUTPUT</h3>
<pre class="programlisting">#define             VIPS_ARGUMENT_OPTIONAL_OUTPUT</pre>
</div>
<hr>
<div class="refsect2">
<a name="VipsArgument"></a><h3>VipsArgument</h3>
<pre class="programlisting">typedef struct {
	GParamSpec *pspec; /* pspec for this argument */

	/* More stuff, see below */
} VipsArgument;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="VipsArgumentClass"></a><h3>VipsArgumentClass</h3>
<pre class="programlisting">typedef struct {
	VipsArgument parent;

	/* The class of the object we are an arg for.
	 */
	VipsObjectClass *object_class;

	VipsArgumentFlags flags;
	int priority;		/* Order args by this */
	guint offset;		/* G_STRUCT_OFFSET of member in object */
} VipsArgumentClass;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="VipsArgumentInstance"></a><h3>VipsArgumentInstance</h3>
<pre class="programlisting">typedef struct {
	VipsArgument parent;

	/* The class we are part of.
	 */
	VipsArgumentClass *argument_class;

	/* The object we are attached to.
	 */
	VipsObject *object;

	/* Has been set.
	 */
	gboolean assigned;

	/* If this is an output argument, keep the id of our "close" handler
	 * here.
	 */
	gulong close_id;	

	/* We need to listen for "invalidate" on input images and send our own
	 * "invalidate" out. If we go, we need to disconnect.
	 */
	gulong invalidate_id;
} VipsArgumentInstance;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="VipsArgumentTable"></a><h3>VipsArgumentTable</h3>
<pre class="programlisting">typedef GHashTable VipsArgumentTable;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="VIPS-ARGUMENT-COLLECT-END:CAPS"></a><h3>VIPS_ARGUMENT_COLLECT_END</h3>
<pre class="programlisting">#define             VIPS_ARGUMENT_COLLECT_END</pre>
</div>
</div>
<div class="refsect1">
<a name="VipsObject.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="VipsObject--description"></a><h3>The <code class="literal">“description”</code> property</h3>
<pre class="programlisting">  “description”              <span class="type">gchar</span> *</pre>
<p>Class description.</p>
<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
<hr>
<div class="refsect2">
<a name="VipsObject--nickname"></a><h3>The <code class="literal">“nickname”</code> property</h3>
<pre class="programlisting">  “nickname”                 <span class="type">gchar</span> *</pre>
<p>Class nickname.</p>
<p>Flags: Read / Write</p>
<p>Default value: ""</p>
</div>
</div>
<div class="refsect1">
<a name="VipsObject.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="VipsObject-close"></a><h3>The <code class="literal">“close”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object,
               <span class="type">gpointer</span>    user_data)</pre>
<p>The ::close signal is emitted once during object close. The object
is dying and may not work.</p>
<div class="refsect3">
<a name="VipsObject-close.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>the object that is closing</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="VipsObject-postbuild"></a><h3>The <code class="literal">“postbuild”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
user_function (<a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object,
               <span class="type">gpointer</span>    user_data)</pre>
<p>The ::postbuild signal is emitted once just after successful object
construction. Return non-zero to cause object construction to fail.</p>
<div class="refsect3">
<a name="VipsObject-postbuild.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>the object that has been built</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="VipsObject-postclose"></a><h3>The <code class="literal">“postclose”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object,
               <span class="type">gpointer</span>    user_data)</pre>
<p>The ::postclose signal is emitted once after object close. The

object pointer is still valid, but nothing else.</p>
<div class="refsect3">
<a name="VipsObject-postclose.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>the object that has closed</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="VipsObject-preclose"></a><h3>The <code class="literal">“preclose”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="VipsObject.html" title="VipsObject"><span class="type">VipsObject</span></a> *object,
               <span class="type">gpointer</span>    user_data)</pre>
<p>The ::preclose signal is emitted once just before object close
starts. The oject is still alive.</p>
<div class="refsect3">
<a name="VipsObject-preclose.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>the object that is to close</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
</div>
<div class="refsect1">
<a name="VipsObject.see-also"></a><h2>See Also</h2>
<a class="link" href="VipsOperation.html" title="VipsOperation">operation</a>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>