/usr/share/doc/libbamtools-dev/html/class_bam_tools_1_1_sam_program_chain.html is in libbamtools-doc 2.4.1+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BamTools: BamTools::SamProgramChain 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">BamTools
 <span id="projectnumber">2.4.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespace_bam_tools.html">BamTools</a></li><li class="navelem"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html">SamProgramChain</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="class_bam_tools_1_1_sam_program_chain-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">BamTools::SamProgramChain Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Sorted container "chain" of <a class="el" href="struct_bam_tools_1_1_sam_program.html" title="Represents a SAM program record. ">SamProgram</a> records.
<a href="class_bam_tools_1_1_sam_program_chain.html#details">More...</a></p>
<p><code>#include <<a class="el" href="_sam_program_chain_8h_source.html">SamProgramChain.h</a>></code></p>
<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:a4a6ba2ab1524d667a75c9776a760226c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a4a6ba2ab1524d667a75c9776a760226c">SamProgramChain</a> (void)</td></tr>
<tr class="memdesc:a4a6ba2ab1524d667a75c9776a760226c"><td class="mdescLeft"> </td><td class="mdescRight">constructor <a href="#a4a6ba2ab1524d667a75c9776a760226c">More...</a><br /></td></tr>
<tr class="separator:a4a6ba2ab1524d667a75c9776a760226c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a250fc7bfa05f9c10c08e0d8144da85ee"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a250fc7bfa05f9c10c08e0d8144da85ee">SamProgramChain</a> (const <a class="el" href="class_bam_tools_1_1_sam_program_chain.html">SamProgramChain</a> &other)</td></tr>
<tr class="memdesc:a250fc7bfa05f9c10c08e0d8144da85ee"><td class="mdescLeft"> </td><td class="mdescRight">copy constructor <a href="#a250fc7bfa05f9c10c08e0d8144da85ee">More...</a><br /></td></tr>
<tr class="separator:a250fc7bfa05f9c10c08e0d8144da85ee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab31ee039ebf98d65fba3d6d8435389a2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#ab31ee039ebf98d65fba3d6d8435389a2">~SamProgramChain</a> (void)</td></tr>
<tr class="memdesc:ab31ee039ebf98d65fba3d6d8435389a2"><td class="mdescLeft"> </td><td class="mdescRight">destructor <a href="#ab31ee039ebf98d65fba3d6d8435389a2">More...</a><br /></td></tr>
<tr class="separator:ab31ee039ebf98d65fba3d6d8435389a2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa0cf8e420ec68247e83337581c7bd137"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#aa0cf8e420ec68247e83337581c7bd137">Add</a> (<a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> &program)</td></tr>
<tr class="memdesc:aa0cf8e420ec68247e83337581c7bd137"><td class="mdescLeft"> </td><td class="mdescRight">Appends a program to program chain. <a href="#aa0cf8e420ec68247e83337581c7bd137">More...</a><br /></td></tr>
<tr class="separator:aa0cf8e420ec68247e83337581c7bd137"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af416bd4fefcb7c9773e1fbe3db1a81c2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#af416bd4fefcb7c9773e1fbe3db1a81c2">Add</a> (std::vector< <a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> > &programs)</td></tr>
<tr class="memdesc:af416bd4fefcb7c9773e1fbe3db1a81c2"><td class="mdescLeft"> </td><td class="mdescRight">Appends a batch of programs to the end of the chain. <a href="#af416bd4fefcb7c9773e1fbe3db1a81c2">More...</a><br /></td></tr>
<tr class="separator:af416bd4fefcb7c9773e1fbe3db1a81c2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb13f9737ab843f1ced2e179ae6de568"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#acb13f9737ab843f1ced2e179ae6de568">Clear</a> (void)</td></tr>
<tr class="memdesc:acb13f9737ab843f1ced2e179ae6de568"><td class="mdescLeft"> </td><td class="mdescRight">Clears all program records. <a href="#acb13f9737ab843f1ced2e179ae6de568">More...</a><br /></td></tr>
<tr class="separator:acb13f9737ab843f1ced2e179ae6de568"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac34d3f22515bd76b64af7a5ffaac2cb3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#ac34d3f22515bd76b64af7a5ffaac2cb3">Contains</a> (const <a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> &program) const</td></tr>
<tr class="memdesc:ac34d3f22515bd76b64af7a5ffaac2cb3"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if chains has this program record (matching on ID). <a href="#ac34d3f22515bd76b64af7a5ffaac2cb3">More...</a><br /></td></tr>
<tr class="separator:ac34d3f22515bd76b64af7a5ffaac2cb3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5497595a2963d444c63b7367727c83ba"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a5497595a2963d444c63b7367727c83ba">Contains</a> (const std::string &programId) const</td></tr>
<tr class="memdesc:a5497595a2963d444c63b7367727c83ba"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if chains has a program record with this ID. <a href="#a5497595a2963d444c63b7367727c83ba">More...</a><br /></td></tr>
<tr class="separator:a5497595a2963d444c63b7367727c83ba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8b27bca9e9348f1223434c0c0217f0a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a8b27bca9e9348f1223434c0c0217f0a2">First</a> (void)</td></tr>
<tr class="memdesc:a8b27bca9e9348f1223434c0c0217f0a2"><td class="mdescLeft"> </td><td class="mdescRight">Fetches first (oldest) record in the chain. <a href="#a8b27bca9e9348f1223434c0c0217f0a2">More...</a><br /></td></tr>
<tr class="separator:a8b27bca9e9348f1223434c0c0217f0a2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a38e3de7960d4c923614186104ac6074b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a38e3de7960d4c923614186104ac6074b">First</a> (void) const</td></tr>
<tr class="memdesc:a38e3de7960d4c923614186104ac6074b"><td class="mdescLeft"> </td><td class="mdescRight">Fetches first (oldest) record in the chain. <a href="#a38e3de7960d4c923614186104ac6074b">More...</a><br /></td></tr>
<tr class="separator:a38e3de7960d4c923614186104ac6074b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2de692f91fc38601c4570dd14b428daf"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2de692f91fc38601c4570dd14b428daf">IsEmpty</a> (void) const</td></tr>
<tr class="memdesc:a2de692f91fc38601c4570dd14b428daf"><td class="mdescLeft"> </td><td class="mdescRight">Returns <code>true</code> if chain contains no records. <a href="#a2de692f91fc38601c4570dd14b428daf">More...</a><br /></td></tr>
<tr class="separator:a2de692f91fc38601c4570dd14b428daf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5db6b3f07861c6c888a38aa64f4b52cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a5db6b3f07861c6c888a38aa64f4b52cf">Last</a> (void)</td></tr>
<tr class="memdesc:a5db6b3f07861c6c888a38aa64f4b52cf"><td class="mdescLeft"> </td><td class="mdescRight">Fetches last (newest) record in the chain. <a href="#a5db6b3f07861c6c888a38aa64f4b52cf">More...</a><br /></td></tr>
<tr class="separator:a5db6b3f07861c6c888a38aa64f4b52cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ba17bacab2f02fbf6e7ccf85b5345c5"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a1ba17bacab2f02fbf6e7ccf85b5345c5">Last</a> (void) const</td></tr>
<tr class="memdesc:a1ba17bacab2f02fbf6e7ccf85b5345c5"><td class="mdescLeft"> </td><td class="mdescRight">Fetches last (newest) record in the chain. <a href="#a1ba17bacab2f02fbf6e7ccf85b5345c5">More...</a><br /></td></tr>
<tr class="separator:a1ba17bacab2f02fbf6e7ccf85b5345c5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a755724eb5f38871eefaa50e8087bc97b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a755724eb5f38871eefaa50e8087bc97b">Size</a> (void) const</td></tr>
<tr class="memdesc:a755724eb5f38871eefaa50e8087bc97b"><td class="mdescLeft"> </td><td class="mdescRight">Returns number of program records in the chain. <a href="#a755724eb5f38871eefaa50e8087bc97b">More...</a><br /></td></tr>
<tr class="separator:a755724eb5f38871eefaa50e8087bc97b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0c84a94130a31560cea62785b42d50f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a0c84a94130a31560cea62785b42d50f8">operator[]</a> (const std::string &programId)</td></tr>
<tr class="memdesc:a0c84a94130a31560cea62785b42d50f8"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the modifiable <a class="el" href="struct_bam_tools_1_1_sam_program.html" title="Represents a SAM program record. ">SamProgram</a> record that matches <em>programId</em>. <a href="#a0c84a94130a31560cea62785b42d50f8">More...</a><br /></td></tr>
<tr class="separator:a0c84a94130a31560cea62785b42d50f8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a94c498963aa41923912b57d09e2ba0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_bam_tools.html#a4f05bf39c3fa968ad9ceebfac3bfcd26">SamProgramIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2a94c498963aa41923912b57d09e2ba0">Begin</a> (void)</td></tr>
<tr class="separator:a2a94c498963aa41923912b57d09e2ba0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f60eb4a1e44e0fee4afe13075b80a97"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_bam_tools.html#a65243649ecb469540f711d6849eebbbc">SamProgramConstIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a9f60eb4a1e44e0fee4afe13075b80a97">Begin</a> (void) const</td></tr>
<tr class="separator:a9f60eb4a1e44e0fee4afe13075b80a97"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a838d77fe41e784c086dede6cc008b435"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_bam_tools.html#a65243649ecb469540f711d6849eebbbc">SamProgramConstIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a838d77fe41e784c086dede6cc008b435">ConstBegin</a> (void) const</td></tr>
<tr class="separator:a838d77fe41e784c086dede6cc008b435"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7dad5dd5b394bc4c3bd49bf7a4989e57"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_bam_tools.html#a4f05bf39c3fa968ad9ceebfac3bfcd26">SamProgramIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a7dad5dd5b394bc4c3bd49bf7a4989e57">End</a> (void)</td></tr>
<tr class="separator:a7dad5dd5b394bc4c3bd49bf7a4989e57"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a099b334381ec39e973212ecd241ba8c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_bam_tools.html#a65243649ecb469540f711d6849eebbbc">SamProgramConstIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a099b334381ec39e973212ecd241ba8c7">End</a> (void) const</td></tr>
<tr class="separator:a099b334381ec39e973212ecd241ba8c7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a98885dc535d92f3f3b74b3cb3bccc773"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_bam_tools.html#a65243649ecb469540f711d6849eebbbc">SamProgramConstIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a98885dc535d92f3f3b74b3cb3bccc773">ConstEnd</a> (void) const</td></tr>
<tr class="separator:a98885dc535d92f3f3b74b3cb3bccc773"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Sorted container "chain" of <a class="el" href="struct_bam_tools_1_1_sam_program.html" title="Represents a SAM program record. ">SamProgram</a> records. </p>
<p>Provides methods for operating on a collection of <a class="el" href="struct_bam_tools_1_1_sam_program.html" title="Represents a SAM program record. ">SamProgram</a> records.</p>
<dl class="section note"><dt>Note</dt><dd>Underlying container is <em>NOT</em> ordered by linkage, but by order of appearance in <a class="el" href="struct_bam_tools_1_1_sam_header.html" title="Represents the SAM-formatted text header that is part of the BAM file header. ">SamHeader</a> and subsequent <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#aa0cf8e420ec68247e83337581c7bd137" title="Appends a program to program chain. ">Add()</a> calls. Using the current iterators will not allow you to step through the header's program history. Instead use <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a8b27bca9e9348f1223434c0c0217f0a2" title="Fetches first (oldest) record in the chain. ">First()</a>/Last() to access oldest/newest records, respectively. </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a4a6ba2ab1524d667a75c9776a760226c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a6ba2ab1524d667a75c9776a760226c">◆ </a></span>SamProgramChain() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SamProgramChain::SamProgramChain </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>constructor </p>
</div>
</div>
<a id="a250fc7bfa05f9c10c08e0d8144da85ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a250fc7bfa05f9c10c08e0d8144da85ee">◆ </a></span>SamProgramChain() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SamProgramChain::SamProgramChain </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_bam_tools_1_1_sam_program_chain.html">SamProgramChain</a> & </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>copy constructor </p>
</div>
</div>
<a id="ab31ee039ebf98d65fba3d6d8435389a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab31ee039ebf98d65fba3d6d8435389a2">◆ </a></span>~SamProgramChain()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SamProgramChain::~SamProgramChain </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>destructor </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa0cf8e420ec68247e83337581c7bd137"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0cf8e420ec68247e83337581c7bd137">◆ </a></span>Add() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SamProgramChain::Add </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & </td>
<td class="paramname"><em>program</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends a program to program chain. </p>
<p>Duplicate entries are silently discarded.</p>
<dl class="section note"><dt>Note</dt><dd>Underlying container is <em>NOT</em> ordered by linkage, but by order of appearance in <a class="el" href="struct_bam_tools_1_1_sam_header.html" title="Represents the SAM-formatted text header that is part of the BAM file header. ">SamHeader</a> and subsequent <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#aa0cf8e420ec68247e83337581c7bd137" title="Appends a program to program chain. ">Add()</a> calls. Using the current iterators will not allow you to step through the header's program history. Instead use <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a8b27bca9e9348f1223434c0c0217f0a2" title="Fetches first (oldest) record in the chain. ">First()</a>/Last() to access oldest/newest records, respectively.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">program</td><td>entry to be appended </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="af416bd4fefcb7c9773e1fbe3db1a81c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af416bd4fefcb7c9773e1fbe3db1a81c2">◆ </a></span>Add() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SamProgramChain::Add </td>
<td>(</td>
<td class="paramtype">std::vector< <a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> > & </td>
<td class="paramname"><em>programs</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends a batch of programs to the end of the chain. </p>
<p>This is an overloaded function.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">programs</td><td>batch of program records to append </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#aa0cf8e420ec68247e83337581c7bd137" title="Appends a program to program chain. ">Add()</a> </dd></dl>
</div>
</div>
<a id="a2a94c498963aa41923912b57d09e2ba0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a94c498963aa41923912b57d09e2ba0">◆ </a></span>Begin() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespace_bam_tools.html#a4f05bf39c3fa968ad9ceebfac3bfcd26">SamProgramIterator</a> SamProgramChain::Begin </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>an STL iterator pointing to the first (oldest) program record </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a838d77fe41e784c086dede6cc008b435">ConstBegin()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a7dad5dd5b394bc4c3bd49bf7a4989e57">End()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a8b27bca9e9348f1223434c0c0217f0a2" title="Fetches first (oldest) record in the chain. ">First()</a> </dd></dl>
</div>
</div>
<a id="a9f60eb4a1e44e0fee4afe13075b80a97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f60eb4a1e44e0fee4afe13075b80a97">◆ </a></span>Begin() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespace_bam_tools.html#a65243649ecb469540f711d6849eebbbc">SamProgramConstIterator</a> SamProgramChain::Begin </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>an STL const_iterator pointing to the first (oldest) program record</dd></dl>
<p>This is an overloaded function.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a838d77fe41e784c086dede6cc008b435">ConstBegin()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a7dad5dd5b394bc4c3bd49bf7a4989e57">End()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a8b27bca9e9348f1223434c0c0217f0a2" title="Fetches first (oldest) record in the chain. ">First()</a> </dd></dl>
</div>
</div>
<a id="acb13f9737ab843f1ced2e179ae6de568"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb13f9737ab843f1ced2e179ae6de568">◆ </a></span>Clear()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SamProgramChain::Clear </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Clears all program records. </p>
</div>
</div>
<a id="a838d77fe41e784c086dede6cc008b435"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a838d77fe41e784c086dede6cc008b435">◆ </a></span>ConstBegin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespace_bam_tools.html#a65243649ecb469540f711d6849eebbbc">SamProgramConstIterator</a> SamProgramChain::ConstBegin </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>an STL const_iterator pointing to the first (oldest) program record </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2a94c498963aa41923912b57d09e2ba0">Begin()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a98885dc535d92f3f3b74b3cb3bccc773">ConstEnd()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a8b27bca9e9348f1223434c0c0217f0a2" title="Fetches first (oldest) record in the chain. ">First()</a> </dd></dl>
</div>
</div>
<a id="a98885dc535d92f3f3b74b3cb3bccc773"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98885dc535d92f3f3b74b3cb3bccc773">◆ </a></span>ConstEnd()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespace_bam_tools.html#a65243649ecb469540f711d6849eebbbc">SamProgramConstIterator</a> SamProgramChain::ConstEnd </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>an STL const_iterator pointing to the imaginary entry after the last (newest) program record </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a838d77fe41e784c086dede6cc008b435">ConstBegin()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a7dad5dd5b394bc4c3bd49bf7a4989e57">End()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a5db6b3f07861c6c888a38aa64f4b52cf" title="Fetches last (newest) record in the chain. ">Last()</a> </dd></dl>
</div>
</div>
<a id="ac34d3f22515bd76b64af7a5ffaac2cb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac34d3f22515bd76b64af7a5ffaac2cb3">◆ </a></span>Contains() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool SamProgramChain::Contains </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & </td>
<td class="paramname"><em>program</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if chains has this program record (matching on ID). </p>
<p>This is an overloaded function.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">program</td><td><a class="el" href="struct_bam_tools_1_1_sam_program.html" title="Represents a SAM program record. ">SamProgram</a> to search for </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if chain contains program (matching on ID) </dd></dl>
</div>
</div>
<a id="a5497595a2963d444c63b7367727c83ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5497595a2963d444c63b7367727c83ba">◆ </a></span>Contains() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool SamProgramChain::Contains </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>programId</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if chains has a program record with this ID. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">programId</td><td>search for program matching this ID </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if chain contains a program record with this ID </dd></dl>
</div>
</div>
<a id="a7dad5dd5b394bc4c3bd49bf7a4989e57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7dad5dd5b394bc4c3bd49bf7a4989e57">◆ </a></span>End() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespace_bam_tools.html#a4f05bf39c3fa968ad9ceebfac3bfcd26">SamProgramIterator</a> SamProgramChain::End </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>an STL iterator pointing to the imaginary entry after the last (newest) program record </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2a94c498963aa41923912b57d09e2ba0">Begin()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a98885dc535d92f3f3b74b3cb3bccc773">ConstEnd()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a5db6b3f07861c6c888a38aa64f4b52cf" title="Fetches last (newest) record in the chain. ">Last()</a> </dd></dl>
</div>
</div>
<a id="a099b334381ec39e973212ecd241ba8c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a099b334381ec39e973212ecd241ba8c7">◆ </a></span>End() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespace_bam_tools.html#a65243649ecb469540f711d6849eebbbc">SamProgramConstIterator</a> SamProgramChain::End </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>an STL const_iterator pointing to the imaginary entry after the last (newest) program record</dd></dl>
<p>This is an overloaded function.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2a94c498963aa41923912b57d09e2ba0">Begin()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a98885dc535d92f3f3b74b3cb3bccc773">ConstEnd()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a5db6b3f07861c6c888a38aa64f4b52cf" title="Fetches last (newest) record in the chain. ">Last()</a> </dd></dl>
</div>
</div>
<a id="a8b27bca9e9348f1223434c0c0217f0a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b27bca9e9348f1223434c0c0217f0a2">◆ </a></span>First() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & SamProgramChain::First </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetches first (oldest) record in the chain. </p>
<dl class="section warning"><dt>Warning</dt><dd>This function will fail if the chain is empty. If this is possible, check the result of <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2de692f91fc38601c4570dd14b428daf" title="Returns true if chain contains no records. ">IsEmpty()</a> before calling this function.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>a modifiable reference to the first (oldest) program entry </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2a94c498963aa41923912b57d09e2ba0">Begin()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a5db6b3f07861c6c888a38aa64f4b52cf" title="Fetches last (newest) record in the chain. ">Last()</a> </dd></dl>
</div>
</div>
<a id="a38e3de7960d4c923614186104ac6074b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38e3de7960d4c923614186104ac6074b">◆ </a></span>First() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & SamProgramChain::First </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetches first (oldest) record in the chain. </p>
<p>This is an overloaded function.</p>
<dl class="section warning"><dt>Warning</dt><dd>This function will fail if the chain is empty. If this is possible, check the result of <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2de692f91fc38601c4570dd14b428daf" title="Returns true if chain contains no records. ">IsEmpty()</a> before calling this function.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>a read-only reference to the first (oldest) program entry </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2a94c498963aa41923912b57d09e2ba0">Begin()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a838d77fe41e784c086dede6cc008b435">ConstBegin()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a5db6b3f07861c6c888a38aa64f4b52cf" title="Fetches last (newest) record in the chain. ">Last()</a> </dd></dl>
</div>
</div>
<a id="a2de692f91fc38601c4570dd14b428daf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2de692f91fc38601c4570dd14b428daf">◆ </a></span>IsEmpty()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool SamProgramChain::IsEmpty </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <code>true</code> if chain contains no records. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a755724eb5f38871eefaa50e8087bc97b" title="Returns number of program records in the chain. ">Size()</a> </dd></dl>
</div>
</div>
<a id="a5db6b3f07861c6c888a38aa64f4b52cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5db6b3f07861c6c888a38aa64f4b52cf">◆ </a></span>Last() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & SamProgramChain::Last </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetches last (newest) record in the chain. </p>
<dl class="section warning"><dt>Warning</dt><dd>This function will fail if the chain is empty. If this is possible, check the result of <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2de692f91fc38601c4570dd14b428daf" title="Returns true if chain contains no records. ">IsEmpty()</a> before calling this function.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>a modifiable reference to the last (newest) program entry </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a7dad5dd5b394bc4c3bd49bf7a4989e57">End()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a8b27bca9e9348f1223434c0c0217f0a2" title="Fetches first (oldest) record in the chain. ">First()</a> </dd></dl>
</div>
</div>
<a id="a1ba17bacab2f02fbf6e7ccf85b5345c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ba17bacab2f02fbf6e7ccf85b5345c5">◆ </a></span>Last() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & SamProgramChain::Last </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Fetches last (newest) record in the chain. </p>
<p>This is an overloaded function.</p>
<dl class="section warning"><dt>Warning</dt><dd>This function will fail if the chain is empty. If this is possible, check the result of <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2de692f91fc38601c4570dd14b428daf" title="Returns true if chain contains no records. ">IsEmpty()</a> before calling this function.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>a read-only reference to the last (newest) program entry </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a7dad5dd5b394bc4c3bd49bf7a4989e57">End()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a98885dc535d92f3f3b74b3cb3bccc773">ConstEnd()</a>, <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a8b27bca9e9348f1223434c0c0217f0a2" title="Fetches first (oldest) record in the chain. ">First()</a> </dd></dl>
</div>
</div>
<a id="a0c84a94130a31560cea62785b42d50f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c84a94130a31560cea62785b42d50f8">◆ </a></span>operator[]()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_bam_tools_1_1_sam_program.html">SamProgram</a> & SamProgramChain::operator[] </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>programId</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieves the modifiable <a class="el" href="struct_bam_tools_1_1_sam_program.html" title="Represents a SAM program record. ">SamProgram</a> record that matches <em>programId</em>. </p>
<dl class="section warning"><dt>Warning</dt><dd>If the chain contains no read group matching this ID, this function will print an error and terminate. Check the return value of <a class="el" href="class_bam_tools_1_1_sam_program_chain.html#ac34d3f22515bd76b64af7a5ffaac2cb3" title="Returns true if chains has this program record (matching on ID). ">Contains()</a> if this may be possible.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">programId</td><td>ID of program record to retrieve </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a modifiable reference to the <a class="el" href="struct_bam_tools_1_1_sam_program.html" title="Represents a SAM program record. ">SamProgram</a> associated with the ID </dd></dl>
</div>
</div>
<a id="a755724eb5f38871eefaa50e8087bc97b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a755724eb5f38871eefaa50e8087bc97b">◆ </a></span>Size()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int SamProgramChain::Size </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns number of program records in the chain. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_bam_tools_1_1_sam_program_chain.html#a2de692f91fc38601c4570dd14b428daf" title="Returns true if chain contains no records. ">IsEmpty()</a> </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_sam_program_chain_8h_source.html">SamProgramChain.h</a></li>
<li><a class="el" href="_sam_program_chain_8cpp.html">SamProgramChain.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
|