/usr/share/doc/libcpl-dev/html/group__cpl__parameter.html is in libcpl-doc 7.1-3.
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 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>Common Pipeline Library Reference Manual: Parameters</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="cpl.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Common Pipeline Library Reference Manual
 <span id="projectnumber">7.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#typedef-members">Typedefs</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Parameters</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga21c9a26800535c3ca9a55c7f5e96ab7d"><td class="memItemLeft" align="right" valign="top">typedef struct _cpl_parameter_ </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a></td></tr>
<tr class="memdesc:ga21c9a26800535c3ca9a55c7f5e96ab7d"><td class="mdescLeft"> </td><td class="mdescRight">The opaque parameter data type. <a href="#ga21c9a26800535c3ca9a55c7f5e96ab7d">More...</a><br /></td></tr>
<tr class="separator:ga21c9a26800535c3ca9a55c7f5e96ab7d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac4f0ba6b228fd64906a99bb688285954"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__cpl__parameter.html#gafad9845b73047a0dad8aac0f0af5e545">_cpl_parameter_class_</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gac4f0ba6b228fd64906a99bb688285954">cpl_parameter_class</a></td></tr>
<tr class="memdesc:gac4f0ba6b228fd64906a99bb688285954"><td class="mdescLeft"> </td><td class="mdescRight">The parameter class data type. <a href="#gac4f0ba6b228fd64906a99bb688285954">More...</a><br /></td></tr>
<tr class="separator:gac4f0ba6b228fd64906a99bb688285954"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab617c85978317cf916b89af327874325"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__cpl__parameter.html#ga9d9ebbe5b417035c63c4b34621eddb7c">_cpl_parameter_mode_</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a></td></tr>
<tr class="memdesc:gab617c85978317cf916b89af327874325"><td class="mdescLeft"> </td><td class="mdescRight">The parameter mode data type. <a href="#gab617c85978317cf916b89af327874325">More...</a><br /></td></tr>
<tr class="separator:gab617c85978317cf916b89af327874325"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gafad9845b73047a0dad8aac0f0af5e545"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gafad9845b73047a0dad8aac0f0af5e545">_cpl_parameter_class_</a> { <br />
  <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545ab8b59b201344fff05fd814e7de3b8258">CPL_PARAMETER_CLASS_INVALID</a>,
<br />
  <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a0966557df36dde34a5c7c557f831bd79">CPL_PARAMETER_CLASS_VALUE</a>,
<br />
  <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a65e1b5d84eb8494be5d75d75453e9e19">CPL_PARAMETER_CLASS_RANGE</a>,
<br />
  <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545adc12bb7af6422bc0071ef62ea1ce84dc">CPL_PARAMETER_CLASS_ENUM</a>
<br />
}<tr class="memdesc:gafad9845b73047a0dad8aac0f0af5e545"><td class="mdescLeft"> </td><td class="mdescRight">Supported parameter classes. <a href="group__cpl__parameter.html#gafad9845b73047a0dad8aac0f0af5e545">More...</a><br /></td></tr>
<tr class="separator:gafad9845b73047a0dad8aac0f0af5e545"><td class="memSeparator" colspan="2"> </td></tr>
</td></tr>
<tr class="memitem:ga9d9ebbe5b417035c63c4b34621eddb7c"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga9d9ebbe5b417035c63c4b34621eddb7c">_cpl_parameter_mode_</a> { <br />
  <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caf1d6a92075c6a42bdae7f86088e914a5">CPL_PARAMETER_MODE_CLI</a>,
<br />
  <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caac865a6acf8aead42f57e658b5720399">CPL_PARAMETER_MODE_ENV</a>,
<br />
  <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7ca7c17d1fab4f47452446cd942bdae5c32">CPL_PARAMETER_MODE_CFG</a>
