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
|
<!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"/>
<title>wxWidgets: wxGridTableBase Class Reference</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="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="page_container">
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0" style="width: 100%;">
<tbody>
<tr>
<td id="projectlogo">
<a href="http://www.wxwidgets.org/" target="_new">
<img alt="wxWidgets" src="logo.png"/>
</a>
</td>
<td style="padding-left: 0.5em; text-align: right;">
<span id="projectnumber">Version: 3.0.2</span>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.8.2 -->
<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>Categories</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classwx_grid_table_base-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">wxGridTableBase Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__group__class__grid.html">Grid Related Classes</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <wx/grid.h></code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for wxGridTableBase:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classwx_grid_table_base__inherit__graph.png" border="0" usemap="#wx_grid_table_base_inherit__map" alt="Inheritance graph"/></div>
<map name="wx_grid_table_base_inherit__map" id="wx_grid_table_base_inherit__map">
<area shape="rect" id="node5" href="classwx_grid_string_table.html" title="Simplest type of data table for a grid for small tables of strings that are stored in memory..." alt="" coords="5,161,131,189"/><area shape="rect" id="node2" href="classwx_object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="31,6,105,34"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The almost abstract base class for grid tables. </p>
<p>A grid table is responsible for storing the grid data and, indirectly, grid cell attributes. The data can be stored in the way most convenient for the application but has to be provided in string form to <a class="el" href="classwx_grid.html" title="wxGrid and its related classes are used for displaying and editing tabular data.">wxGrid</a>. It is also possible to provide cells values in other formats if appropriate, e.g. as numbers.</p>
<p>This base class is not quite abstract as it implements a trivial strategy for storing the attributes by forwarding it to <a class="el" href="classwx_grid_cell_attr_provider.html" title="Class providing attributes to be used for the grid cells.">wxGridCellAttrProvider</a> and also provides stubs for some other functions. However it does have a number of pure virtual methods which must be implemented in the derived classes.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_grid_string_table.html" title="Simplest type of data table for a grid for small tables of strings that are stored in memory...">wxGridStringTable</a></dd></dl>
<h2></h2>
<div><span class="lib">Library:</span>  <span class="lib_text"><a class="el" href="page_libs.html#page_libs_wxadv">wxAdvanced</a></span></div><div><span class="category">Category:</span>  <span class="category_text"><a class="el" href="group__group__class__grid.html">Grid Related Classes</a></span></div> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a86c1ecf0f8077de6246194f3fcdf966d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a86c1ecf0f8077de6246194f3fcdf966d">wxGridTableBase</a> ()</td></tr>
<tr class="memdesc:a86c1ecf0f8077de6246194f3fcdf966d"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a86c1ecf0f8077de6246194f3fcdf966d"></a><br/></td></tr>
<tr class="separator:a86c1ecf0f8077de6246194f3fcdf966d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6cf5b1cc9d9d57dd112695ed3dca5690"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a6cf5b1cc9d9d57dd112695ed3dca5690">~wxGridTableBase</a> ()</td></tr>
<tr class="memdesc:a6cf5b1cc9d9d57dd112695ed3dca5690"><td class="mdescLeft"> </td><td class="mdescRight">Destructor frees the attribute provider if it was created. <a href="#a6cf5b1cc9d9d57dd112695ed3dca5690"></a><br/></td></tr>
<tr class="separator:a6cf5b1cc9d9d57dd112695ed3dca5690"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aefe57964fd86e7a9ab2253d070908b48"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#aefe57964fd86e7a9ab2253d070908b48">GetNumberRows</a> ()=0</td></tr>
<tr class="memdesc:aefe57964fd86e7a9ab2253d070908b48"><td class="mdescLeft"> </td><td class="mdescRight">Must be overridden to return the number of rows in the table. <a href="#aefe57964fd86e7a9ab2253d070908b48"></a><br/></td></tr>
<tr class="separator:aefe57964fd86e7a9ab2253d070908b48"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad290f56b43056a66fa08531410c658d7"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ad290f56b43056a66fa08531410c658d7">GetNumberCols</a> ()=0</td></tr>
<tr class="memdesc:ad290f56b43056a66fa08531410c658d7"><td class="mdescLeft"> </td><td class="mdescRight">Must be overridden to return the number of columns in the table. <a href="#ad290f56b43056a66fa08531410c658d7"></a><br/></td></tr>
<tr class="separator:ad290f56b43056a66fa08531410c658d7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac28b5760892b159031dafa43100f3c6e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ac28b5760892b159031dafa43100f3c6e">GetRowsCount</a> () const </td></tr>
<tr class="memdesc:ac28b5760892b159031dafa43100f3c6e"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of rows in the table. <a href="#ac28b5760892b159031dafa43100f3c6e"></a><br/></td></tr>
<tr class="separator:ac28b5760892b159031dafa43100f3c6e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8552f0173f411c15ea094bc5731e70af"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a8552f0173f411c15ea094bc5731e70af">GetColsCount</a> () const </td></tr>
<tr class="memdesc:a8552f0173f411c15ea094bc5731e70af"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of columns in the table. <a href="#a8552f0173f411c15ea094bc5731e70af"></a><br/></td></tr>
<tr class="separator:a8552f0173f411c15ea094bc5731e70af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7dfac01d7b0655d3b41d350e2f322f60"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a7dfac01d7b0655d3b41d350e2f322f60">SetView</a> (<a class="el" href="classwx_grid.html">wxGrid</a> *grid)</td></tr>
<tr class="memdesc:a7dfac01d7b0655d3b41d350e2f322f60"><td class="mdescLeft"> </td><td class="mdescRight">Called by the grid when the table is associated with it. <a href="#a7dfac01d7b0655d3b41d350e2f322f60"></a><br/></td></tr>
<tr class="separator:a7dfac01d7b0655d3b41d350e2f322f60"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9d63ffa9b5638699234fd85940386482"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_grid.html">wxGrid</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a9d63ffa9b5638699234fd85940386482">GetView</a> () const </td></tr>
<tr class="memdesc:a9d63ffa9b5638699234fd85940386482"><td class="mdescLeft"> </td><td class="mdescRight">Returns the last grid passed to <a class="el" href="classwx_grid_table_base.html#a7dfac01d7b0655d3b41d350e2f322f60" title="Called by the grid when the table is associated with it.">SetView()</a>. <a href="#a9d63ffa9b5638699234fd85940386482"></a><br/></td></tr>
<tr class="separator:a9d63ffa9b5638699234fd85940386482"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa5d507ed6d82b7a7878ad65f5e75d4f0"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#aa5d507ed6d82b7a7878ad65f5e75d4f0">CanHaveAttributes</a> ()</td></tr>
<tr class="memdesc:aa5d507ed6d82b7a7878ad65f5e75d4f0"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this table supports attributes or false otherwise. <a href="#aa5d507ed6d82b7a7878ad65f5e75d4f0"></a><br/></td></tr>
<tr class="separator:aa5d507ed6d82b7a7878ad65f5e75d4f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Table Cell Accessors</div></td></tr>
<tr class="memitem:a53b7f70b9eff26b9d699993e3a71968b"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a53b7f70b9eff26b9d699993e3a71968b">IsEmptyCell</a> (int row, int col)</td></tr>
<tr class="memdesc:a53b7f70b9eff26b9d699993e3a71968b"><td class="mdescLeft"> </td><td class="mdescRight">May be overridden to implement testing for empty cells. <a href="#a53b7f70b9eff26b9d699993e3a71968b"></a><br/></td></tr>
<tr class="separator:a53b7f70b9eff26b9d699993e3a71968b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a819caeb23236eb3f70832cacab2a9836"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a819caeb23236eb3f70832cacab2a9836">IsEmpty</a> (const <a class="el" href="classwx_grid_cell_coords.html">wxGridCellCoords</a> &coords)</td></tr>
<tr class="memdesc:a819caeb23236eb3f70832cacab2a9836"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_grid_table_base.html#a53b7f70b9eff26b9d699993e3a71968b" title="May be overridden to implement testing for empty cells.">IsEmptyCell()</a> but taking <a class="el" href="classwx_grid_cell_coords.html" title="Represents coordinates of a grid cell.">wxGridCellCoords</a>. <a href="#a819caeb23236eb3f70832cacab2a9836"></a><br/></td></tr>
<tr class="separator:a819caeb23236eb3f70832cacab2a9836"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4233348a081a46dabadb6b2dd2cfb972"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a4233348a081a46dabadb6b2dd2cfb972">GetValue</a> (int row, int col)=0</td></tr>
<tr class="memdesc:a4233348a081a46dabadb6b2dd2cfb972"><td class="mdescLeft"> </td><td class="mdescRight">Must be overridden to implement accessing the table values as text. <a href="#a4233348a081a46dabadb6b2dd2cfb972"></a><br/></td></tr>
<tr class="separator:a4233348a081a46dabadb6b2dd2cfb972"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81959e0a329f006de970c5cc82d99ba2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a81959e0a329f006de970c5cc82d99ba2">SetValue</a> (int row, int col, const <a class="el" href="classwx_string.html">wxString</a> &value)=0</td></tr>
<tr class="memdesc:a81959e0a329f006de970c5cc82d99ba2"><td class="mdescLeft"> </td><td class="mdescRight">Must be overridden to implement setting the table values as text. <a href="#a81959e0a329f006de970c5cc82d99ba2"></a><br/></td></tr>
<tr class="separator:a81959e0a329f006de970c5cc82d99ba2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2192fb69ab1daf9684f23562d1fea727"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a2192fb69ab1daf9684f23562d1fea727">GetTypeName</a> (int row, int col)</td></tr>
<tr class="memdesc:a2192fb69ab1daf9684f23562d1fea727"><td class="mdescLeft"> </td><td class="mdescRight">Returns the type of the value in the given cell. <a href="#a2192fb69ab1daf9684f23562d1fea727"></a><br/></td></tr>
<tr class="separator:a2192fb69ab1daf9684f23562d1fea727"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab35a34c87742cf546751d93b5f6cdbdb"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ab35a34c87742cf546751d93b5f6cdbdb">CanGetValueAs</a> (int row, int col, const <a class="el" href="classwx_string.html">wxString</a> &typeName)</td></tr>
<tr class="memdesc:ab35a34c87742cf546751d93b5f6cdbdb"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the value of the given cell can be accessed as if it were of the specified type. <a href="#ab35a34c87742cf546751d93b5f6cdbdb"></a><br/></td></tr>
<tr class="separator:ab35a34c87742cf546751d93b5f6cdbdb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab17971b84ec8c875cf758310a975d96e"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ab17971b84ec8c875cf758310a975d96e">CanSetValueAs</a> (int row, int col, const <a class="el" href="classwx_string.html">wxString</a> &typeName)</td></tr>
<tr class="memdesc:ab17971b84ec8c875cf758310a975d96e"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the value of the given cell can be set as if it were of the specified type. <a href="#ab17971b84ec8c875cf758310a975d96e"></a><br/></td></tr>
<tr class="separator:ab17971b84ec8c875cf758310a975d96e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac4abb42709ba4ad5fb3e65747b5525f2"><td class="memItemLeft" align="right" valign="top">virtual long </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ac4abb42709ba4ad5fb3e65747b5525f2">GetValueAsLong</a> (int row, int col)</td></tr>
<tr class="memdesc:ac4abb42709ba4ad5fb3e65747b5525f2"><td class="mdescLeft"> </td><td class="mdescRight">Returns the value of the given cell as a long. <a href="#ac4abb42709ba4ad5fb3e65747b5525f2"></a><br/></td></tr>
<tr class="separator:ac4abb42709ba4ad5fb3e65747b5525f2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab761072281ec4e7f800f44c9577040bc"><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ab761072281ec4e7f800f44c9577040bc">GetValueAsDouble</a> (int row, int col)</td></tr>
<tr class="memdesc:ab761072281ec4e7f800f44c9577040bc"><td class="mdescLeft"> </td><td class="mdescRight">Returns the value of the given cell as a double. <a href="#ab761072281ec4e7f800f44c9577040bc"></a><br/></td></tr>
<tr class="separator:ab761072281ec4e7f800f44c9577040bc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a133772ec139879eef58d0440f22e4476"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a133772ec139879eef58d0440f22e4476">GetValueAsBool</a> (int row, int col)</td></tr>
<tr class="memdesc:a133772ec139879eef58d0440f22e4476"><td class="mdescLeft"> </td><td class="mdescRight">Returns the value of the given cell as a boolean. <a href="#a133772ec139879eef58d0440f22e4476"></a><br/></td></tr>
<tr class="separator:a133772ec139879eef58d0440f22e4476"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3679460609888689f497c6dc01ae8d41"><td class="memItemLeft" align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a3679460609888689f497c6dc01ae8d41">GetValueAsCustom</a> (int row, int col, const <a class="el" href="classwx_string.html">wxString</a> &typeName)</td></tr>
<tr class="memdesc:a3679460609888689f497c6dc01ae8d41"><td class="mdescLeft"> </td><td class="mdescRight">Returns the value of the given cell as a user-defined type. <a href="#a3679460609888689f497c6dc01ae8d41"></a><br/></td></tr>
<tr class="separator:a3679460609888689f497c6dc01ae8d41"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae035a347dd02d16182e37e866b5c2632"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ae035a347dd02d16182e37e866b5c2632">SetValueAsLong</a> (int row, int col, long value)</td></tr>
<tr class="memdesc:ae035a347dd02d16182e37e866b5c2632"><td class="mdescLeft"> </td><td class="mdescRight">Sets the value of the given cell as a long. <a href="#ae035a347dd02d16182e37e866b5c2632"></a><br/></td></tr>
<tr class="separator:ae035a347dd02d16182e37e866b5c2632"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4cf3f5ba2c6338cf2cb944960c15bdb1"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a4cf3f5ba2c6338cf2cb944960c15bdb1">SetValueAsDouble</a> (int row, int col, double value)</td></tr>
<tr class="memdesc:a4cf3f5ba2c6338cf2cb944960c15bdb1"><td class="mdescLeft"> </td><td class="mdescRight">Sets the value of the given cell as a double. <a href="#a4cf3f5ba2c6338cf2cb944960c15bdb1"></a><br/></td></tr>
<tr class="separator:a4cf3f5ba2c6338cf2cb944960c15bdb1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1948b5e152aac985892e568655561feb"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a1948b5e152aac985892e568655561feb">SetValueAsBool</a> (int row, int col, bool value)</td></tr>
<tr class="memdesc:a1948b5e152aac985892e568655561feb"><td class="mdescLeft"> </td><td class="mdescRight">Sets the value of the given cell as a boolean. <a href="#a1948b5e152aac985892e568655561feb"></a><br/></td></tr>
<tr class="separator:a1948b5e152aac985892e568655561feb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad9be80bb5bf75a8f80e26e40208be583"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ad9be80bb5bf75a8f80e26e40208be583">SetValueAsCustom</a> (int row, int col, const <a class="el" href="classwx_string.html">wxString</a> &typeName, void *value)</td></tr>
<tr class="memdesc:ad9be80bb5bf75a8f80e26e40208be583"><td class="mdescLeft"> </td><td class="mdescRight">Sets the value of the given cell as a user-defined type. <a href="#ad9be80bb5bf75a8f80e26e40208be583"></a><br/></td></tr>
<tr class="separator:ad9be80bb5bf75a8f80e26e40208be583"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Table Structure Modifiers</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Notice that none of these functions are pure virtual as they don't have to be implemented if the table structure is never modified after creation, i.e.</p>
<p>neither rows nor columns are never added or deleted but that you do need to implement them if they are called, i.e. if your code either calls them directly or uses the matching <a class="el" href="classwx_grid.html" title="wxGrid and its related classes are used for displaying and editing tabular data.">wxGrid</a> methods, as by default they simply do nothing which is definitely inappropriate. </p>
</div></td></tr>
<tr class="memitem:acc1ed3ef5d026594cb09d957f34761f5"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#acc1ed3ef5d026594cb09d957f34761f5">Clear</a> ()</td></tr>
<tr class="memdesc:acc1ed3ef5d026594cb09d957f34761f5"><td class="mdescLeft"> </td><td class="mdescRight">Clear the table contents. <a href="#acc1ed3ef5d026594cb09d957f34761f5"></a><br/></td></tr>
<tr class="separator:acc1ed3ef5d026594cb09d957f34761f5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a649fad50aeeb8dea442ae1f9122e4e6a"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a649fad50aeeb8dea442ae1f9122e4e6a">InsertRows</a> (size_t pos=0, size_t numRows=1)</td></tr>
<tr class="memdesc:a649fad50aeeb8dea442ae1f9122e4e6a"><td class="mdescLeft"> </td><td class="mdescRight">Insert additional rows into the table. <a href="#a649fad50aeeb8dea442ae1f9122e4e6a"></a><br/></td></tr>
<tr class="separator:a649fad50aeeb8dea442ae1f9122e4e6a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b85abbed0e689820aa1928eb3a303cd"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a4b85abbed0e689820aa1928eb3a303cd">AppendRows</a> (size_t numRows=1)</td></tr>
<tr class="memdesc:a4b85abbed0e689820aa1928eb3a303cd"><td class="mdescLeft"> </td><td class="mdescRight">Append additional rows at the end of the table. <a href="#a4b85abbed0e689820aa1928eb3a303cd"></a><br/></td></tr>
<tr class="separator:a4b85abbed0e689820aa1928eb3a303cd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a038567ce937e90cc3f06c5d7c4df7c16"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a038567ce937e90cc3f06c5d7c4df7c16">DeleteRows</a> (size_t pos=0, size_t numRows=1)</td></tr>
<tr class="memdesc:a038567ce937e90cc3f06c5d7c4df7c16"><td class="mdescLeft"> </td><td class="mdescRight">Delete rows from the table. <a href="#a038567ce937e90cc3f06c5d7c4df7c16"></a><br/></td></tr>
<tr class="separator:a038567ce937e90cc3f06c5d7c4df7c16"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a361c7064a0199afc01678318ce8b712d"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a361c7064a0199afc01678318ce8b712d">InsertCols</a> (size_t pos=0, size_t numCols=1)</td></tr>
<tr class="memdesc:a361c7064a0199afc01678318ce8b712d"><td class="mdescLeft"> </td><td class="mdescRight">Exactly the same as <a class="el" href="classwx_grid_table_base.html#a649fad50aeeb8dea442ae1f9122e4e6a" title="Insert additional rows into the table.">InsertRows()</a> but for columns. <a href="#a361c7064a0199afc01678318ce8b712d"></a><br/></td></tr>
<tr class="separator:a361c7064a0199afc01678318ce8b712d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f70e66794796670b6e5367e200d5168"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a2f70e66794796670b6e5367e200d5168">AppendCols</a> (size_t numCols=1)</td></tr>
<tr class="memdesc:a2f70e66794796670b6e5367e200d5168"><td class="mdescLeft"> </td><td class="mdescRight">Exactly the same as <a class="el" href="classwx_grid_table_base.html#a4b85abbed0e689820aa1928eb3a303cd" title="Append additional rows at the end of the table.">AppendRows()</a> but for columns. <a href="#a2f70e66794796670b6e5367e200d5168"></a><br/></td></tr>
<tr class="separator:a2f70e66794796670b6e5367e200d5168"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4f96bd344c49875495c4f20ef707ca4b"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a4f96bd344c49875495c4f20ef707ca4b">DeleteCols</a> (size_t pos=0, size_t numCols=1)</td></tr>
<tr class="memdesc:a4f96bd344c49875495c4f20ef707ca4b"><td class="mdescLeft"> </td><td class="mdescRight">Exactly the same as <a class="el" href="classwx_grid_table_base.html#a038567ce937e90cc3f06c5d7c4df7c16" title="Delete rows from the table.">DeleteRows()</a> but for columns. <a href="#a4f96bd344c49875495c4f20ef707ca4b"></a><br/></td></tr>
<tr class="separator:a4f96bd344c49875495c4f20ef707ca4b"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Table Row and Column Labels</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>By default the numbers are used for labeling rows and Latin letters for labeling columns.</p>
<p>If the table has more than 26 columns, the pairs of letters are used starting from the 27-th one and so on, i.e. the sequence of labels is A, B, ..., Z, AA, AB, ..., AZ, BA, ..., ..., ZZ, AAA, ... </p>
</div></td></tr>
<tr class="memitem:ad2a20c7f8ac0cbca8665639897b0aa33"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ad2a20c7f8ac0cbca8665639897b0aa33">GetRowLabelValue</a> (int row)</td></tr>
<tr class="memdesc:ad2a20c7f8ac0cbca8665639897b0aa33"><td class="mdescLeft"> </td><td class="mdescRight">Return the label of the specified row. <a href="#ad2a20c7f8ac0cbca8665639897b0aa33"></a><br/></td></tr>
<tr class="separator:ad2a20c7f8ac0cbca8665639897b0aa33"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac7db44c525e0791b29005ee4fa48e729"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ac7db44c525e0791b29005ee4fa48e729">GetColLabelValue</a> (int col)</td></tr>
<tr class="memdesc:ac7db44c525e0791b29005ee4fa48e729"><td class="mdescLeft"> </td><td class="mdescRight">Return the label of the specified column. <a href="#ac7db44c525e0791b29005ee4fa48e729"></a><br/></td></tr>
<tr class="separator:ac7db44c525e0791b29005ee4fa48e729"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8205840a49da8ab2147fa8081afb2de6"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a8205840a49da8ab2147fa8081afb2de6">SetRowLabelValue</a> (int row, const <a class="el" href="classwx_string.html">wxString</a> &label)</td></tr>
<tr class="memdesc:a8205840a49da8ab2147fa8081afb2de6"><td class="mdescLeft"> </td><td class="mdescRight">Set the given label for the specified row. <a href="#a8205840a49da8ab2147fa8081afb2de6"></a><br/></td></tr>
<tr class="separator:a8205840a49da8ab2147fa8081afb2de6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2c228818518de127b34c13655153021e"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a2c228818518de127b34c13655153021e">SetColLabelValue</a> (int col, const <a class="el" href="classwx_string.html">wxString</a> &label)</td></tr>
<tr class="memdesc:a2c228818518de127b34c13655153021e"><td class="mdescLeft"> </td><td class="mdescRight">Exactly the same as <a class="el" href="classwx_grid_table_base.html#a8205840a49da8ab2147fa8081afb2de6" title="Set the given label for the specified row.">SetRowLabelValue()</a> but for columns. <a href="#a2c228818518de127b34c13655153021e"></a><br/></td></tr>
<tr class="separator:a2c228818518de127b34c13655153021e"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Attributes Management</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>By default the attributes management is delegated to <a class="el" href="classwx_grid_cell_attr_provider.html" title="Class providing attributes to be used for the grid cells.">wxGridCellAttrProvider</a> class.</p>
<p>You may override the methods in this section to handle the attributes directly if, for example, they can be computed from the cell values. </p>
</div></td></tr>
<tr class="memitem:ad0248937170cf1f0280694525ee5f994"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ad0248937170cf1f0280694525ee5f994">SetAttrProvider</a> (<a class="el" href="classwx_grid_cell_attr_provider.html">wxGridCellAttrProvider</a> *attrProvider)</td></tr>
<tr class="memdesc:ad0248937170cf1f0280694525ee5f994"><td class="mdescLeft"> </td><td class="mdescRight">Associate this attributes provider with the table. <a href="#ad0248937170cf1f0280694525ee5f994"></a><br/></td></tr>
<tr class="separator:ad0248937170cf1f0280694525ee5f994"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a774b855c89b93812fff8940917f8dc3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_grid_cell_attr_provider.html">wxGridCellAttrProvider</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a774b855c89b93812fff8940917f8dc3e">GetAttrProvider</a> () const </td></tr>
<tr class="memdesc:a774b855c89b93812fff8940917f8dc3e"><td class="mdescLeft"> </td><td class="mdescRight">Returns the attribute provider currently being used. <a href="#a774b855c89b93812fff8940917f8dc3e"></a><br/></td></tr>
<tr class="separator:a774b855c89b93812fff8940917f8dc3e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af031321a86e3835d23177ffe53eee643"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_grid_cell_attr.html">wxGridCellAttr</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#af031321a86e3835d23177ffe53eee643">GetAttr</a> (int row, int col, <a class="el" href="classwx_grid_cell_attr.html#acc28e22664b1e4d390448c556993c440">wxGridCellAttr::wxAttrKind</a> kind)</td></tr>
<tr class="memdesc:af031321a86e3835d23177ffe53eee643"><td class="mdescLeft"> </td><td class="mdescRight">Return the attribute for the given cell. <a href="#af031321a86e3835d23177ffe53eee643"></a><br/></td></tr>
<tr class="separator:af031321a86e3835d23177ffe53eee643"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12277f75a635fd35fcaefd0d56cad0ab"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a12277f75a635fd35fcaefd0d56cad0ab">SetAttr</a> (<a class="el" href="classwx_grid_cell_attr.html">wxGridCellAttr</a> *attr, int row, int col)</td></tr>
<tr class="memdesc:a12277f75a635fd35fcaefd0d56cad0ab"><td class="mdescLeft"> </td><td class="mdescRight">Set attribute of the specified cell. <a href="#a12277f75a635fd35fcaefd0d56cad0ab"></a><br/></td></tr>
<tr class="separator:a12277f75a635fd35fcaefd0d56cad0ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8f1dc4a35497eeec27104943f0d7be11"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#a8f1dc4a35497eeec27104943f0d7be11">SetRowAttr</a> (<a class="el" href="classwx_grid_cell_attr.html">wxGridCellAttr</a> *attr, int row)</td></tr>
<tr class="memdesc:a8f1dc4a35497eeec27104943f0d7be11"><td class="mdescLeft"> </td><td class="mdescRight">Set attribute of the specified row. <a href="#a8f1dc4a35497eeec27104943f0d7be11"></a><br/></td></tr>
<tr class="separator:a8f1dc4a35497eeec27104943f0d7be11"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac08a10473e538c1f3859ad59936eb870"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_grid_table_base.html#ac08a10473e538c1f3859ad59936eb870">SetColAttr</a> (<a class="el" href="classwx_grid_cell_attr.html">wxGridCellAttr</a> *attr, int col)</td></tr>
<tr class="memdesc:ac08a10473e538c1f3859ad59936eb870"><td class="mdescLeft"> </td><td class="mdescRight">Set attribute of the specified column. <a href="#ac08a10473e538c1f3859ad59936eb870"></a><br/></td></tr>
<tr class="separator:ac08a10473e538c1f3859ad59936eb870"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#acaa378363a28af421ab56ad7b46eadf0">wxObject</a> ()</td></tr>
<tr class="memdesc:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Default ctor; initializes to <span class="literal">NULL</span> the internal reference data. <a href="#acaa378363a28af421ab56ad7b46eadf0"></a><br/></td></tr>
<tr class="separator:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a4721b4dc9b7aff0f30904ba2ea3954cf">wxObject</a> (const <a class="el" href="classwx_object.html">wxObject</a> &other)</td></tr>
<tr class="memdesc:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Copy ctor. <a href="#a4721b4dc9b7aff0f30904ba2ea3954cf"></a><br/></td></tr>
<tr class="separator:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2a51aa8bfbab47ca2f051bcf84b3f35b">~wxObject</a> ()</td></tr>
<tr class="memdesc:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a2a51aa8bfbab47ca2f051bcf84b3f35b"></a><br/></td></tr>
<tr class="separator:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_class_info.html">wxClassInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#ab3a0c6f723cbaddb47be4e8dd98cc8e2">GetClassInfo</a> () const </td></tr>
<tr class="memdesc:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This virtual function is redefined for every class that requires run-time type information, when using the <a class="el" href="group__group__funcmacro__rtti.html#ga20465fc7e022e29a5dacfad46e152e75" title="Used inside a class declaration to declare that the class should be made known to the class hierarchy...">wxDECLARE_CLASS</a> macro (or similar). <a href="#ab3a0c6f723cbaddb47be4e8dd98cc8e2"></a><br/></td></tr>
<tr class="separator:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#aabdb4fc957226544a8408167844e4f42">GetRefData</a> () const </td></tr>
<tr class="memdesc:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer, i.e. the data referenced by this object. <a href="#aabdb4fc957226544a8408167844e4f42"></a><br/></td></tr>
<tr class="separator:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af40d580385cf4f8112fae7713404b01e">IsKindOf</a> (const <a class="el" href="classwx_class_info.html">wxClassInfo</a> *info) const </td></tr>
<tr class="memdesc:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether this class is a subclass of (or the same class as) the given class. <a href="#af40d580385cf4f8112fae7713404b01e"></a><br/></td></tr>
<tr class="separator:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a80a1a3fda7b14396a9ddd3d7a46a88bd">IsSameAs</a> (const <a class="el" href="classwx_object.html">wxObject</a> &obj) const </td></tr>
<tr class="memdesc:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if this object has the same data pointer as <em>obj</em>. <a href="#a80a1a3fda7b14396a9ddd3d7a46a88bd"></a><br/></td></tr>
<tr class="separator:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2f6f1aa51fe9fc2b1415ca4211a90e9e">Ref</a> (const <a class="el" href="classwx_object.html">wxObject</a> &clone)</td></tr>
<tr class="memdesc:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Makes this object refer to the data in <em>clone</em>. <a href="#a2f6f1aa51fe9fc2b1415ca4211a90e9e"></a><br/></td></tr>
<tr class="separator:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#afab780710f2adc1bb33310e27590140b">SetRefData</a> (<a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data)</td></tr>
<tr class="memdesc:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer. <a href="#afab780710f2adc1bb33310e27590140b"></a><br/></td></tr>
<tr class="separator:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af51efc6b1ae632fc7f0cd7ebbce9fa36">UnRef</a> ()</td></tr>
<tr class="memdesc:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Decrements the reference count in the associated data, and if it is zero, deletes the data. <a href="#af51efc6b1ae632fc7f0cd7ebbce9fa36"></a><br/></td></tr>
<tr class="separator:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a74b40e42d19a4b9e9bec0b57d62a5725">UnShare</a> ()</td></tr>
<tr class="memdesc:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This is the same of <a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13" title="Ensure that this object's data is not shared with any other object.">AllocExclusive()</a> but this method is public. <a href="#a74b40e42d19a4b9e9bec0b57d62a5725"></a><br/></td></tr>
<tr class="separator:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a07b8f34f5afc5743195c5fed052f55d3">operator delete</a> (void *buf)</td></tr>
<tr class="memdesc:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>delete</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a07b8f34f5afc5743195c5fed052f55d3"></a><br/></td></tr>
<tr class="separator:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a96fa423a1dbc212c8227a5d83825971f">operator new</a> (size_t size, const <a class="el" href="classwx_string.html">wxString</a> &filename=NULL, int lineNum=0)</td></tr>
<tr class="memdesc:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>new</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a96fa423a1dbc212c8227a5d83825971f"></a><br/></td></tr>
<tr class="separator:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classwx_object')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13">AllocExclusive</a> ()</td></tr>
<tr class="memdesc:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Ensure that this object's data is not shared with any other object. <a href="#a60204063f3cc3aa2fa1c7ff5bda9eb13"></a><br/></td></tr>
<tr class="separator:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a95c6a5e4e1e03ff23c7b9efe4cff0c1a">CreateRefData</a> () const </td></tr>
<tr class="memdesc:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and returns it. <a href="#a95c6a5e4e1e03ff23c7b9efe4cff0c1a"></a><br/></td></tr>
<tr class="separator:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a1d39f1d3650fe0982c9a1abe7f9fe7b7">CloneRefData</a> (const <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data) const </td></tr>
<tr class="memdesc:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and initializes it copying <em>data</em>. <a href="#a1d39f1d3650fe0982c9a1abe7f9fe7b7"></a><br/></td></tr>
<tr class="separator:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classwx_object')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8">m_refData</a></td></tr>
<tr class="memdesc:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Pointer to an object which is the object's reference-counted data. <a href="#a9e31954530a0abd54982effc443ed2b8"></a><br/></td></tr>
<tr class="separator:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a86c1ecf0f8077de6246194f3fcdf966d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxGridTableBase::wxGridTableBase </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
</div>
</div>
<a class="anchor" id="a6cf5b1cc9d9d57dd112695ed3dca5690"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual wxGridTableBase::~wxGridTableBase </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor frees the attribute provider if it was created. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a2f70e66794796670b6e5367e200d5168"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGridTableBase::AppendCols </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>numCols</em> = <code>1</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Exactly the same as <a class="el" href="classwx_grid_table_base.html#a4b85abbed0e689820aa1928eb3a303cd" title="Append additional rows at the end of the table.">AppendRows()</a> but for columns. </p>
<p>Reimplemented in <a class="el" href="classwx_grid_string_table.html#a96ac3ac5fe3871aed18a6e0fdcd329c9">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="a4b85abbed0e689820aa1928eb3a303cd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGridTableBase::AppendRows </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>numRows</em> = <code>1</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Append additional rows at the end of the table. </p>
<p>This method is provided in addition to <a class="el" href="classwx_grid_table_base.html#a649fad50aeeb8dea442ae1f9122e4e6a" title="Insert additional rows into the table.">InsertRows()</a> as some data models may only support appending rows to them but not inserting them at arbitrary locations. In such case you may implement this method only and leave <a class="el" href="classwx_grid_table_base.html#a649fad50aeeb8dea442ae1f9122e4e6a" title="Insert additional rows into the table.">InsertRows()</a> unimplemented.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">numRows</td><td>The number of rows to add. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented in <a class="el" href="classwx_grid_string_table.html#a66811ce30919a6ed45dba9536e8c8652">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="ab35a34c87742cf546751d93b5f6cdbdb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGridTableBase::CanGetValueAs </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>typeName</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the value of the given cell can be accessed as if it were of the specified type. </p>
<p>By default the cells can only be accessed as strings. Note that a cell could be accessible in different ways, e.g. a numeric cell may return <span class="literal">true</span> for <code>wxGRID_VALUE_NUMBER</code> but also for <code>wxGRID_VALUE_STRING</code> indicating that the value can be coerced to a string form. </p>
</div>
</div>
<a class="anchor" id="aa5d507ed6d82b7a7878ad65f5e75d4f0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGridTableBase::CanHaveAttributes </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this table supports attributes or false otherwise. </p>
<p>By default, the table automatically creates a <a class="el" href="classwx_grid_cell_attr_provider.html" title="Class providing attributes to be used for the grid cells.">wxGridCellAttrProvider</a> when this function is called if it had no attribute provider before and returns <span class="literal">true</span>. </p>
</div>
</div>
<a class="anchor" id="ab17971b84ec8c875cf758310a975d96e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGridTableBase::CanSetValueAs </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>typeName</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the value of the given cell can be set as if it were of the specified type. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_grid_table_base.html#ab35a34c87742cf546751d93b5f6cdbdb" title="Returns true if the value of the given cell can be accessed as if it were of the specified type...">CanGetValueAs()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="acc1ed3ef5d026594cb09d957f34761f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::Clear </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Clear the table contents. </p>
<p>This method is used by <a class="el" href="classwx_grid.html#a7928e5d1e23e09db6c45c35f7aa65532" title="Clears all data in the underlying grid table and repaints the grid.">wxGrid::ClearGrid()</a>. </p>
<p>Reimplemented in <a class="el" href="classwx_grid_string_table.html#a83c1567bff49b6e71f0acd441c621bca">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="a4f96bd344c49875495c4f20ef707ca4b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGridTableBase::DeleteCols </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>pos</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>numCols</em> = <code>1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Exactly the same as <a class="el" href="classwx_grid_table_base.html#a038567ce937e90cc3f06c5d7c4df7c16" title="Delete rows from the table.">DeleteRows()</a> but for columns. </p>
<p>Reimplemented in <a class="el" href="classwx_grid_string_table.html#a27f964b9ea9c709a54814e166dc682ad">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="a038567ce937e90cc3f06c5d7c4df7c16"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGridTableBase::DeleteRows </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>pos</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>numRows</em> = <code>1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Delete rows from the table. </p>
<p>Notice that currently deleting a row intersecting a multi-cell (see SetCellSize()) is not supported and will result in a crash.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pos</td><td>The first row to delete. </td></tr>
<tr><td class="paramname">numRows</td><td>The number of rows to delete. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented in <a class="el" href="classwx_grid_string_table.html#a63b043a2f48f5a4aec7a92f110830a7a">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="af031321a86e3835d23177ffe53eee643"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_grid_cell_attr.html">wxGridCellAttr</a>* wxGridTableBase::GetAttr </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_grid_cell_attr.html#acc28e22664b1e4d390448c556993c440">wxGridCellAttr::wxAttrKind</a> </td>
<td class="paramname"><em>kind</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the attribute for the given cell. </p>
<p>By default this function is simply forwarded to <a class="el" href="classwx_grid_cell_attr_provider.html#a26ce9f9fd2e86e649b031b6211b6ab0a" title="Get the attribute to use for the specified cell.">wxGridCellAttrProvider::GetAttr()</a> but it may be overridden to handle attributes directly in the table. </p>
</div>
</div>
<a class="anchor" id="a774b855c89b93812fff8940917f8dc3e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_grid_cell_attr_provider.html">wxGridCellAttrProvider</a>* wxGridTableBase::GetAttrProvider </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the attribute provider currently being used. </p>
<p>This function may return <span class="literal">NULL</span> if the attribute provider hasn't been neither associated with this table by <a class="el" href="classwx_grid_table_base.html#ad0248937170cf1f0280694525ee5f994" title="Associate this attributes provider with the table.">SetAttrProvider()</a> nor created on demand by any other methods. </p>
</div>
</div>
<a class="anchor" id="ac7db44c525e0791b29005ee4fa48e729"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_string.html">wxString</a> wxGridTableBase::GetColLabelValue </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the label of the specified column. </p>
<p>Reimplemented in <a class="el" href="classwx_grid_string_table.html#a16ea9b1b101ae44fcb78b468e5bd3d22">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="a8552f0173f411c15ea094bc5731e70af"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxGridTableBase::GetColsCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the number of columns in the table. </p>
<p>This method is not virtual and is only provided as a convenience for the derived classes which can't call <a class="el" href="classwx_grid_table_base.html#ad290f56b43056a66fa08531410c658d7" title="Must be overridden to return the number of columns in the table.">GetNumberCols()</a> without a <code>const_cast</code> from their const methods. </p>
</div>
</div>
<a class="anchor" id="ad290f56b43056a66fa08531410c658d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxGridTableBase::GetNumberCols </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Must be overridden to return the number of columns in the table. </p>
<p>For backwards compatibility reasons, this method is not const. Use <a class="el" href="classwx_grid_table_base.html#a8552f0173f411c15ea094bc5731e70af" title="Return the number of columns in the table.">GetColsCount()</a> instead of it in const methods of derived table classes, </p>
<p>Implemented in <a class="el" href="classwx_grid_string_table.html#a5315de5638990a54d6ec97720cb9059f">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="aefe57964fd86e7a9ab2253d070908b48"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxGridTableBase::GetNumberRows </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Must be overridden to return the number of rows in the table. </p>
<p>For backwards compatibility reasons, this method is not const. Use <a class="el" href="classwx_grid_table_base.html#ac28b5760892b159031dafa43100f3c6e" title="Return the number of rows in the table.">GetRowsCount()</a> instead of it in const methods of derived table classes. </p>
<p>Implemented in <a class="el" href="classwx_grid_string_table.html#a851b8fe3b8fd5e78e7a4d2f1f2868212">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="ad2a20c7f8ac0cbca8665639897b0aa33"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_string.html">wxString</a> wxGridTableBase::GetRowLabelValue </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the label of the specified row. </p>
<p>Reimplemented in <a class="el" href="classwx_grid_string_table.html#a9f8ad94bc8dff183b001d7a38f7f7359">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="ac28b5760892b159031dafa43100f3c6e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxGridTableBase::GetRowsCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the number of rows in the table. </p>
<p>This method is not virtual and is only provided as a convenience for the derived classes which can't call <a class="el" href="classwx_grid_table_base.html#aefe57964fd86e7a9ab2253d070908b48" title="Must be overridden to return the number of rows in the table.">GetNumberRows()</a> without a <code>const_cast</code> from their const methods. </p>
</div>
</div>
<a class="anchor" id="a2192fb69ab1daf9684f23562d1fea727"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_string.html">wxString</a> wxGridTableBase::GetTypeName </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the type of the value in the given cell. </p>
<p>By default all cells are strings and this method returns <code>wxGRID_VALUE_STRING</code>. </p>
</div>
</div>
<a class="anchor" id="a4233348a081a46dabadb6b2dd2cfb972"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_string.html">wxString</a> wxGridTableBase::GetValue </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Must be overridden to implement accessing the table values as text. </p>
<p>Implemented in <a class="el" href="classwx_grid_string_table.html#aa7d1576f6010b304cdc30a73099bb98f">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="a133772ec139879eef58d0440f22e4476"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGridTableBase::GetValueAsBool </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value of the given cell as a boolean. </p>
<p>This should only be called if <a class="el" href="classwx_grid_table_base.html#ab35a34c87742cf546751d93b5f6cdbdb" title="Returns true if the value of the given cell can be accessed as if it were of the specified type...">CanGetValueAs()</a> returns <span class="literal">true</span> when called with <code>wxGRID_VALUE_BOOL</code> argument. Default implementation always return false. </p>
</div>
</div>
<a class="anchor" id="a3679460609888689f497c6dc01ae8d41"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void* wxGridTableBase::GetValueAsCustom </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>typeName</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value of the given cell as a user-defined type. </p>
<p>This should only be called if <a class="el" href="classwx_grid_table_base.html#ab35a34c87742cf546751d93b5f6cdbdb" title="Returns true if the value of the given cell can be accessed as if it were of the specified type...">CanGetValueAs()</a> returns <span class="literal">true</span> when called with <em>typeName</em>. Default implementation always return <span class="literal">NULL</span>. </p>
</div>
</div>
<a class="anchor" id="ab761072281ec4e7f800f44c9577040bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual double wxGridTableBase::GetValueAsDouble </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value of the given cell as a double. </p>
<p>This should only be called if <a class="el" href="classwx_grid_table_base.html#ab35a34c87742cf546751d93b5f6cdbdb" title="Returns true if the value of the given cell can be accessed as if it were of the specified type...">CanGetValueAs()</a> returns <span class="literal">true</span> when called with <code>wxGRID_VALUE_FLOAT</code> argument. Default implementation always return 0.0. </p>
</div>
</div>
<a class="anchor" id="ac4abb42709ba4ad5fb3e65747b5525f2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual long wxGridTableBase::GetValueAsLong </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value of the given cell as a long. </p>
<p>This should only be called if <a class="el" href="classwx_grid_table_base.html#ab35a34c87742cf546751d93b5f6cdbdb" title="Returns true if the value of the given cell can be accessed as if it were of the specified type...">CanGetValueAs()</a> returns <span class="literal">true</span> when called with <code>wxGRID_VALUE_NUMBER</code> argument. Default implementation always return 0. </p>
</div>
</div>
<a class="anchor" id="a9d63ffa9b5638699234fd85940386482"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_grid.html">wxGrid</a>* wxGridTableBase::GetView </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the last grid passed to <a class="el" href="classwx_grid_table_base.html#a7dfac01d7b0655d3b41d350e2f322f60" title="Called by the grid when the table is associated with it.">SetView()</a>. </p>
</div>
</div>
<a class="anchor" id="a361c7064a0199afc01678318ce8b712d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGridTableBase::InsertCols </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>pos</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>numCols</em> = <code>1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Exactly the same as <a class="el" href="classwx_grid_table_base.html#a649fad50aeeb8dea442ae1f9122e4e6a" title="Insert additional rows into the table.">InsertRows()</a> but for columns. </p>
<p>Reimplemented in <a class="el" href="classwx_grid_string_table.html#ae452ad9f669e6c7ad09de3fd7115e90e">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="a649fad50aeeb8dea442ae1f9122e4e6a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGridTableBase::InsertRows </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>pos</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>numRows</em> = <code>1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Insert additional rows into the table. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pos</td><td>The position of the first new row. </td></tr>
<tr><td class="paramname">numRows</td><td>The number of rows to insert. </td></tr>
</table>
</dd>
</dl>
<p>Reimplemented in <a class="el" href="classwx_grid_string_table.html#aaffc9aa967312749fd08ce34dd32938d">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="a819caeb23236eb3f70832cacab2a9836"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxGridTableBase::IsEmpty </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_grid_cell_coords.html">wxGridCellCoords</a> & </td>
<td class="paramname"><em>coords</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_grid_table_base.html#a53b7f70b9eff26b9d699993e3a71968b" title="May be overridden to implement testing for empty cells.">IsEmptyCell()</a> but taking <a class="el" href="classwx_grid_cell_coords.html" title="Represents coordinates of a grid cell.">wxGridCellCoords</a>. </p>
<p>Notice that this method is not virtual, only <a class="el" href="classwx_grid_table_base.html#a53b7f70b9eff26b9d699993e3a71968b" title="May be overridden to implement testing for empty cells.">IsEmptyCell()</a> should be overridden. </p>
</div>
</div>
<a class="anchor" id="a53b7f70b9eff26b9d699993e3a71968b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGridTableBase::IsEmptyCell </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>May be overridden to implement testing for empty cells. </p>
<p>This method is used by the grid to test if the given cell is not used and so whether a neighbouring cell may overflow into it. By default it only returns true if the value of the given cell, as returned by <a class="el" href="classwx_grid_table_base.html#a4233348a081a46dabadb6b2dd2cfb972" title="Must be overridden to implement accessing the table values as text.">GetValue()</a>, is empty. </p>
</div>
</div>
<a class="anchor" id="a12277f75a635fd35fcaefd0d56cad0ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::SetAttr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_grid_cell_attr.html">wxGridCellAttr</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Set attribute of the specified cell. </p>
<p>By default this function is simply forwarded to <a class="el" href="classwx_grid_cell_attr_provider.html#a85676f2c08382cd2a1e3c1f38a24540b" title="Setting attributes.">wxGridCellAttrProvider::SetAttr()</a>.</p>
<p>The table takes ownership of <em>attr</em>, i.e. will call DecRef() on it. </p>
</div>
</div>
<a class="anchor" id="ad0248937170cf1f0280694525ee5f994"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGridTableBase::SetAttrProvider </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_grid_cell_attr_provider.html">wxGridCellAttrProvider</a> * </td>
<td class="paramname"><em>attrProvider</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Associate this attributes provider with the table. </p>
<p>The table takes ownership of <em>attrProvider</em> pointer and will delete it when it doesn't need it any more. The pointer can be <span class="literal">NULL</span>, however this won't disable attributes management in the table but will just result in a default attributes being recreated the next time any of the other functions in this section is called. To completely disable the attributes support, should this be needed, you need to override <a class="el" href="classwx_grid_table_base.html#aa5d507ed6d82b7a7878ad65f5e75d4f0" title="Returns true if this table supports attributes or false otherwise.">CanHaveAttributes()</a> to return <span class="literal">false</span>. </p>
</div>
</div>
<a class="anchor" id="ac08a10473e538c1f3859ad59936eb870"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::SetColAttr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_grid_cell_attr.html">wxGridCellAttr</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Set attribute of the specified column. </p>
<p>By default this function is simply forwarded to <a class="el" href="classwx_grid_cell_attr_provider.html#ab07209295a7afb61658d24b3fe34cb89" title="Set attribute for the specified column.">wxGridCellAttrProvider::SetColAttr()</a>.</p>
<p>The table takes ownership of <em>attr</em>, i.e. will call DecRef() on it. </p>
</div>
</div>
<a class="anchor" id="a2c228818518de127b34c13655153021e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::SetColLabelValue </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>label</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Exactly the same as <a class="el" href="classwx_grid_table_base.html#a8205840a49da8ab2147fa8081afb2de6" title="Set the given label for the specified row.">SetRowLabelValue()</a> but for columns. </p>
<p>Reimplemented in <a class="el" href="classwx_grid_string_table.html#a77bb41c553a39b59c8526b8fa9a6d8d5">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="a8f1dc4a35497eeec27104943f0d7be11"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::SetRowAttr </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_grid_cell_attr.html">wxGridCellAttr</a> * </td>
<td class="paramname"><em>attr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Set attribute of the specified row. </p>
<p>By default this function is simply forwarded to <a class="el" href="classwx_grid_cell_attr_provider.html#afe30d6ea1164d0730d3f7ba447150735" title="Set attribute for the specified row.">wxGridCellAttrProvider::SetRowAttr()</a>.</p>
<p>The table takes ownership of <em>attr</em>, i.e. will call DecRef() on it. </p>
</div>
</div>
<a class="anchor" id="a8205840a49da8ab2147fa8081afb2de6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::SetRowLabelValue </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>label</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the given label for the specified row. </p>
<p>The default version does nothing, i.e. the label is not stored. You must override this method in your derived class if you wish <a class="el" href="classwx_grid.html#ae67491f6e506a37dd45bc52e47a09fdc" title="Sets the value for the given row label.">wxGrid::SetRowLabelValue()</a> to work. </p>
<p>Reimplemented in <a class="el" href="classwx_grid_string_table.html#af761fd6e62fbdb1051936bc212464bb5">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="a81959e0a329f006de970c5cc82d99ba2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::SetValue </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Must be overridden to implement setting the table values as text. </p>
<p>Implemented in <a class="el" href="classwx_grid_string_table.html#ab450d0e50a153a0fe8a60c418fdd1256">wxGridStringTable</a>.</p>
</div>
</div>
<a class="anchor" id="a1948b5e152aac985892e568655561feb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::SetValueAsBool </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the value of the given cell as a boolean. </p>
<p>This should only be called if <a class="el" href="classwx_grid_table_base.html#ab17971b84ec8c875cf758310a975d96e" title="Returns true if the value of the given cell can be set as if it were of the specified type...">CanSetValueAs()</a> returns <span class="literal">true</span> when called with <code>wxGRID_VALUE_BOOL</code> argument. Default implementation doesn't do anything. </p>
</div>
</div>
<a class="anchor" id="ad9be80bb5bf75a8f80e26e40208be583"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::SetValueAsCustom </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>typeName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the value of the given cell as a user-defined type. </p>
<p>This should only be called if <a class="el" href="classwx_grid_table_base.html#ab17971b84ec8c875cf758310a975d96e" title="Returns true if the value of the given cell can be set as if it were of the specified type...">CanSetValueAs()</a> returns <span class="literal">true</span> when called with <em>typeName</em>. Default implementation doesn't do anything. </p>
</div>
</div>
<a class="anchor" id="a4cf3f5ba2c6338cf2cb944960c15bdb1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::SetValueAsDouble </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the value of the given cell as a double. </p>
<p>This should only be called if <a class="el" href="classwx_grid_table_base.html#ab17971b84ec8c875cf758310a975d96e" title="Returns true if the value of the given cell can be set as if it were of the specified type...">CanSetValueAs()</a> returns <span class="literal">true</span> when called with <code>wxGRID_VALUE_FLOAT</code> argument. Default implementation doesn't do anything. </p>
</div>
</div>
<a class="anchor" id="ae035a347dd02d16182e37e866b5c2632"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::SetValueAsLong </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>row</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>col</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the value of the given cell as a long. </p>
<p>This should only be called if <a class="el" href="classwx_grid_table_base.html#ab17971b84ec8c875cf758310a975d96e" title="Returns true if the value of the given cell can be set as if it were of the specified type...">CanSetValueAs()</a> returns <span class="literal">true</span> when called with <code>wxGRID_VALUE_NUMBER</code> argument. Default implementation doesn't do anything. </p>
</div>
</div>
<a class="anchor" id="a7dfac01d7b0655d3b41d350e2f322f60"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGridTableBase::SetView </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_grid.html">wxGrid</a> * </td>
<td class="paramname"><em>grid</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called by the grid when the table is associated with it. </p>
<p>The default implementation stores the pointer and returns it from its <a class="el" href="classwx_grid_table_base.html#a9d63ffa9b5638699234fd85940386482" title="Returns the last grid passed to SetView().">GetView()</a> and so only makes sense if the table cannot be associated with more than one grid at a time. </p>
</div>
</div>
</div><!-- contents -->
<address class="footer">
<small>
Generated on Thu Nov 27 2014 13:46:48 for wxWidgets by <a href="http://www.doxygen.org/index.html" target="_new">Doxygen</a> 1.8.2
</small>
</address>
<script src="wxwidgets.js" type="text/javascript"></script>
</div><!-- #page_container -->
</body>
</html>
|