|
Rosetta 3.5
|
class implementing the Book concept for a continuous section of lines in the Vall library More...
#include <VallSection.hh>


Public Types | |
| typedef Super::PageConstIterator | PageConstIterator |
| typedef for Book concept More... | |
| typedef Super::PageIterator | PageIterator |
| typedef for Book concept More... | |
| typedef PageConstIterator | VallResidueConstIterator |
| typedef PageIterator | VallResidueIterator |
Public Types inherited from core::fragment::picking_old::concepts::Book< VallResidues > | |
| typedef core::Size | Size |
| typedef VallResidues::Page | Page |
| typedef VallResidues::const_iterator | PageConstIterator |
| typedef VallResidues::iterator | PageIterator |
Public Member Functions | |
| VallResidue const & | operator[] (Size const idx) const |
| access a specific VallResidue within this section, 1-based indexing More... | |
| void | append_residue (VallResidue const &r) |
| append a residue to the end of this section More... | |
| void | reindex_residues () |
| re-index VallResidues within this library so they number 1 .. n More... | |
| Size | index () const |
| stores the 1-based indexing for accessing this section via VallLibrary::operator [] More... | |
| void | index (Size const idx) |
| stores the 1-based indexing for accessing this section via VallLibrary::operator [] More... | |
| void | reserve (Size const n) |
| ensure storage currently allocated for residues is at least the given size More... | |
| void | tighten_memory () |
| tighten memory usage More... | |
Public Member Functions inherited from core::fragment::picking_old::concepts::Book< VallResidues > | |
| Book () | |
| default constructor More... | |
| Book (VallResiduesconst &pages) | |
| Pages constructor. More... | |
| ~Book () | |
| default destructor More... | |
| PageConstIterator | begin () const |
| return an iterator that points to the first Page in this book More... | |
| PageIterator | begin () |
| return an iterator that points to the first Page in this book More... | |
| PageConstIterator | end () const |
| return an iterator that points just beyond the last Page of this book More... | |
| PageIterator | end () |
| return an iterator that points just beyond the last Page of this book More... | |
| Size | size () const |
| number of pages in the book More... | |
| void | clear () |
| clear the book More... | |
Private Types | |
| typedef core::fragment::picking_old::concepts::Book < VallResidues > | Super |
Private Member Functions | |
| VallResidues const & | residues () const |
| return residues container More... | |
| VallResidues & | residues () |
| return residues container More... | |
Private Attributes | |
| Size | index_ |
| stores the 1-based indexing for accessing this section via VallLibrary::operator [] More... | |
Additional Inherited Members | |
Protected Member Functions inherited from core::fragment::picking_old::concepts::Book< VallResidues > | |
| VallResiduesconst & | pages () const |
| return the pages in this book More... | |
| VallResidues & | pages () |
| return the pages in this book More... | |
class implementing the Book concept for a continuous section of lines in the Vall library
Definition at line 37 of file VallSection.hh.
typedef for Book concept
Definition at line 50 of file VallSection.hh.
typedef for Book concept
Definition at line 54 of file VallSection.hh.
|
private |
Definition at line 43 of file VallSection.hh.
Definition at line 60 of file VallSection.hh.
Definition at line 61 of file VallSection.hh.
|
inline |
append a residue to the end of this section
Definition at line 82 of file VallSection.hh.
References index_, residues(), and core::fragment::picking_old::concepts::Book< VallResidues >::size().
Referenced by core::fragment::picking_old::vall::vall_library_from_file().
|
inline |
stores the 1-based indexing for accessing this section via VallLibrary::operator []
Definition at line 105 of file VallSection.hh.
References index_.
|
inline |
stores the 1-based indexing for accessing this section via VallLibrary::operator []
Definition at line 116 of file VallSection.hh.
References core::fragment::picking_old::concepts::Book< VallResidues >::begin(), core::fragment::picking_old::concepts::Book< VallResidues >::end(), and index_.
|
inline |
access a specific VallResidue within this section, 1-based indexing
Definition at line 72 of file VallSection.hh.
References residues().
|
inline |
re-index VallResidues within this library so they number 1 .. n
Definition at line 91 of file VallSection.hh.
References core::fragment::picking_old::concepts::Book< VallResidues >::begin(), and core::fragment::picking_old::concepts::Book< VallResidues >::end().
|
inline |
ensure storage currently allocated for residues is at least the given size
Definition at line 129 of file VallSection.hh.
References residues().
|
inlineprivate |
return residues container
Definition at line 151 of file VallSection.hh.
References core::fragment::picking_old::concepts::Book< VallResidues >::pages().
Referenced by append_residue(), operator[](), reserve(), and tighten_memory().
|
inlineprivate |
return residues container
Definition at line 158 of file VallSection.hh.
References core::fragment::picking_old::concepts::Book< VallResidues >::pages().
|
inline |
tighten memory usage
Shrinks the capacity of the VallResidues by performing a swap, so this operation will effectively require a similar amount of memory as the current residue object.
Definition at line 139 of file VallSection.hh.
References residues(), and core::fragment::picking_old::concepts::Book< VallResidues >::size().
|
private |
stores the 1-based indexing for accessing this section via VallLibrary::operator []
Definition at line 168 of file VallSection.hh.
Referenced by append_residue(), and index().
1.8.4