<br />
}<tr class="memdesc:ga9d9ebbe5b417035c63c4b34621eddb7c"><td class="mdescLeft"> </td><td class="mdescRight">Supported parameter modes. <a href="group__cpl__parameter.html#ga9d9ebbe5b417035c63c4b34621eddb7c">More...</a><br /></td></tr>
<tr class="separator:ga9d9ebbe5b417035c63c4b34621eddb7c"><td class="memSeparator" colspan="2"> </td></tr>
</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga340c79d817d1d517cf624fa532d87bad"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga340c79d817d1d517cf624fa532d87bad">cpl_parameter_delete</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga340c79d817d1d517cf624fa532d87bad"><td class="mdescLeft"> </td><td class="mdescRight">Delete a parameter. <a href="#ga340c79d817d1d517cf624fa532d87bad">More...</a><br /></td></tr>
<tr class="separator:ga340c79d817d1d517cf624fa532d87bad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaaab214d98ca37386f23e2582f080ec33"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gaaab214d98ca37386f23e2582f080ec33">cpl_parameter_disable</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, <a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a> mode)</td></tr>
<tr class="memdesc:gaaab214d98ca37386f23e2582f080ec33"><td class="mdescLeft"> </td><td class="mdescRight">Deactivate a parameter for the given mode. <a href="#gaaab214d98ca37386f23e2582f080ec33">More...</a><br /></td></tr>
<tr class="separator:gaaab214d98ca37386f23e2582f080ec33"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf6c818f67c843fb7afe871ee96b23dd8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gaf6c818f67c843fb7afe871ee96b23dd8">cpl_parameter_dump</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, FILE *stream)</td></tr>
<tr class="memdesc:gaf6c818f67c843fb7afe871ee96b23dd8"><td class="mdescLeft"> </td><td class="mdescRight">Dump the parameter debugging information to the given stream. <a href="#gaf6c818f67c843fb7afe871ee96b23dd8">More...</a><br /></td></tr>
<tr class="separator:gaf6c818f67c843fb7afe871ee96b23dd8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9880ca26a6d38037791418cad65f8ad8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga9880ca26a6d38037791418cad65f8ad8">cpl_parameter_duplicate</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga9880ca26a6d38037791418cad65f8ad8"><td class="mdescLeft"> </td><td class="mdescRight">Create a copy of a parameter. <a href="#ga9880ca26a6d38037791418cad65f8ad8">More...</a><br /></td></tr>
<tr class="separator:ga9880ca26a6d38037791418cad65f8ad8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaa861e3e10db75f6f987c0971f8934e3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gaa861e3e10db75f6f987c0971f8934e3e">cpl_parameter_enable</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, <a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a> mode)</td></tr>
<tr class="memdesc:gaa861e3e10db75f6f987c0971f8934e3e"><td class="mdescLeft"> </td><td class="mdescRight">Activates a parameter for the given mode. <a href="#gaa861e3e10db75f6f987c0971f8934e3e">More...</a><br /></td></tr>
<tr class="separator:gaa861e3e10db75f6f987c0971f8934e3e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac7dddc10c1172c824140fd88910a28f6"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gac7dddc10c1172c824140fd88910a28f6">cpl_parameter_get_alias</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, <a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a> mode)</td></tr>
<tr class="memdesc:gac7dddc10c1172c824140fd88910a28f6"><td class="mdescLeft"> </td><td class="mdescRight">Get the parameter's alias name for the given mode. <a href="#gac7dddc10c1172c824140fd88910a28f6">More...</a><br /></td></tr>
<tr class="separator:gac7dddc10c1172c824140fd88910a28f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5052461cceb9bf9b6de9be10fc850f8e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga5052461cceb9bf9b6de9be10fc850f8e">cpl_parameter_get_bool</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga5052461cceb9bf9b6de9be10fc850f8e"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the given boolean parameter. <a href="#ga5052461cceb9bf9b6de9be10fc850f8e">More...</a><br /></td></tr>
<tr class="separator:ga5052461cceb9bf9b6de9be10fc850f8e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga78211c210a365189547e60171374e7f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__parameter.html#gac4f0ba6b228fd64906a99bb688285954">cpl_parameter_class</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga78211c210a365189547e60171374e7f8">cpl_parameter_get_class</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga78211c210a365189547e60171374e7f8"><td class="mdescLeft"> </td><td class="mdescRight">Get the parameter's class. <a href="#ga78211c210a365189547e60171374e7f8">More...</a><br /></td></tr>
<tr class="separator:ga78211c210a365189547e60171374e7f8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6b96f59e27738e7df3031bd8fb0eadbb"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga6b96f59e27738e7df3031bd8fb0eadbb">cpl_parameter_get_context</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga6b96f59e27738e7df3031bd8fb0eadbb"><td class="mdescLeft"> </td><td class="mdescRight">Get the context of a parameter. <a href="#ga6b96f59e27738e7df3031bd8fb0eadbb">More...</a><br /></td></tr>
<tr class="separator:ga6b96f59e27738e7df3031bd8fb0eadbb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga883e755e318c2816c01e99fe16ec1f55"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga883e755e318c2816c01e99fe16ec1f55">cpl_parameter_get_default_bool</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga883e755e318c2816c01e99fe16ec1f55"><td class="mdescLeft"> </td><td class="mdescRight">Get the default value of the given boolean parameter. <a href="#ga883e755e318c2816c01e99fe16ec1f55">More...</a><br /></td></tr>
<tr class="separator:ga883e755e318c2816c01e99fe16ec1f55"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga68f5f7644d9dba5c7f90e4ecfcb3ce0b"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga68f5f7644d9dba5c7f90e4ecfcb3ce0b">cpl_parameter_get_default_double</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga68f5f7644d9dba5c7f90e4ecfcb3ce0b"><td class="mdescLeft"> </td><td class="mdescRight">Get the default value of the given double parameter. <a href="#ga68f5f7644d9dba5c7f90e4ecfcb3ce0b">More...</a><br /></td></tr>
<tr class="separator:ga68f5f7644d9dba5c7f90e4ecfcb3ce0b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabbb3c1294a6db917af70e7642b827592"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gabbb3c1294a6db917af70e7642b827592">cpl_parameter_get_default_flag</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:gabbb3c1294a6db917af70e7642b827592"><td class="mdescLeft"> </td><td class="mdescRight">Get the presence status flag of the given parameter. <a href="#gabbb3c1294a6db917af70e7642b827592">More...</a><br /></td></tr>
<tr class="separator:gabbb3c1294a6db917af70e7642b827592"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac685a0bfe4c06aeae671d076ef6ed987"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gac685a0bfe4c06aeae671d076ef6ed987">cpl_parameter_get_default_int</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:gac685a0bfe4c06aeae671d076ef6ed987"><td class="mdescLeft"> </td><td class="mdescRight">Get the default value of the given integer parameter. <a href="#gac685a0bfe4c06aeae671d076ef6ed987">More...</a><br /></td></tr>
<tr class="separator:gac685a0bfe4c06aeae671d076ef6ed987"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7af02dcb8e93ae4d5e32305594e46553"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga7af02dcb8e93ae4d5e32305594e46553">cpl_parameter_get_default_string</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga7af02dcb8e93ae4d5e32305594e46553"><td class="mdescLeft"> </td><td class="mdescRight">Get the default value of the given string parameter. <a href="#ga7af02dcb8e93ae4d5e32305594e46553">More...</a><br /></td></tr>
<tr class="separator:ga7af02dcb8e93ae4d5e32305594e46553"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad5e687ea250dca59819e5baadc004636"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gad5e687ea250dca59819e5baadc004636">cpl_parameter_get_double</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:gad5e687ea250dca59819e5baadc004636"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the given double parameter. <a href="#gad5e687ea250dca59819e5baadc004636">More...</a><br /></td></tr>
<tr class="separator:gad5e687ea250dca59819e5baadc004636"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga319c00b086861840f4ff3d9c400ff006"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga319c00b086861840f4ff3d9c400ff006">cpl_parameter_get_enum_double</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, int position)</td></tr>
<tr class="memdesc:ga319c00b086861840f4ff3d9c400ff006"><td class="mdescLeft"> </td><td class="mdescRight">Get the possible values for a double enumeration. <a href="#ga319c00b086861840f4ff3d9c400ff006">More...</a><br /></td></tr>
<tr class="separator:ga319c00b086861840f4ff3d9c400ff006"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga3a3a5449cac8d77d5f4318993ca2f3dc"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga3a3a5449cac8d77d5f4318993ca2f3dc">cpl_parameter_get_enum_int</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, int position)</td></tr>
<tr class="memdesc:ga3a3a5449cac8d77d5f4318993ca2f3dc"><td class="mdescLeft"> </td><td class="mdescRight">Get the possible values for an integer enumeration. <a href="#ga3a3a5449cac8d77d5f4318993ca2f3dc">More...</a><br /></td></tr>
<tr class="separator:ga3a3a5449cac8d77d5f4318993ca2f3dc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gae329fd97b5509baf4403e8d76fa3962f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gae329fd97b5509baf4403e8d76fa3962f">cpl_parameter_get_enum_size</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:gae329fd97b5509baf4403e8d76fa3962f"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of alternatives of an enumeration parameter. <a href="#gae329fd97b5509baf4403e8d76fa3962f">More...</a><br /></td></tr>
<tr class="separator:gae329fd97b5509baf4403e8d76fa3962f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac8f2d27ae00d7cc8839ed538897b848a"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gac8f2d27ae00d7cc8839ed538897b848a">cpl_parameter_get_enum_string</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, int position)</td></tr>
<tr class="memdesc:gac8f2d27ae00d7cc8839ed538897b848a"><td class="mdescLeft"> </td><td class="mdescRight">Get the possible values for a string enumeration. <a href="#gac8f2d27ae00d7cc8839ed538897b848a">More...</a><br /></td></tr>
<tr class="separator:gac8f2d27ae00d7cc8839ed538897b848a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab745afb7e7c648bbd619d3192eacc0be"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gab745afb7e7c648bbd619d3192eacc0be">cpl_parameter_get_help</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:gab745afb7e7c648bbd619d3192eacc0be"><td class="mdescLeft"> </td><td class="mdescRight">Get the description of a parameter. <a href="#gab745afb7e7c648bbd619d3192eacc0be">More...</a><br /></td></tr>
<tr class="separator:gab745afb7e7c648bbd619d3192eacc0be"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf7415af30d9a951d6475fb811e9f7b18"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gaf7415af30d9a951d6475fb811e9f7b18">cpl_parameter_get_id</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:gaf7415af30d9a951d6475fb811e9f7b18"><td class="mdescLeft"> </td><td class="mdescRight">Get the numerical identifier of the given parameter. <a href="#gaf7415af30d9a951d6475fb811e9f7b18">More...</a><br /></td></tr>
<tr class="separator:gaf7415af30d9a951d6475fb811e9f7b18"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga207f7eef6b9d80d5962b62f8283756d7"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga207f7eef6b9d80d5962b62f8283756d7">cpl_parameter_get_int</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga207f7eef6b9d80d5962b62f8283756d7"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the given integer parameter. <a href="#ga207f7eef6b9d80d5962b62f8283756d7">More...</a><br /></td></tr>
<tr class="separator:ga207f7eef6b9d80d5962b62f8283756d7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga27b7fe4a8ba5b6694a9c0d34bfa9a570"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga27b7fe4a8ba5b6694a9c0d34bfa9a570"><td class="mdescLeft"> </td><td class="mdescRight">Get the name of a parameter. <a href="#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">More...</a><br /></td></tr>
<tr class="separator:ga27b7fe4a8ba5b6694a9c0d34bfa9a570"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga700a83a23c52a7c6586b14a1f323d1ab"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga700a83a23c52a7c6586b14a1f323d1ab">cpl_parameter_get_range_max_double</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga700a83a23c52a7c6586b14a1f323d1ab"><td class="mdescLeft"> </td><td class="mdescRight">Get the maximum value of a double range parameter. <a href="#ga700a83a23c52a7c6586b14a1f323d1ab">More...</a><br /></td></tr>
<tr class="separator:ga700a83a23c52a7c6586b14a1f323d1ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9e8df2b7a8513babd59f6335b983b4d5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga9e8df2b7a8513babd59f6335b983b4d5">cpl_parameter_get_range_max_int</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga9e8df2b7a8513babd59f6335b983b4d5"><td class="mdescLeft"> </td><td class="mdescRight">Get the maximum value of an integer range parameter. <a href="#ga9e8df2b7a8513babd59f6335b983b4d5">More...</a><br /></td></tr>
<tr class="separator:ga9e8df2b7a8513babd59f6335b983b4d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gace376943319d0a5116764b687cd506f4"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gace376943319d0a5116764b687cd506f4">cpl_parameter_get_range_min_double</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:gace376943319d0a5116764b687cd506f4"><td class="mdescLeft"> </td><td class="mdescRight">Get the minimum value of a double range parameter. <a href="#gace376943319d0a5116764b687cd506f4">More...</a><br /></td></tr>
<tr class="separator:gace376943319d0a5116764b687cd506f4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga5d51f315eddecdd77ad015da3474f4f1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga5d51f315eddecdd77ad015da3474f4f1">cpl_parameter_get_range_min_int</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga5d51f315eddecdd77ad015da3474f4f1"><td class="mdescLeft"> </td><td class="mdescRight">Get the minimum value of an integer range parameter. <a href="#ga5d51f315eddecdd77ad015da3474f4f1">More...</a><br /></td></tr>
<tr class="separator:ga5d51f315eddecdd77ad015da3474f4f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab42fa99c9a0234a1bb0235c4883e3824"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gab42fa99c9a0234a1bb0235c4883e3824">cpl_parameter_get_string</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:gab42fa99c9a0234a1bb0235c4883e3824"><td class="mdescLeft"> </td><td class="mdescRight">Get the value of the given string parameter. <a href="#gab42fa99c9a0234a1bb0235c4883e3824">More...</a><br /></td></tr>
<tr class="separator:gab42fa99c9a0234a1bb0235c4883e3824"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab750e42319c06a6615fcf89239c35776"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gab750e42319c06a6615fcf89239c35776">cpl_parameter_get_tag</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:gab750e42319c06a6615fcf89239c35776"><td class="mdescLeft"> </td><td class="mdescRight">Get the parameter's user tag. <a href="#gab750e42319c06a6615fcf89239c35776">More...</a><br /></td></tr>
<tr class="separator:gab750e42319c06a6615fcf89239c35776"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga07a58b472b9c635e98292ca7ea4dce64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__type.html#ga01345c598396c7cd159979734adfb57d">cpl_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self)</td></tr>
<tr class="memdesc:ga07a58b472b9c635e98292ca7ea4dce64"><td class="mdescLeft"> </td><td class="mdescRight">Get the parameter's value type. <a href="#ga07a58b472b9c635e98292ca7ea4dce64">More...</a><br /></td></tr>
<tr class="separator:ga07a58b472b9c635e98292ca7ea4dce64"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9fc9039a933877d2d2d44d8a2e2fb00c"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga9fc9039a933877d2d2d44d8a2e2fb00c">cpl_parameter_is_enabled</a> (const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, <a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a> mode)</td></tr>
<tr class="memdesc:ga9fc9039a933877d2d2d44d8a2e2fb00c"><td class="mdescLeft"> </td><td class="mdescRight">Get the parameter's activity status for the environment context. <a href="#ga9fc9039a933877d2d2d44d8a2e2fb00c">More...</a><br /></td></tr>
<tr class="separator:ga9fc9039a933877d2d2d44d8a2e2fb00c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga422fc68d4eb345c1a558ac6f6f104cf9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga422fc68d4eb345c1a558ac6f6f104cf9">cpl_parameter_new_enum</a> (const char *name, <a class="el" href="group__cpl__type.html#ga01345c598396c7cd159979734adfb57d">cpl_type</a> type, const char *description, const char *context,...)</td></tr>
<tr class="memdesc:ga422fc68d4eb345c1a558ac6f6f104cf9"><td class="mdescLeft"> </td><td class="mdescRight">Create a new enumeration parameter. <a href="#ga422fc68d4eb345c1a558ac6f6f104cf9">More...</a><br /></td></tr>
<tr class="separator:ga422fc68d4eb345c1a558ac6f6f104cf9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0e1bacfbcb11e913ad996539744a1d89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga0e1bacfbcb11e913ad996539744a1d89">cpl_parameter_new_range</a> (const char *name, <a class="el" href="group__cpl__type.html#ga01345c598396c7cd159979734adfb57d">cpl_type</a> type, const char *description, const char *context,...)</td></tr>
<tr class="memdesc:ga0e1bacfbcb11e913ad996539744a1d89"><td class="mdescLeft"> </td><td class="mdescRight">Create a new range parameter. <a href="#ga0e1bacfbcb11e913ad996539744a1d89">More...</a><br /></td></tr>
<tr class="separator:ga0e1bacfbcb11e913ad996539744a1d89"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga15e409fadfe1060e48d4b02ccbf27fb2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga15e409fadfe1060e48d4b02ccbf27fb2">cpl_parameter_new_value</a> (const char *name, <a class="el" href="group__cpl__type.html#ga01345c598396c7cd159979734adfb57d">cpl_type</a> type, const char *description, const char *context,...)</td></tr>
<tr class="memdesc:ga15e409fadfe1060e48d4b02ccbf27fb2"><td class="mdescLeft"> </td><td class="mdescRight">Create a new value parameter. <a href="#ga15e409fadfe1060e48d4b02ccbf27fb2">More...</a><br /></td></tr>
<tr class="separator:ga15e409fadfe1060e48d4b02ccbf27fb2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga7013d2ea2f85094df3cafe0a9a2b14a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga7013d2ea2f85094df3cafe0a9a2b14a5">cpl_parameter_set_alias</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, <a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a> mode, const char *alias)</td></tr>
<tr class="memdesc:ga7013d2ea2f85094df3cafe0a9a2b14a5"><td class="mdescLeft"> </td><td class="mdescRight">Set alias names for the given parameter. <a href="#ga7013d2ea2f85094df3cafe0a9a2b14a5">More...</a><br /></td></tr>
<tr class="separator:ga7013d2ea2f85094df3cafe0a9a2b14a5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gafb9106037e8f4a7ab758b1f0884fe817"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gafb9106037e8f4a7ab758b1f0884fe817">cpl_parameter_set_bool</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, int value)</td></tr>
<tr class="memdesc:gafb9106037e8f4a7ab758b1f0884fe817"><td class="mdescLeft"> </td><td class="mdescRight">Assign a boolean value to a parameter. <a href="#gafb9106037e8f4a7ab758b1f0884fe817">More...</a><br /></td></tr>
<tr class="separator:gafb9106037e8f4a7ab758b1f0884fe817"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf3a94a61d5ba8b1b487222a824f5d2e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gaf3a94a61d5ba8b1b487222a824f5d2e8">cpl_parameter_set_default_bool</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, int value)</td></tr>
<tr class="memdesc:gaf3a94a61d5ba8b1b487222a824f5d2e8"><td class="mdescLeft"> </td><td class="mdescRight">Modify the default value of a boolean parameter. <a href="#gaf3a94a61d5ba8b1b487222a824f5d2e8">More...</a><br /></td></tr>
<tr class="separator:gaf3a94a61d5ba8b1b487222a824f5d2e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac19581a940771dcd493758c0bf568471"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gac19581a940771dcd493758c0bf568471">cpl_parameter_set_default_double</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, double value)</td></tr>
<tr class="memdesc:gac19581a940771dcd493758c0bf568471"><td class="mdescLeft"> </td><td class="mdescRight">Modify the default value of a double parameter. <a href="#gac19581a940771dcd493758c0bf568471">More...</a><br /></td></tr>
<tr class="separator:gac19581a940771dcd493758c0bf568471"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaf8aa64b3d09471de5101bc305c507f89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gaf8aa64b3d09471de5101bc305c507f89">cpl_parameter_set_default_flag</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, int status)</td></tr>
<tr class="memdesc:gaf8aa64b3d09471de5101bc305c507f89"><td class="mdescLeft"> </td><td class="mdescRight">Change the presence status flag of the given parameter. <a href="#gaf8aa64b3d09471de5101bc305c507f89">More...</a><br /></td></tr>
<tr class="separator:gaf8aa64b3d09471de5101bc305c507f89"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaca8417e32bf4ff3cae23d131a5c365f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gaca8417e32bf4ff3cae23d131a5c365f8">cpl_parameter_set_default_int</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, int value)</td></tr>
<tr class="memdesc:gaca8417e32bf4ff3cae23d131a5c365f8"><td class="mdescLeft"> </td><td class="mdescRight">Modify the default value of an integer parameter. <a href="#gaca8417e32bf4ff3cae23d131a5c365f8">More...</a><br /></td></tr>
<tr class="separator:gaca8417e32bf4ff3cae23d131a5c365f8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1f21b4b888c016418597edb4f405ab4b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga1f21b4b888c016418597edb4f405ab4b">cpl_parameter_set_default_string</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, const char *value)</td></tr>
<tr class="memdesc:ga1f21b4b888c016418597edb4f405ab4b"><td class="mdescLeft"> </td><td class="mdescRight">Modify the default value of a string parameter. <a href="#ga1f21b4b888c016418597edb4f405ab4b">More...</a><br /></td></tr>
<tr class="separator:ga1f21b4b888c016418597edb4f405ab4b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad156ecf3f7bf623f9ea618b226f1fdd9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gad156ecf3f7bf623f9ea618b226f1fdd9">cpl_parameter_set_double</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, double value)</td></tr>
<tr class="memdesc:gad156ecf3f7bf623f9ea618b226f1fdd9"><td class="mdescLeft"> </td><td class="mdescRight">Assign a double value to a parameter. <a href="#gad156ecf3f7bf623f9ea618b226f1fdd9">More...</a><br /></td></tr>
<tr class="separator:gad156ecf3f7bf623f9ea618b226f1fdd9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga0fcabc63505884f4a7a573dd028649d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga0fcabc63505884f4a7a573dd028649d5">cpl_parameter_set_id</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, int id)</td></tr>
<tr class="memdesc:ga0fcabc63505884f4a7a573dd028649d5"><td class="mdescLeft"> </td><td class="mdescRight">Set the numerical identifier of the given parameter. <a href="#ga0fcabc63505884f4a7a573dd028649d5">More...</a><br /></td></tr>
<tr class="separator:ga0fcabc63505884f4a7a573dd028649d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga4e42ce7d13602fe6bfdfcab49d8c275e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#ga4e42ce7d13602fe6bfdfcab49d8c275e">cpl_parameter_set_int</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, int value)</td></tr>
<tr class="memdesc:ga4e42ce7d13602fe6bfdfcab49d8c275e"><td class="mdescLeft"> </td><td class="mdescRight">Assign an integer value to a parameter. <a href="#ga4e42ce7d13602fe6bfdfcab49d8c275e">More...</a><br /></td></tr>
<tr class="separator:ga4e42ce7d13602fe6bfdfcab49d8c275e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gad03afbcb85adb7a0d350c6336c00fb9a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gad03afbcb85adb7a0d350c6336c00fb9a">cpl_parameter_set_string</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, const char *value)</td></tr>
<tr class="memdesc:gad03afbcb85adb7a0d350c6336c00fb9a"><td class="mdescLeft"> </td><td class="mdescRight">Assign a string value to a parameter. <a href="#gad03afbcb85adb7a0d350c6336c00fb9a">More...</a><br /></td></tr>
<tr class="separator:gad03afbcb85adb7a0d350c6336c00fb9a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaedaf77a36ae08fc906c665df465e986b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpl__parameter.html#gaedaf77a36ae08fc906c665df465e986b">cpl_parameter_set_tag</a> (<a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *self, const char *tag)</td></tr>
<tr class="memdesc:gaedaf77a36ae08fc906c665df465e986b"><td class="mdescLeft"> </td><td class="mdescRight">Set the tag of the given parameter. <a href="#gaedaf77a36ae08fc906c665df465e986b">More...</a><br /></td></tr>
<tr class="separator:gaedaf77a36ae08fc906c665df465e986b"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>This module implements a class of data types which can be used to manage context specific, named parameters. They provide a standard way to pass, for instance, command line information to different components of an application.</p>
<p>The fundamental parts of a parameter are its name, a context to which it belongs (a specific component of an application for instance), its current value and a default value.</p>
<p>The implementation supports three classes of parameters:</p><ul>
<li>A plain value</li>
<li>A range of values</li>
<li>An enumeration value</li>
</ul>
<p>When a parameter is created it is created for a particular value type. The type of a parameter's current and default value may be (cf. <a class="el" href="group__cpl__type.html">Type codes</a>):</p><ul>
<li><code>CPL_TYPE_BOOL</code> </li>
<li><code>CPL_TYPE_INT</code> </li>
<li><code>CPL_TYPE_DOUBLE</code> </li>
<li><code>CPL_TYPE_STRING</code> </li>
</ul>
<p>When a value is assigned to a parameter, the different parameter classes behave differently. For a plain value, no checks are applied to the data value to be assigned. For a range or an enumeration, on the other hand, the value to be stored is validated with respect to the minimum and maximum value of the range and the list of enumeration alternatives respectively. If the value is invalid, an error is reported.</p>
<dl class="section note"><dt>Note</dt><dd>The validation of parameter values on assignment is not yet implemented.</dd></dl>
<p>The functions to create a new parameter of a particular class are polymorphic and accept any value type mentioned above to initialise the parameter to create. This is accomplished by using a variable argument list. The number and type of the parameters expected by these functions is determined from the parameter class and the indicated value type.</p>
<p>The constructor of a plain value expects a single value, the parameter's default value, which <em>must</em> be of the appropriate type, as argument while the constructor of a range parameter expects the default value, followed by the minimum value and the maximum value. The constructor of an enumeration parameter expects as arguments the default value, the number of possible enumeration values followed by the list of the possible enumeration values. Note that the default value must be a member of the list of possible enumeration values.</p>
<p>An example of how parameters of the different classes are created and destroyed is shown below: </p><div class="fragment"><div class="line"><a class="code" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *value;</div>
<div class="line"><a class="code" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *range;</div>
<div class="line"><a class="code" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> *enumeration;</div>
<div class="line"></div>
<div class="line">...</div>
<div class="line"></div>
<div class="line">value = <a class="code" href="group__cpl__parameter.html#ga15e409fadfe1060e48d4b02ccbf27fb2">cpl_parameter_new_value</a>(<span class="stringliteral">"Value"</span>, <a class="code" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae333db5ccea0813ccd892525b4ba1345">CPL_TYPE_INT</a>,</div>
<div class="line"> <span class="stringliteral">"This is a plain value of type integer"</span>,</div>
<div class="line"> <span class="stringliteral">"Example"</span>,</div>
<div class="line"> -1);</div>
<div class="line"></div>
<div class="line">range = <a class="code" href="group__cpl__parameter.html#ga0e1bacfbcb11e913ad996539744a1d89">cpl_parameter_new_range</a>(<span class="stringliteral">"Range"</span>, <a class="code" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>,</div>
<div class="line"> <span class="stringliteral">"This is a value range of type double"</span>,</div>
<div class="line"> <span class="stringliteral">"Example"</span>,</div>
<div class="line"> 0.5, 0.0, 1.0);</div>
<div class="line"></div>
<div class="line">enumeration = <a class="code" href="group__cpl__parameter.html#ga422fc68d4eb345c1a558ac6f6f104cf9">cpl_parameter_new_enum</a>(<span class="stringliteral">"Enum"</span>, <a class="code" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a8c58196493fdac6c0424560417cd6bf8">CPL_TYPE_STRING</a>,</div>
<div class="line"> <span class="stringliteral">"This is an enumeration of type "</span></div>
<div class="line"> <span class="stringliteral">"string"</span>,</div>
<div class="line"> <span class="stringliteral">"Example"</span>,</div>
<div class="line"> <span class="stringliteral">"first"</span>, 3, <span class="stringliteral">"first"</span>, <span class="stringliteral">"second"</span>,</div>
<div class="line"> <span class="stringliteral">"third"</span>);</div>
<div class="line"></div>
<div class="line">...</div>
<div class="line"></div>
<div class="line">cpl_parameter_delete(value);</div>
<div class="line"><a class="code" href="group__cpl__parameter.html#ga340c79d817d1d517cf624fa532d87bad">cpl_parameter_delete</a>(range);</div>
<div class="line"><a class="code" href="group__cpl__parameter.html#ga340c79d817d1d517cf624fa532d87bad">cpl_parameter_delete</a>(enumeration);</div>
</div><!-- fragment --><p>After the parameter has been created and initialised the parameters current value equals its default value. The initialisation values are copied into the parameter, i.e. if an initialiser value resides in dynamically allocated memory, it can be deallocated after the parameter has been initialised without affecting the created parameter.</p>
<dl class="section note"><dt>Note</dt><dd>A variable argument list allows only limited type checking. Therefore, code explicitly what you mean and double check the constructor calls that the number of arguments and the types of the elements of the variable argument list are what the constructor expects. For instance, if a constructor takes a floating-point argument do not forget to put the decimal point at the end!</dd></dl>
<dl class="section user"><dt>Synopsis:</dt><dd><div class="fragment"><div class="line"><span class="preprocessor">#include <cpl_parameter.h></span></div>
</div><!-- fragment --> </dd></dl>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga21c9a26800535c3ca9a55c7f5e96ab7d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct _cpl_parameter_ <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The opaque parameter data type. </p>
</div>
</div>
<a class="anchor" id="gac4f0ba6b228fd64906a99bb688285954"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="group__cpl__parameter.html#gafad9845b73047a0dad8aac0f0af5e545">_cpl_parameter_class_</a> <a class="el" href="group__cpl__parameter.html#gac4f0ba6b228fd64906a99bb688285954">cpl_parameter_class</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The parameter class data type. </p>
</div>
</div>
<a class="anchor" id="gab617c85978317cf916b89af327874325"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="group__cpl__parameter.html#ga9d9ebbe5b417035c63c4b34621eddb7c">_cpl_parameter_mode_</a> <a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The parameter mode data type. </p>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="gafad9845b73047a0dad8aac0f0af5e545"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__cpl__parameter.html#gafad9845b73047a0dad8aac0f0af5e545">_cpl_parameter_class_</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Supported parameter classes. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ggafad9845b73047a0dad8aac0f0af5e545ab8b59b201344fff05fd814e7de3b8258"></a>CPL_PARAMETER_CLASS_INVALID </td><td class="fielddoc">
<p>Parameter of undefined or invalid class. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ggafad9845b73047a0dad8aac0f0af5e545a0966557df36dde34a5c7c557f831bd79"></a>CPL_PARAMETER_CLASS_VALUE </td><td class="fielddoc">
<p>Parameter representing a plain value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ggafad9845b73047a0dad8aac0f0af5e545a65e1b5d84eb8494be5d75d75453e9e19"></a>CPL_PARAMETER_CLASS_RANGE </td><td class="fielddoc">
<p>Parameter representing a range of values. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ggafad9845b73047a0dad8aac0f0af5e545adc12bb7af6422bc0071ef62ea1ce84dc"></a>CPL_PARAMETER_CLASS_ENUM </td><td class="fielddoc">
<p>Parameter representing an enumeration value. </p>
</td></tr>
</table>
</div>
</div>
<a class="anchor" id="ga9d9ebbe5b417035c63c4b34621eddb7c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__cpl__parameter.html#ga9d9ebbe5b417035c63c4b34621eddb7c">_cpl_parameter_mode_</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Supported parameter modes. </p>
<p>The parameter mode is used to set or get context specific parameter attributes. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga9d9ebbe5b417035c63c4b34621eddb7caf1d6a92075c6a42bdae7f86088e914a5"></a>CPL_PARAMETER_MODE_CLI </td><td class="fielddoc">
<p>Command line mode of the parameter. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga9d9ebbe5b417035c63c4b34621eddb7caac865a6acf8aead42f57e658b5720399"></a>CPL_PARAMETER_MODE_ENV </td><td class="fielddoc">
<p>Environment variable mode of the parameter. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga9d9ebbe5b417035c63c4b34621eddb7ca7c17d1fab4f47452446cd942bdae5c32"></a>CPL_PARAMETER_MODE_CFG </td><td class="fielddoc">
<p>Configuration file mode of the parameter. </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga340c79d817d1d517cf624fa532d87bad"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void cpl_parameter_delete </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Delete a parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>The parameter to delete.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Nothing.</dd></dl>
<p>The function deletes a parameter of any class and type. All memory resources acquired by the parameter during its usage are released. If the parameter <em>self</em> is <code>NULL</code>, nothing is done and no error is set. </p>
<p>References <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545adc12bb7af6422bc0071ef62ea1ce84dc">CPL_PARAMETER_CLASS_ENUM</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a65e1b5d84eb8494be5d75d75453e9e19">CPL_PARAMETER_CLASS_RANGE</a>, and <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a0966557df36dde34a5c7c557f831bd79">CPL_PARAMETER_CLASS_VALUE</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__parameter.html#ga9880ca26a6d38037791418cad65f8ad8">cpl_parameter_duplicate()</a>, <a class="el" href="group__cpl__parameter.html#ga422fc68d4eb345c1a558ac6f6f104cf9">cpl_parameter_new_enum()</a>, <a class="el" href="group__cpl__parameter.html#ga0e1bacfbcb11e913ad996539744a1d89">cpl_parameter_new_range()</a>, <a class="el" href="group__cpl__parameter.html#ga15e409fadfe1060e48d4b02ccbf27fb2">cpl_parameter_new_value()</a>, and <a class="el" href="group__cpl__parameterlist.html#ga8e0ac3f3e3e24411e4dcf27de0ec7783">cpl_parameterlist_delete()</a>.</p>
</div>
</div>
<a class="anchor" id="gaaab214d98ca37386f23e2582f080ec33"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_disable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a> </td>
<td class="paramname"><em>mode</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Deactivate a parameter for the given mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter. </td></tr>
<tr><td class="paramname">mode</td><td>The parameter mode.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_ILLEGAL_INPUT </td><td class="ecr">The parameter mode <em>mode</em> is not supported. </td></tr>
</table>
</dd>
</dl>
<p>The function disables the parameter <em>self</em> for the given mode <em>mode</em>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7ca7c17d1fab4f47452446cd942bdae5c32">CPL_PARAMETER_MODE_CFG</a>, <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caf1d6a92075c6a42bdae7f86088e914a5">CPL_PARAMETER_MODE_CLI</a>, and <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caac865a6acf8aead42f57e658b5720399">CPL_PARAMETER_MODE_ENV</a>.</p>
</div>
</div>
<a class="anchor" id="gaf6c818f67c843fb7afe871ee96b23dd8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void cpl_parameter_dump </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">FILE * </td>
<td class="paramname"><em>stream</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Dump the parameter debugging information to the given stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>The parameter. </td></tr>
<tr><td class="paramname">stream</td><td>The output stream to use.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Nothing.</dd></dl>
<p>The function dumps the contents of of the parameter <em>self</em> to the output stream <em>stream</em>. If <em>stream</em> is <code>NULL</code> the function writes to the standard output. If <em>self</em> is <code>NULL</code> the function does nothing. </p>
<p>References <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545adc12bb7af6422bc0071ef62ea1ce84dc">CPL_PARAMETER_CLASS_ENUM</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a65e1b5d84eb8494be5d75d75453e9e19">CPL_PARAMETER_CLASS_RANGE</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a0966557df36dde34a5c7c557f831bd79">CPL_PARAMETER_CLASS_VALUE</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae507f82494e90964eaa5b70535a10869">CPL_TYPE_BOOL</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae333db5ccea0813ccd892525b4ba1345">CPL_TYPE_INT</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a8c58196493fdac6c0424560417cd6bf8">CPL_TYPE_STRING</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__parameterlist.html#gae3cafb501f7ff57cd8a29d7e9d139901">cpl_parameterlist_dump()</a>.</p>
</div>
</div>
<a class="anchor" id="ga9880ca26a6d38037791418cad65f8ad8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a>* cpl_parameter_duplicate </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a copy of a parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>The parameter to copy.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The copy of the given parameter, or <code>NULL</code> in case of an error. In the latter case an appropriate error code is set.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The function returns a copy of the parameter <em>self</em>. The copy is a deep copy, i.e. all parameter properties are copied. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7907a24014a3a45aebe5ee1842f0c6f3">CPL_ERROR_INVALID_TYPE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545adc12bb7af6422bc0071ef62ea1ce84dc">CPL_PARAMETER_CLASS_ENUM</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a65e1b5d84eb8494be5d75d75453e9e19">CPL_PARAMETER_CLASS_RANGE</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a0966557df36dde34a5c7c557f831bd79">CPL_PARAMETER_CLASS_VALUE</a>, and <a class="el" href="group__cpl__parameter.html#ga340c79d817d1d517cf624fa532d87bad">cpl_parameter_delete()</a>.</p>
</div>
</div>
<a class="anchor" id="gaa861e3e10db75f6f987c0971f8934e3e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_enable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a> </td>
<td class="paramname"><em>mode</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Activates a parameter for the given mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter. </td></tr>
<tr><td class="paramname">mode</td><td>The parameter mode.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_ILLEGAL_INPUT </td><td class="ecr">The parameter mode <em>mode</em> is not supported. </td></tr>
</table>
</dd>
</dl>
<p>The function enables the parameter <em>self</em> for the given mode <em>mode</em>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7ca7c17d1fab4f47452446cd942bdae5c32">CPL_PARAMETER_MODE_CFG</a>, <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caf1d6a92075c6a42bdae7f86088e914a5">CPL_PARAMETER_MODE_CLI</a>, and <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caac865a6acf8aead42f57e658b5720399">CPL_PARAMETER_MODE_ENV</a>.</p>
</div>
</div>
<a class="anchor" id="gac7dddc10c1172c824140fd88910a28f6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* cpl_parameter_get_alias </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a> </td>
<td class="paramname"><em>mode</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the parameter's alias name for the given mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter. </td></tr>
<tr><td class="paramname">mode</td><td>The parameter mode.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's context specific alias name. If no alias name was previously assigned the function returns <code>NULL</code>. If an error occurs the function returns <code>NULL</code> and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_ILLEGAL_INPUT </td><td class="ecr">The parameter mode <em>mode</em> is not supported. </td></tr>
</table>
</dd>
</dl>
<p>The function retrieves the read-only alias name of the parameter <em>self</em>. The context for which an alias is retrieved is selected by the <em>mode</em>. The functions accepts the parameter modes <code>CPL_PARAMETER_MODE_CFG</code>, <code>CPL_PARAMETER_MODE_CLI</code> and <code>CPL_PARAMETER_MODE_ENV</code>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325" title="The parameter mode data type. ">cpl_parameter_mode</a> </dd></dl>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7ca7c17d1fab4f47452446cd942bdae5c32">CPL_PARAMETER_MODE_CFG</a>, <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caf1d6a92075c6a42bdae7f86088e914a5">CPL_PARAMETER_MODE_CLI</a>, and <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caac865a6acf8aead42f57e658b5720399">CPL_PARAMETER_MODE_ENV</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__dfs.html#ga5945764c09e904efe5cc15172ed36fb3">cpl_dfs_setup_product_header()</a>.</p>
</div>
</div>
<a class="anchor" id="ga5052461cceb9bf9b6de9be10fc850f8e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cpl_parameter_get_bool </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the value of the given boolean parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A boolean parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the integer representation of the parameter's boolean value. <code>TRUE</code> is represented as non-zero value; whereas 0 indicates <code>FALSE</code>. If an error occurs the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_BOOL</code>. </td></tr>
</table>
</dd>
</dl>
<p>The current boolean value of the parameter <em>self</em> is retrieved. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae507f82494e90964eaa5b70535a10869">CPL_TYPE_BOOL</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__dfs.html#ga5945764c09e904efe5cc15172ed36fb3">cpl_dfs_setup_product_header()</a>.</p>
</div>
</div>
<a class="anchor" id="ga78211c210a365189547e60171374e7f8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__parameter.html#gac4f0ba6b228fd64906a99bb688285954">cpl_parameter_class</a> cpl_parameter_get_class </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the parameter's class. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's class identifier. The function returns <code>CPL_PARAMETER_CLASS_INVALID</code> if <em>self</em> is not a valid parameter, but <code>NULL</code>. In this case an appropriate error code is also set.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The class identifier of the parameter <em>self</em> is retrieved. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, and <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545ab8b59b201344fff05fd814e7de3b8258">CPL_PARAMETER_CLASS_INVALID</a>.</p>
</div>
</div>
<a class="anchor" id="ga6b96f59e27738e7df3031bd8fb0eadbb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* cpl_parameter_get_context </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the context of a parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the context of the parameter, or <code>NULL</code> if <em>self</em> is not a valid parameter but <code>NULL</code>. In the latter case an appropriate error code is set.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The function returns the read-only context to which the parameter <em>self</em> belongs. The parameter's context <b>must</b> not be modified using the returned pointer. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__parameterlist.html#ga62212f518b131d6e3f6689936c94dcaa">cpl_parameterlist_find_context_const()</a>.</p>
</div>
</div>
<a class="anchor" id="ga883e755e318c2816c01e99fe16ec1f55"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cpl_parameter_get_default_bool </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the default value of the given boolean parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A boolean parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the integer representation of the parameter's default boolean value. <code>TRUE</code> is represented as non-zero value; whereas 0 indicates <code>FALSE</code>. If an error occurs the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_BOOL</code>. </td></tr>
</table>
</dd>
</dl>
<p>The current boolean default value of the parameter <em>self</em> is retrieved. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae507f82494e90964eaa5b70535a10869">CPL_TYPE_BOOL</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__dfs.html#ga5945764c09e904efe5cc15172ed36fb3">cpl_dfs_setup_product_header()</a>.</p>
</div>
</div>
<a class="anchor" id="ga68f5f7644d9dba5c7f90e4ecfcb3ce0b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double cpl_parameter_get_default_double </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the default value of the given double parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>An double parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's default double value. If an error occurs the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_DOUBLE</code>. </td></tr>
</table>
</dd>
</dl>
<p>The current double default value of the parameter <em>self</em> is retrieved. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__dfs.html#ga5945764c09e904efe5cc15172ed36fb3">cpl_dfs_setup_product_header()</a>.</p>
</div>
</div>
<a class="anchor" id="gabbb3c1294a6db917af70e7642b827592"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cpl_parameter_get_default_flag </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the presence status flag of the given parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the current setting of the parameters presence flag. If the parameter is present the function returns 1 and 0 otherwise. If an error occurs the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The function indicates whether the given parameter <em>self</em> was seen by an application while processing the input from the command line, the environment and/or a configuration file. If the parameter was seen the application may set this status flag and query it later using this function.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__parameter.html#gaf8aa64b3d09471de5101bc305c507f89" title="Change the presence status flag of the given parameter. ">cpl_parameter_set_default_flag()</a> </dd></dl>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>.</p>
</div>
</div>
<a class="anchor" id="gac685a0bfe4c06aeae671d076ef6ed987"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cpl_parameter_get_default_int </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the default value of the given integer parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>An integer parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's default integer value. If an error occurs the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_INT</code>. </td></tr>
</table>
</dd>
</dl>
<p>The current integer default value of the parameter <em>self</em> is retrieved. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae333db5ccea0813ccd892525b4ba1345">CPL_TYPE_INT</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__dfs.html#ga5945764c09e904efe5cc15172ed36fb3">cpl_dfs_setup_product_header()</a>.</p>
</div>
</div>
<a class="anchor" id="ga7af02dcb8e93ae4d5e32305594e46553"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* cpl_parameter_get_default_string </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the default value of the given string parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>An string parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's default string value. If an error occurs the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_STRING</code>. </td></tr>
</table>
</dd>
</dl>
<p>The current read-only string default value of the parameter <em>self</em> is retrieved. If <em>self</em> is not a valid pointer the error code <code>CPL_ERROR_NULL_INPUT</code> is set on return. Also, if the parameter <em>self</em> is not an string parameter, i.e. the parameter's type is different from <code>CPL_TYPE_INT</code>, the error code <code>CPL_ERROR_TYPE_MISMATCH</code> is set. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a8c58196493fdac6c0424560417cd6bf8">CPL_TYPE_STRING</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__dfs.html#ga5945764c09e904efe5cc15172ed36fb3">cpl_dfs_setup_product_header()</a>.</p>
</div>
</div>
<a class="anchor" id="gad5e687ea250dca59819e5baadc004636"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double cpl_parameter_get_double </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the value of the given double parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>An double parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's double value. If an error occurs the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_INT</code>. </td></tr>
</table>
</dd>
</dl>
<p>The current double value of the parameter <em>self</em> is retrieved. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__dfs.html#ga5945764c09e904efe5cc15172ed36fb3">cpl_dfs_setup_product_header()</a>.</p>
</div>
</div>
<a class="anchor" id="ga319c00b086861840f4ff3d9c400ff006"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double cpl_parameter_get_enum_double </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>position</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the possible values for a double enumeration. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>An enumeration parameter </td></tr>
<tr><td class="paramname">position</td><td>Position to look up in the list of possible values.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The double value at position <em>position</em> in the list of possible values of the enumeration <em>self</em>. In case of an error the function returns 0. and an appropriate error code is set.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The class of the parameter <em>self</em> is not of the kind <code>CPL_PARAMETER_CLASS_ENUM</code>, or <em>self</em> is not of type <code>CPL_TYPE_DOUBLE</code>. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_ACCESS_OUT_OF_RANGE </td><td class="ecr">The requested index position <em>position</em> is out of range. </td></tr>
</table>
</dd>
</dl>
<p>The function retrieves the double value at position <em>position</em> from the list of enumeration values the parameter <em>self</em> can possibly take. For any valid enumeration parameter this list contains at leas one value. The possible values are counted starting from 0. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0d916ea6a7e198a74863ecd9ea03d733">CPL_ERROR_ACCESS_OUT_OF_RANGE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545adc12bb7af6422bc0071ef62ea1ce84dc">CPL_PARAMETER_CLASS_ENUM</a>, <a class="el" href="group__cpl__parameter.html#gae329fd97b5509baf4403e8d76fa3962f">cpl_parameter_get_enum_size()</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
</div>
</div>
<a class="anchor" id="ga3a3a5449cac8d77d5f4318993ca2f3dc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cpl_parameter_get_enum_int </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>position</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the possible values for an integer enumeration. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>An enumeration parameter </td></tr>
<tr><td class="paramname">position</td><td>Position to look up in the list of possible values.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The integer value at position <em>position</em> in the list of possible values of the enumeration <em>self</em>. In case of an error the function returns 0 and an appropriate error code is set.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The class of the parameter <em>self</em> is not of the kind <code>CPL_PARAMETER_CLASS_ENUM</code>, or <em>self</em> is not of type <code>CPL_TYPE_INT</code>. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_ACCESS_OUT_OF_RANGE </td><td class="ecr">The requested index position <em>position</em> is out of range. </td></tr>
</table>
</dd>
</dl>
<p>The function retrieves the integer value at position <em>position</em> from the list of enumeration values the parameter <em>self</em> can possibly take. For any valid enumeration parameter this list contains at least one value. The possible values are counted starting from 0. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0d916ea6a7e198a74863ecd9ea03d733">CPL_ERROR_ACCESS_OUT_OF_RANGE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545adc12bb7af6422bc0071ef62ea1ce84dc">CPL_PARAMETER_CLASS_ENUM</a>, <a class="el" href="group__cpl__parameter.html#gae329fd97b5509baf4403e8d76fa3962f">cpl_parameter_get_enum_size()</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae333db5ccea0813ccd892525b4ba1345">CPL_TYPE_INT</a>.</p>
</div>
</div>
<a class="anchor" id="gae329fd97b5509baf4403e8d76fa3962f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cpl_parameter_get_enum_size </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the number of alternatives of an enumeration parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>An enumeration parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of possible values the parameter <em>self</em> can take, or 0 if <em>self</em> does not point to a valid parameter, or the parameter is not an enumeration parameter. In case of an error the function also sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The class of the parameter <em>self</em> is not of the kind <code>CPL_PARAMETER_CLASS_ENUM</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function retrieves the number of possible alternatives for an enumeration parameter, which is always greater or equal than 1. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545adc12bb7af6422bc0071ef62ea1ce84dc">CPL_PARAMETER_CLASS_ENUM</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__parameter.html#ga319c00b086861840f4ff3d9c400ff006">cpl_parameter_get_enum_double()</a>, <a class="el" href="group__cpl__parameter.html#ga3a3a5449cac8d77d5f4318993ca2f3dc">cpl_parameter_get_enum_int()</a>, and <a class="el" href="group__cpl__parameter.html#gac8f2d27ae00d7cc8839ed538897b848a">cpl_parameter_get_enum_string()</a>.</p>
</div>
</div>
<a class="anchor" id="gac8f2d27ae00d7cc8839ed538897b848a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* cpl_parameter_get_enum_string </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>position</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the possible values for a string enumeration. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>An enumeration parameter </td></tr>
<tr><td class="paramname">position</td><td>Position to look up in the list of possible values.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The string value at position <em>position</em> in the list of possible values of the enumeration <em>self</em>. In case of an error the function returns <code>NULL</code> and an appropriate error code is set.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The class of the parameter <em>self</em> is not of the kind <code>CPL_PARAMETER_CLASS_ENUM</code>, or <em>self</em> is not of type <code>CPL_TYPE_STRING</code>. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_ACCESS_OUT_OF_RANGE </td><td class="ecr">The requested index position <em>position</em> is out of range. </td></tr>
</table>
</dd>
</dl>
<p>The function retrieves the read-only string value at position <em>position</em> from the list of enumeration values the parameter <em>self</em> can possibly take. For any valid enumeration parameter this list contains at least one value. The possible values are counted starting from 0. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0d916ea6a7e198a74863ecd9ea03d733">CPL_ERROR_ACCESS_OUT_OF_RANGE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545adc12bb7af6422bc0071ef62ea1ce84dc">CPL_PARAMETER_CLASS_ENUM</a>, <a class="el" href="group__cpl__parameter.html#gae329fd97b5509baf4403e8d76fa3962f">cpl_parameter_get_enum_size()</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a8c58196493fdac6c0424560417cd6bf8">CPL_TYPE_STRING</a>.</p>
</div>
</div>
<a class="anchor" id="gab745afb7e7c648bbd619d3192eacc0be"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* cpl_parameter_get_help </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the description of a parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter description, or <code>NULL</code> if no description has been set. The function returns <code>NULL</code> if an error occurs and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The function returns the read-only short help of the parameter <em>self</em>. The parameter description <b>must</b> not be modified using the returned pointer. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__dfs.html#ga5945764c09e904efe5cc15172ed36fb3">cpl_dfs_setup_product_header()</a>.</p>
</div>
</div>
<a class="anchor" id="gaf7415af30d9a951d6475fb811e9f7b18"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cpl_parameter_get_id </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the numerical identifier of the given parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's numerical identifier. If an error occurs the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The function looks up the numerical identifier of the given parameter <em>self</em>. A numerical identifier may be assigned to a parameter using <b><a class="el" href="group__cpl__parameter.html#ga0fcabc63505884f4a7a573dd028649d5" title="Set the numerical identifier of the given parameter. ">cpl_parameter_set_id()</a></b>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__parameter.html#ga0fcabc63505884f4a7a573dd028649d5" title="Set the numerical identifier of the given parameter. ">cpl_parameter_set_id()</a> </dd></dl>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>.</p>
</div>
</div>
<a class="anchor" id="ga207f7eef6b9d80d5962b62f8283756d7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cpl_parameter_get_int </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the value of the given integer parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>An integer parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's integer value. If an error occurs the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_INT</code>. </td></tr>
</table>
</dd>
</dl>
<p>The current integer value of the parameter <em>self</em> is retrieved. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae333db5ccea0813ccd892525b4ba1345">CPL_TYPE_INT</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__dfs.html#ga5945764c09e904efe5cc15172ed36fb3">cpl_dfs_setup_product_header()</a>.</p>
</div>
</div>
<a class="anchor" id="ga27b7fe4a8ba5b6694a9c0d34bfa9a570"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* cpl_parameter_get_name </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the name of a parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's unique name, or <code>NULL</code> if <em>self</em> is not a valid parameter but <code>NULL</code>. In the latter case an appropriate error code is set.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The function returns the read-only unique name of the parameter <em>self</em>. The parameter name <b>must</b> not be modified using the returned pointer. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__parameter.html#gaaab214d98ca37386f23e2582f080ec33">cpl_parameter_disable()</a>, <a class="el" href="group__cpl__parameter.html#gaa861e3e10db75f6f987c0971f8934e3e">cpl_parameter_enable()</a>, <a class="el" href="group__cpl__parameter.html#gac7dddc10c1172c824140fd88910a28f6">cpl_parameter_get_alias()</a>, <a class="el" href="group__cpl__parameter.html#ga5052461cceb9bf9b6de9be10fc850f8e">cpl_parameter_get_bool()</a>, <a class="el" href="group__cpl__parameter.html#ga883e755e318c2816c01e99fe16ec1f55">cpl_parameter_get_default_bool()</a>, <a class="el" href="group__cpl__parameter.html#ga68f5f7644d9dba5c7f90e4ecfcb3ce0b">cpl_parameter_get_default_double()</a>, <a class="el" href="group__cpl__parameter.html#gac685a0bfe4c06aeae671d076ef6ed987">cpl_parameter_get_default_int()</a>, <a class="el" href="group__cpl__parameter.html#ga7af02dcb8e93ae4d5e32305594e46553">cpl_parameter_get_default_string()</a>, <a class="el" href="group__cpl__parameter.html#gad5e687ea250dca59819e5baadc004636">cpl_parameter_get_double()</a>, <a class="el" href="group__cpl__parameter.html#ga319c00b086861840f4ff3d9c400ff006">cpl_parameter_get_enum_double()</a>, <a class="el" href="group__cpl__parameter.html#ga3a3a5449cac8d77d5f4318993ca2f3dc">cpl_parameter_get_enum_int()</a>, <a class="el" href="group__cpl__parameter.html#gae329fd97b5509baf4403e8d76fa3962f">cpl_parameter_get_enum_size()</a>, <a class="el" href="group__cpl__parameter.html#gac8f2d27ae00d7cc8839ed538897b848a">cpl_parameter_get_enum_string()</a>, <a class="el" href="group__cpl__parameter.html#ga207f7eef6b9d80d5962b62f8283756d7">cpl_parameter_get_int()</a>, <a class="el" href="group__cpl__parameter.html#ga700a83a23c52a7c6586b14a1f323d1ab">cpl_parameter_get_range_max_double()</a>, <a class="el" href="group__cpl__parameter.html#ga9e8df2b7a8513babd59f6335b983b4d5">cpl_parameter_get_range_max_int()</a>, <a class="el" href="group__cpl__parameter.html#gace376943319d0a5116764b687cd506f4">cpl_parameter_get_range_min_double()</a>, <a class="el" href="group__cpl__parameter.html#ga5d51f315eddecdd77ad015da3474f4f1">cpl_parameter_get_range_min_int()</a>, <a class="el" href="group__cpl__parameter.html#gab42fa99c9a0234a1bb0235c4883e3824">cpl_parameter_get_string()</a>, <a class="el" href="group__cpl__parameter.html#ga9fc9039a933877d2d2d44d8a2e2fb00c">cpl_parameter_is_enabled()</a>, <a class="el" href="group__cpl__parameter.html#ga7013d2ea2f85094df3cafe0a9a2b14a5">cpl_parameter_set_alias()</a>, <a class="el" href="group__cpl__parameter.html#gafb9106037e8f4a7ab758b1f0884fe817">cpl_parameter_set_bool()</a>, <a class="el" href="group__cpl__parameter.html#gaf3a94a61d5ba8b1b487222a824f5d2e8">cpl_parameter_set_default_bool()</a>, <a class="el" href="group__cpl__parameter.html#gac19581a940771dcd493758c0bf568471">cpl_parameter_set_default_double()</a>, <a class="el" href="group__cpl__parameter.html#gaca8417e32bf4ff3cae23d131a5c365f8">cpl_parameter_set_default_int()</a>, <a class="el" href="group__cpl__parameter.html#ga1f21b4b888c016418597edb4f405ab4b">cpl_parameter_set_default_string()</a>, <a class="el" href="group__cpl__parameter.html#gad156ecf3f7bf623f9ea618b226f1fdd9">cpl_parameter_set_double()</a>, <a class="el" href="group__cpl__parameter.html#ga4e42ce7d13602fe6bfdfcab49d8c275e">cpl_parameter_set_int()</a>, <a class="el" href="group__cpl__parameter.html#gad03afbcb85adb7a0d350c6336c00fb9a">cpl_parameter_set_string()</a>, and <a class="el" href="group__cpl__parameterlist.html#ga928933ef1a95bdb3fb286711a7c6bea7">cpl_parameterlist_find_const()</a>.</p>
</div>
</div>
<a class="anchor" id="ga700a83a23c52a7c6586b14a1f323d1ab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double cpl_parameter_get_range_max_double </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the maximum value of a double range parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A double range parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the maximum double value the range parameter <em>self</em> can take. In case of an error, the function returns 0. and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The class of the parameter <em>self</em> is not of the kind <code>CPL_PARAMETER_CLASS_RANGE</code>, or <em>self</em> is not of type <code>CPL_TYPE_DOUBLE</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function retrieves the double value defined to be the upper limit of the double range parameter <em>self</em>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a65e1b5d84eb8494be5d75d75453e9e19">CPL_PARAMETER_CLASS_RANGE</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
</div>
</div>
<a class="anchor" id="ga9e8df2b7a8513babd59f6335b983b4d5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cpl_parameter_get_range_max_int </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the maximum value of an integer range parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>An integer range parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the maximum integer value the range parameter <em>self</em> can take. In case of an error, the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The class of the parameter <em>self</em> is not of the kind <code>CPL_PARAMETER_CLASS_RANGE</code>, or <em>self</em> is not of type <code>CPL_TYPE_INT</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function retrieves the integer value defined to be the upper limit of the integer range parameter <em>self</em>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a65e1b5d84eb8494be5d75d75453e9e19">CPL_PARAMETER_CLASS_RANGE</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae333db5ccea0813ccd892525b4ba1345">CPL_TYPE_INT</a>.</p>
</div>
</div>
<a class="anchor" id="gace376943319d0a5116764b687cd506f4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double cpl_parameter_get_range_min_double </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the minimum value of a double range parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A double range parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the minimum double value the range parameter <em>self</em> can take. In case of an error, the function returns 0. and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The class of the parameter <em>self</em> is not of the kind <code>CPL_PARAMETER_CLASS_RANGE</code>, or <em>self</em> is not of type <code>CPL_TYPE_DOUBLE</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function retrieves the double value defined to be the lower limit of the double range parameter <em>self</em>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a65e1b5d84eb8494be5d75d75453e9e19">CPL_PARAMETER_CLASS_RANGE</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
</div>
</div>
<a class="anchor" id="ga5d51f315eddecdd77ad015da3474f4f1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cpl_parameter_get_range_min_int </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the minimum value of an integer range parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>An integer range parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the minimum integer value the range parameter <em>self</em> can take. In case of an error, the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The class of the parameter <em>self</em> is not of the kind <code>CPL_PARAMETER_CLASS_RANGE</code>, or <em>self</em> is not of type <code>CPL_TYPE_INT</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function retrieves the integer value defined to be the lower limit of the integer range parameter <em>self</em>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a65e1b5d84eb8494be5d75d75453e9e19">CPL_PARAMETER_CLASS_RANGE</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae333db5ccea0813ccd892525b4ba1345">CPL_TYPE_INT</a>.</p>
</div>
</div>
<a class="anchor" id="gab42fa99c9a0234a1bb0235c4883e3824"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* cpl_parameter_get_string </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the value of the given string parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A string parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's string value. If an error occurs the function returns <code>NULL</code> and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_STRING</code>. </td></tr>
</table>
</dd>
</dl>
<p>The current string value of the parameter <em>self</em> is retrieved. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a8c58196493fdac6c0424560417cd6bf8">CPL_TYPE_STRING</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__dfs.html#ga5945764c09e904efe5cc15172ed36fb3">cpl_dfs_setup_product_header()</a>.</p>
</div>
</div>
<a class="anchor" id="gab750e42319c06a6615fcf89239c35776"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* cpl_parameter_get_tag </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the parameter's user tag. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's user tag, or <code>NULL</code> if no user tag was previously set. The function returns <code>NULL</code> if an error occurs and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The current read-only setting of the user definable tag of the given parameter <em>self</em> is retrieved. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__parameterlist.html#ga61193617c72f66b21d55248ba809a78d">cpl_parameterlist_find_tag_const()</a>.</p>
</div>
</div>
<a class="anchor" id="ga07a58b472b9c635e98292ca7ea4dce64"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__type.html#ga01345c598396c7cd159979734adfb57d">cpl_type</a> cpl_parameter_get_type </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the parameter's value type. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the parameter's value type. The function returns <code>CPL_TYPE_INVALID</code> if <em>self</em> is not a valid parameter, but <code>NULL</code>. In this case an appropriate error is also set.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The type identifier of the parameter's value is retrieved from the given parameter <em>self</em>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a557ce1b89a9acd48254c302ec1eed956">CPL_TYPE_INVALID</a>.</p>
<p>Referenced by <a class="el" href="group__cpl__dfs.html#ga5945764c09e904efe5cc15172ed36fb3">cpl_dfs_setup_product_header()</a>, <a class="el" href="group__cpl__parameter.html#ga5052461cceb9bf9b6de9be10fc850f8e">cpl_parameter_get_bool()</a>, <a class="el" href="group__cpl__parameter.html#ga883e755e318c2816c01e99fe16ec1f55">cpl_parameter_get_default_bool()</a>, <a class="el" href="group__cpl__parameter.html#ga68f5f7644d9dba5c7f90e4ecfcb3ce0b">cpl_parameter_get_default_double()</a>, <a class="el" href="group__cpl__parameter.html#gac685a0bfe4c06aeae671d076ef6ed987">cpl_parameter_get_default_int()</a>, <a class="el" href="group__cpl__parameter.html#ga7af02dcb8e93ae4d5e32305594e46553">cpl_parameter_get_default_string()</a>, <a class="el" href="group__cpl__parameter.html#gad5e687ea250dca59819e5baadc004636">cpl_parameter_get_double()</a>, <a class="el" href="group__cpl__parameter.html#ga319c00b086861840f4ff3d9c400ff006">cpl_parameter_get_enum_double()</a>, <a class="el" href="group__cpl__parameter.html#ga3a3a5449cac8d77d5f4318993ca2f3dc">cpl_parameter_get_enum_int()</a>, <a class="el" href="group__cpl__parameter.html#gae329fd97b5509baf4403e8d76fa3962f">cpl_parameter_get_enum_size()</a>, <a class="el" href="group__cpl__parameter.html#gac8f2d27ae00d7cc8839ed538897b848a">cpl_parameter_get_enum_string()</a>, <a class="el" href="group__cpl__parameter.html#ga207f7eef6b9d80d5962b62f8283756d7">cpl_parameter_get_int()</a>, <a class="el" href="group__cpl__parameter.html#ga700a83a23c52a7c6586b14a1f323d1ab">cpl_parameter_get_range_max_double()</a>, <a class="el" href="group__cpl__parameter.html#ga9e8df2b7a8513babd59f6335b983b4d5">cpl_parameter_get_range_max_int()</a>, <a class="el" href="group__cpl__parameter.html#gace376943319d0a5116764b687cd506f4">cpl_parameter_get_range_min_double()</a>, <a class="el" href="group__cpl__parameter.html#ga5d51f315eddecdd77ad015da3474f4f1">cpl_parameter_get_range_min_int()</a>, <a class="el" href="group__cpl__parameter.html#gab42fa99c9a0234a1bb0235c4883e3824">cpl_parameter_get_string()</a>, <a class="el" href="group__cpl__parameter.html#gafb9106037e8f4a7ab758b1f0884fe817">cpl_parameter_set_bool()</a>, <a class="el" href="group__cpl__parameter.html#gaf3a94a61d5ba8b1b487222a824f5d2e8">cpl_parameter_set_default_bool()</a>, <a class="el" href="group__cpl__parameter.html#gac19581a940771dcd493758c0bf568471">cpl_parameter_set_default_double()</a>, <a class="el" href="group__cpl__parameter.html#gaca8417e32bf4ff3cae23d131a5c365f8">cpl_parameter_set_default_int()</a>, <a class="el" href="group__cpl__parameter.html#ga1f21b4b888c016418597edb4f405ab4b">cpl_parameter_set_default_string()</a>, <a class="el" href="group__cpl__parameter.html#gad156ecf3f7bf623f9ea618b226f1fdd9">cpl_parameter_set_double()</a>, <a class="el" href="group__cpl__parameter.html#ga4e42ce7d13602fe6bfdfcab49d8c275e">cpl_parameter_set_int()</a>, <a class="el" href="group__cpl__parameter.html#gad03afbcb85adb7a0d350c6336c00fb9a">cpl_parameter_set_string()</a>, and <a class="el" href="group__cpl__parameterlist.html#ga4f676d441ce0235187f2fb624b9c9cea">cpl_parameterlist_find_type_const()</a>.</p>
</div>
</div>
<a class="anchor" id="ga9fc9039a933877d2d2d44d8a2e2fb00c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cpl_parameter_is_enabled </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a> </td>
<td class="paramname"><em>mode</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the parameter's activity status for the environment context. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter. </td></tr>
<tr><td class="paramname">mode</td><td>The parameter mode.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns a non-zero value if the parameter is enabled for the environment context, or 0 if the parameter is not active. If an error occurs the function returns 0 and sets an appropriate error code.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_ILLEGAL_INPUT </td><td class="ecr">The parameter mode <em>mode</em> is not supported. </td></tr>
</table>
</dd>
</dl>
<p>The function returns whether the parameter is enabled for the environment context or not. If the parameter is enabled for the context the application may modify the parameter's value if the parameter is referenced in the context specific input of the application. If the parameter is disabled, the application must not modify the parameter's value. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7ca7c17d1fab4f47452446cd942bdae5c32">CPL_PARAMETER_MODE_CFG</a>, <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caf1d6a92075c6a42bdae7f86088e914a5">CPL_PARAMETER_MODE_CLI</a>, and <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caac865a6acf8aead42f57e658b5720399">CPL_PARAMETER_MODE_ENV</a>.</p>
</div>
</div>
<a class="anchor" id="ga422fc68d4eb345c1a558ac6f6f104cf9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a>* cpl_parameter_new_enum </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#ga01345c598396c7cd159979734adfb57d">cpl_type</a> </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>description</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname"><em>...</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new enumeration parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The parameter's unique name </td></tr>
<tr><td class="paramname">type</td><td>The type of the parameter's current and default value. </td></tr>
<tr><td class="paramname">description</td><td>An optional comment or description of the parameter. </td></tr>
<tr><td class="paramname">context</td><td>The context to which the parameter belongs. </td></tr>
<tr><td class="paramname">...</td><td>Arguments used for parameter initialisation.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the newly created parameter, or <code>NULL</code> if the parameter could not be created. In the latter case an appropriate error code is set.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_INVALID_TYPE </td><td class="ecr">An unsupported type was passed as <em>type</em>. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_ILLEGAL_INPUT </td><td class="ecr">The provided parameter initialisation data is invalid. </td></tr>
</table>
</dd>
</dl>
<p>The function allocates memory for an enumeration parameter with the name <em>name</em> and a value type <em>type</em>. Optionally a comment describing the parameter may be passed by <em>description</em> and the context to which the parameter belongs may be given by <em>context</em>.</p>
<p>To properly initialise the newly created enumeration, the parameter's default value (together with the number of alternatives following) and the list of enumeration alternatives must be passed as the variable argument list arguments. The list of enumeration alternatives must contain the default value! Apart from the number of possible alternatives, which must be an argument of type <code>int</code>, the type of all initialisation arguments must match the parameter's value type as it is indicated by <em>type</em>. Enumeration parameters can only be created for the value types integer, double or string.</p>
<p>The following example creates a string enumeration parameter with the unique name <code>application.setup.enum</code> which belongs to the context <code>application.setup</code> with the default <em>def</em> and 3 enumeration alternatives.</p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> const char *first = "first";</div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> const char *second = "second";</div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> const char *third = "third";</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> cpl_parameter *p = cpl_parameter_new_enum("application.setup.enum",</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  CPL_TYPE_STRING,</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  "An enum of type string",</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  "application.setup",</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  first, 3, first, second,</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  third);</div>
</div><!-- fragment --></dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__parameter.html#ga15e409fadfe1060e48d4b02ccbf27fb2" title="Create a new value parameter. ">cpl_parameter_new_value()</a>, <a class="el" href="group__cpl__parameter.html#ga0e1bacfbcb11e913ad996539744a1d89" title="Create a new range parameter. ">cpl_parameter_new_range()</a> </dd></dl>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7907a24014a3a45aebe5ee1842f0c6f3">CPL_ERROR_INVALID_TYPE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545adc12bb7af6422bc0071ef62ea1ce84dc">CPL_PARAMETER_CLASS_ENUM</a>, <a class="el" href="group__cpl__parameter.html#ga340c79d817d1d517cf624fa532d87bad">cpl_parameter_delete()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae507f82494e90964eaa5b70535a10869">CPL_TYPE_BOOL</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
</div>
</div>
<a class="anchor" id="ga0e1bacfbcb11e913ad996539744a1d89"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a>* cpl_parameter_new_range </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#ga01345c598396c7cd159979734adfb57d">cpl_type</a> </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>description</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname"><em>...</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new range parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The parameter's unique name </td></tr>
<tr><td class="paramname">type</td><td>The type of the parameter's current and default value. </td></tr>
<tr><td class="paramname">description</td><td>An optional comment or description of the parameter. </td></tr>
<tr><td class="paramname">context</td><td>The context to which the parameter belongs. </td></tr>
<tr><td class="paramname">...</td><td>Arguments used for parameter initialisation.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the newly created parameter, or <code>NULL</code> if the parameter could not be created. In the latter case an appropriate error code is set.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_INVALID_TYPE </td><td class="ecr">An unsupported type was passed as <em>type</em>. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_ILLEGAL_INPUT </td><td class="ecr">The provided parameter initialisation data is invalid. </td></tr>
</table>
</dd>
</dl>
<p>The function allocates memory for a range parameter with the name <em>name</em> and a value type <em>type</em>. Optionally a comment describing the parameter may be passed by <em>description</em> and the context to which the parameter belongs may be given by <em>context</em>.</p>
<p>To properly initialise the newly created range the parameters default value together with the minimum and maximum value of the range has to be passed as the variable argument list arguments. The type of all initialisation arguments must match the parameter's value type as it is indicated by <em>type</em>. Range parameters can only be created for the value types integer or double.</p>
<p>The following example creates a double range parameter with the unique name <code>application.setup.range</code> which belongs to the context <code>application.setup</code> with the default <em>def</em> and the range boundary values <em>minimum</em> and <em>maximum</em>.</p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> double def = 0.5;</div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> double min = 0.0;</div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> double max = 1.0;</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> cpl_parameter *p = cpl_parameter_new_range("application.setup.range",</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  CPL_TYPE_DOUBLE,</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  "A range of type double",</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  "application.setup",</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  def, min, max);</div>
</div><!-- fragment --></dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__parameter.html#ga15e409fadfe1060e48d4b02ccbf27fb2" title="Create a new value parameter. ">cpl_parameter_new_value()</a>, <a class="el" href="group__cpl__parameter.html#ga422fc68d4eb345c1a558ac6f6f104cf9" title="Create a new enumeration parameter. ">cpl_parameter_new_enum()</a> </dd></dl>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7907a24014a3a45aebe5ee1842f0c6f3">CPL_ERROR_INVALID_TYPE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a65e1b5d84eb8494be5d75d75453e9e19">CPL_PARAMETER_CLASS_RANGE</a>, <a class="el" href="group__cpl__parameter.html#ga340c79d817d1d517cf624fa532d87bad">cpl_parameter_delete()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae507f82494e90964eaa5b70535a10869">CPL_TYPE_BOOL</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a8c58196493fdac6c0424560417cd6bf8">CPL_TYPE_STRING</a>.</p>
</div>
</div>
<a class="anchor" id="ga15e409fadfe1060e48d4b02ccbf27fb2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a>* cpl_parameter_new_value </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__type.html#ga01345c598396c7cd159979734adfb57d">cpl_type</a> </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>description</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"> </td>
<td class="paramname"><em>...</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new value parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The parameter's unique name </td></tr>
<tr><td class="paramname">type</td><td>The type of the parameter's current and default value. </td></tr>
<tr><td class="paramname">description</td><td>An optional comment or description of the parameter. </td></tr>
<tr><td class="paramname">context</td><td>The context to which the parameter belongs. </td></tr>
<tr><td class="paramname">...</td><td>Arguments used for parameter initialisation.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns the newly created parameter, or <code>NULL</code> if the parameter could not be created. In the latter case an appropriate error code is set.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>name</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_INVALID_TYPE </td><td class="ecr">An unsupported type was passed as <em>type</em>. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_ILLEGAL_INPUT </td><td class="ecr">The provided parameter initialisation data is invalid. </td></tr>
</table>
</dd>
</dl>
<p>The function allocates memory for a value parameter with the name <em>name</em> and a value type <em>type</em>. Optionally a comment describing the parameter may be passed by <em>description</em> and the context to which the parameter belongs may be given by <em>context</em>.</p>
<p>The newly created parameter is initialised with the default value passed to the function as the only variable argument list argument. The type of the value must match the parameter's value type as it is indicated by <em>type</em>.</p>
<p>The following example creates an integer value parameter with the unique name <code>application.setup.value</code> which belongs to the context <code>application.setup</code> with the default value <em>def</em> </p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> int def = 1;</div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> cpl_parameter *p = cpl_parameter_new_value("application.setup.value",</div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  CPL_TYPE_INT,</div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  "An integer value",</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  "application.setup",</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  def);</div>
</div><!-- fragment --></dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__parameter.html#ga0e1bacfbcb11e913ad996539744a1d89" title="Create a new range parameter. ">cpl_parameter_new_range()</a>, <a class="el" href="group__cpl__parameter.html#ga422fc68d4eb345c1a558ac6f6f104cf9" title="Create a new enumeration parameter. ">cpl_parameter_new_enum()</a> </dd></dl>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7907a24014a3a45aebe5ee1842f0c6f3">CPL_ERROR_INVALID_TYPE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__parameter.html#ggafad9845b73047a0dad8aac0f0af5e545a0966557df36dde34a5c7c557f831bd79">CPL_PARAMETER_CLASS_VALUE</a>, <a class="el" href="group__cpl__parameter.html#ga340c79d817d1d517cf624fa532d87bad">cpl_parameter_delete()</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
</div>
</div>
<a class="anchor" id="ga7013d2ea2f85094df3cafe0a9a2b14a5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_alias </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325">cpl_parameter_mode</a> </td>
<td class="paramname"><em>mode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>alias</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set alias names for the given parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter </td></tr>
<tr><td class="paramname">mode</td><td>The parameter mode for which the alias should be set. </td></tr>
<tr><td class="paramname">alias</td><td>The parameter's alias.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_ILLEGAL_INPUT </td><td class="ecr">The parameter mode <em>mode</em> is not supported. </td></tr>
</table>
</dd>
</dl>
<p>The function assigns an alternative name to the parameter <em>self</em> for the given mode <em>mode</em>. This alias name may be used instead of the fully qualified parameter name in the context for which they have been set. If the alias name is <code>NULL</code> a previously set alias is deleted.</p>
<p>The context for which an alias is set is selected by the <em>mode</em>. The functions accepts the parameter modes <code>CPL_PARAMETER_MODE_CFG</code>, <code>CPL_PARAMETER_MODE_CLI</code> and <code>CPL_PARAMETER_MODE_ENV</code>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__parameter.html#gab617c85978317cf916b89af327874325" title="The parameter mode data type. ">cpl_parameter_mode</a> </dd></dl>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900ae6ab32df318c1af9afcddcb8249cad51">CPL_ERROR_ILLEGAL_INPUT</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7ca7c17d1fab4f47452446cd942bdae5c32">CPL_PARAMETER_MODE_CFG</a>, <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caf1d6a92075c6a42bdae7f86088e914a5">CPL_PARAMETER_MODE_CLI</a>, and <a class="el" href="group__cpl__parameter.html#gga9d9ebbe5b417035c63c4b34621eddb7caac865a6acf8aead42f57e658b5720399">CPL_PARAMETER_MODE_ENV</a>.</p>
</div>
</div>
<a class="anchor" id="gafb9106037e8f4a7ab758b1f0884fe817"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_bool </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Assign a boolean value to a parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>The parameter the value is assigned to. </td></tr>
<tr><td class="paramname">value</td><td>The boolean value to be assigned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_BOOL</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function assigns a boolean value <em>value</em> to a parameter of type <code>CPL_TYPE_BOOL</code>. Any non-zero value passed as <em>value</em> is interpreted as <em>true</em>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae507f82494e90964eaa5b70535a10869">CPL_TYPE_BOOL</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
</div>
</div>
<a class="anchor" id="gaf3a94a61d5ba8b1b487222a824f5d2e8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_default_bool </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Modify the default value of a boolean parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>The parameter whose default value is modified. </td></tr>
<tr><td class="paramname">value</td><td>The boolean value to be assigned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_BOOL</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function changes the default value of the parameter <em>self</em> to the boolean value <em>value</em>. The parameter <em>self</em> must be of type <code>CPL_TYPE_BOOL</code>. Any non-zero value passed as <em>value</em> is interpreted as <em>true</em>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae507f82494e90964eaa5b70535a10869">CPL_TYPE_BOOL</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
</div>
</div>
<a class="anchor" id="gac19581a940771dcd493758c0bf568471"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_default_double </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Modify the default value of a double parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>The parameter whose default value is modified. </td></tr>
<tr><td class="paramname">value</td><td>The double value to be assigned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_DOUBLE</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function changes the default value of the parameter <em>self</em> to the double value <em>value</em>. The parameter <em>self</em> must be of type <code>CPL_TYPE_DOUBLE</code>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
</div>
</div>
<a class="anchor" id="gaf8aa64b3d09471de5101bc305c507f89"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_default_flag </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>status</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change the presence status flag of the given parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter. </td></tr>
<tr><td class="paramname">status</td><td>The presence status value to assign.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The function sets the presence status flag of the given parameter <em>self</em> to the value <em>status</em>. Any non-zero value means that the parameter is present. If the presence status should be changed to `not present' the argument <em>status</em> must be 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__parameter.html#gabbb3c1294a6db917af70e7642b827592" title="Get the presence status flag of the given parameter. ">cpl_parameter_get_default_flag()</a> </dd></dl>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>.</p>
</div>
</div>
<a class="anchor" id="gaca8417e32bf4ff3cae23d131a5c365f8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_default_int </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Modify the default value of an integer parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>The parameter whose default value is modified. </td></tr>
<tr><td class="paramname">value</td><td>The integer value to be assigned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_INT</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function changes the default value of the parameter <em>self</em> to the integer value <em>value</em>. The parameter <em>self</em> must be of type <code>CPL_TYPE_INT</code>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae333db5ccea0813ccd892525b4ba1345">CPL_TYPE_INT</a>.</p>
</div>
</div>
<a class="anchor" id="ga1f21b4b888c016418597edb4f405ab4b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_default_string </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Modify the default value of a string parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>The parameter whose default value is modified. </td></tr>
<tr><td class="paramname">value</td><td>The string value to be assigned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_STRING</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function changes the default value of the parameter <em>self</em> to the string value <em>value</em>. The parameter <em>self</em> must be of type <code>CPL_TYPE_STRING</code>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a8c58196493fdac6c0424560417cd6bf8">CPL_TYPE_STRING</a>.</p>
</div>
</div>
<a class="anchor" id="gad156ecf3f7bf623f9ea618b226f1fdd9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_double </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Assign a double value to a parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>The parameter the value is assigned to. </td></tr>
<tr><td class="paramname">value</td><td>The double value to be assigned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_DOUBLE</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function assigns a double value <em>value</em> to a parameter of type <code>CPL_TYPE_DOUBLE</code>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a4923f03f3a673edd344b0d81835ca69e">CPL_TYPE_DOUBLE</a>, and <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>.</p>
</div>
</div>
<a class="anchor" id="ga0fcabc63505884f4a7a573dd028649d5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_id </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>id</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the numerical identifier of the given parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter. </td></tr>
<tr><td class="paramname">id</td><td>Numerical identifier to assign.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The function assigns a numerical identifier to the parameter <em>self</em>. The numerical value to be assigned to the parameter's numerical identifier member is passed as the argument <em>id</em>. The function does not do any checks on the numerical value of <em>id</em>. The numerical identifier may be used by an application to, for instance, assign a sequence number to the parameter.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__parameter.html#gaf7415af30d9a951d6475fb811e9f7b18" title="Get the numerical identifier of the given parameter. ">cpl_parameter_get_id()</a> </dd></dl>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>.</p>
</div>
</div>
<a class="anchor" id="ga4e42ce7d13602fe6bfdfcab49d8c275e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_int </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Assign an integer value to a parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>The parameter the value is assigned to. </td></tr>
<tr><td class="paramname">value</td><td>The integer value to be assigned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_INT</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function assigns an integer value <em>value</em> to a parameter of type <code>CPL_TYPE_INT</code>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086ae333db5ccea0813ccd892525b4ba1345">CPL_TYPE_INT</a>.</p>
</div>
</div>
<a class="anchor" id="gad03afbcb85adb7a0d350c6336c00fb9a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_string </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Assign a string value to a parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>The parameter the value is assigned to. </td></tr>
<tr><td class="paramname">value</td><td>The string value to be assigned.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
<tr>
<td class="ecl">CPL_ERROR_TYPE_MISMATCH </td><td class="ecr">The type of the parameter <em>self</em> is not of type <code>CPL_TYPE_STRING</code>. </td></tr>
</table>
</dd>
</dl>
<p>The function assigns a string value <em>value</em> to a parameter of type <code>CPL_TYPE_STRING</code>. </p>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>, <a class="el" href="group__cpl__error.html#gab587a051674d4a35daa95945b4d1adb8">cpl_error_set_message</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a2e9d240c9641519323b3d6d616952482">CPL_ERROR_TYPE_MISMATCH</a>, <a class="el" href="group__cpl__parameter.html#ga27b7fe4a8ba5b6694a9c0d34bfa9a570">cpl_parameter_get_name()</a>, <a class="el" href="group__cpl__parameter.html#ga07a58b472b9c635e98292ca7ea4dce64">cpl_parameter_get_type()</a>, <a class="el" href="group__cpl__type.html#ga994816f2d7624221964f91e0b9556578">cpl_type_get_name()</a>, and <a class="el" href="group__cpl__type.html#gga3f03371e201544e9115b40065e47f086a8c58196493fdac6c0424560417cd6bf8">CPL_TYPE_STRING</a>.</p>
</div>
</div>
<a class="anchor" id="gaedaf77a36ae08fc906c665df465e986b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__cpl__error.html#ga44b4287e8a7a22122b94c220a1dd9459">cpl_error_code</a> cpl_parameter_set_tag </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__cpl__parameter.html#ga21c9a26800535c3ca9a55c7f5e96ab7d">cpl_parameter</a> * </td>
<td class="paramname"><em>self</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>tag</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the tag of the given parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">self</td><td>A parameter. </td></tr>
<tr><td class="paramname">tag</td><td>Tag string to assign.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The function returns <code>CPL_ERROR_NONE</code> on success or a CPL error code otherwise.</dd></dl>
<dl class="exception">
<dt><b>Errors</b></dt>
<dd></dd>
<dt></dt>
<dd><table class="ec" align="center">
<tr>
<td class="ecl">CPL_ERROR_NULL_INPUT </td><td class="ecr">The parameter <em>self</em> is a <code>NULL</code> pointer. </td></tr>
</table>
</dd>
</dl>
<p>The function assigns a user definable tag <em>tag</em> to the parameter <em>self</em>. The function does not check the passed string <em>tag</em> in any way. The tag may be used by an application but it cannot rely on the contents of the parameter's tag.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cpl__parameter.html#gab750e42319c06a6615fcf89239c35776" title="Get the parameter's user tag. ">cpl_parameter_get_tag()</a> </dd></dl>
<p>References <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a0239c1c63e9d21e98e45221a3ad60406">CPL_ERROR_NONE</a>, <a class="el" href="group__cpl__error.html#gga49a0c316d52d2afbfd9fd94b95344900a7b054cf7927d1bd0a9b3693a6715be84">CPL_ERROR_NULL_INPUT</a>, and <a class="el" href="group__cpl__error.html#gad7cf962bbe59df1b5991b17b1a2361a3">cpl_error_set</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>
|