Rosetta Core  2015.22
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
core::fragment::picking_old::concepts::Book< Pages > Class Template Reference

forward declaration for Book More...

#include <Book.hh>

Public Types

typedef core::Size Size
 
typedef Pages::Page Page
 
typedef Pages::const_iterator PageConstIterator
 
typedef Pages::iterator PageIterator
 

Public Member Functions

 Book ()
 default constructor More...
 
 Book (Pages const &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...
 

Protected Member Functions

Pages const & pages () const
 return the pages in this book More...
 
Pages & pages ()
 return the pages in this book More...
 

Private Attributes

Pages pages_
 continuous section of lines from a fragment library More...
 

Detailed Description

template<typename Pages>
class core::fragment::picking_old::concepts::Book< Pages >

forward declaration for Book

class demonstrating the Book concept

Remarks
Class is usable as a concrete implementation of a Book.

Member Typedef Documentation

template<typename Pages>
typedef Pages::Page core::fragment::picking_old::concepts::Book< Pages >::Page
template<typename Pages>
typedef Pages::iterator core::fragment::picking_old::concepts::Book< Pages >::PageIterator

Constructor & Destructor Documentation

template<typename Pages>
core::fragment::picking_old::concepts::Book< Pages >::Book ( )
inline

default constructor

template<typename Pages>
core::fragment::picking_old::concepts::Book< Pages >::Book ( Pages const &  pages)
inline

Pages constructor.

template<typename Pages>
core::fragment::picking_old::concepts::Book< Pages >::~Book ( )
inline

default destructor

Member Function Documentation

template<typename Pages>
PageConstIterator core::fragment::picking_old::concepts::Book< Pages >::begin ( ) const
inline

return an iterator that points to the first Page in this book

template<typename Pages>
PageIterator core::fragment::picking_old::concepts::Book< Pages >::begin ( )
inline

return an iterator that points to the first Page in this book

template<typename Pages>
void core::fragment::picking_old::concepts::Book< Pages >::clear ( )
inline
template<typename Pages>
PageConstIterator core::fragment::picking_old::concepts::Book< Pages >::end ( ) const
inline

return an iterator that points just beyond the last Page of this book

template<typename Pages>
PageIterator core::fragment::picking_old::concepts::Book< Pages >::end ( )
inline

return an iterator that points just beyond the last Page of this book

template<typename Pages>
Pages const& core::fragment::picking_old::concepts::Book< Pages >::pages ( ) const
inlineprotected

return the pages in this book

template<typename Pages>
Pages& core::fragment::picking_old::concepts::Book< Pages >::pages ( )
inlineprotected

return the pages in this book

template<typename Pages>
Size core::fragment::picking_old::concepts::Book< Pages >::size ( ) const
inline

number of pages in the book

Referenced by core::fragment::picking_old::vall::vall_library_from_file().

Member Data Documentation

template<typename Pages>
Pages core::fragment::picking_old::concepts::Book< Pages >::pages_
private

The documentation for this class was generated from the following files: