Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
core::fragment::picking_old::concepts::Library< Books > Class Template Reference

forward declaration for Library More...

#include <Library.fwd.hh>

Collaboration diagram for core::fragment::picking_old::concepts::Library< Books >:
Collaboration graph
[legend]

Public Types

typedef core::Size Size
 
typedef Books::Book Book
 
typedef Books::const_iterator BookConstIterator
 
typedef Books::iterator BookIterator
 

Public Member Functions

 Library ()
 default constructor More...
 
 Library (Books const &books)
 Books constructor. More...
 
 ~Library ()
 default destructor More...
 
BookConstIterator begin () const
 return an iterator that points to the first Book in this library More...
 
BookIterator begin ()
 return an iterator that points to the first Book in this library More...
 
BookConstIterator end () const
 return an iterator that points beyond the last Book in this library More...
 
BookIterator end ()
 return an iterator that points beyond the last Book in this library More...
 
Size size () const
 number of books in the library More...
 
void clear ()
 clear the library More...
 

Protected Member Functions

Books const & books () const
 return the books in this library More...
 
Books & books ()
 return the books in this library More...
 

Private Attributes

Books books_
 all sections of lines from a fragment library More...
 

Detailed Description

template<typename Books>
class core::fragment::picking_old::concepts::Library< Books >

forward declaration for Library

class demonstrating the Library concept

Remarks
Class is useable as a concrete implementation of a Library.

Definition at line 26 of file Library.fwd.hh.

Member Typedef Documentation

template<typename Books>
typedef Books::Book core::fragment::picking_old::concepts::Library< Books >::Book

Definition at line 42 of file Library.hh.

template<typename Books>
typedef Books::const_iterator core::fragment::picking_old::concepts::Library< Books >::BookConstIterator

Definition at line 43 of file Library.hh.

template<typename Books>
typedef Books::iterator core::fragment::picking_old::concepts::Library< Books >::BookIterator

Definition at line 44 of file Library.hh.

template<typename Books>
typedef core::Size core::fragment::picking_old::concepts::Library< Books >::Size

Definition at line 41 of file Library.hh.

Constructor & Destructor Documentation

template<typename Books>
core::fragment::picking_old::concepts::Library< Books >::Library ( )
inline

default constructor

Definition at line 52 of file Library.hh.

template<typename Books>
core::fragment::picking_old::concepts::Library< Books >::Library ( Books const &  books)
inline

Books constructor.

Definition at line 57 of file Library.hh.

template<typename Books>
core::fragment::picking_old::concepts::Library< Books >::~Library ( )
inline

default destructor

Definition at line 62 of file Library.hh.

Member Function Documentation

template<typename Books>
BookConstIterator core::fragment::picking_old::concepts::Library< Books >::begin ( ) const
inline
template<typename Books>
BookIterator core::fragment::picking_old::concepts::Library< Books >::begin ( )
inline

return an iterator that points to the first Book in this library

Definition at line 77 of file Library.hh.

template<typename Books>
Books const& core::fragment::picking_old::concepts::Library< Books >::books ( ) const
inlineprotected

return the books in this library

Definition at line 118 of file Library.hh.

template<typename Books>
Books& core::fragment::picking_old::concepts::Library< Books >::books ( )
inlineprotected

return the books in this library

Definition at line 125 of file Library.hh.

template<typename Books>
void core::fragment::picking_old::concepts::Library< Books >::clear ( )
inline

clear the library

Definition at line 108 of file Library.hh.

template<typename Books>
BookConstIterator core::fragment::picking_old::concepts::Library< Books >::end ( ) const
inline

return an iterator that points beyond the last Book in this library

Definition at line 84 of file Library.hh.

Referenced by core::fragment::picking_old::concepts::Librarian< scores::VallFragmentScore, eval::VallFragmentEval, gen::VallFragmentGen, VallLibrary >::catalog().

template<typename Books>
BookIterator core::fragment::picking_old::concepts::Library< Books >::end ( )
inline

return an iterator that points beyond the last Book in this library

Definition at line 91 of file Library.hh.

template<typename Books>
Size core::fragment::picking_old::concepts::Library< Books >::size ( ) const
inline

Member Data Documentation

template<typename Books>
Books core::fragment::picking_old::concepts::Library< Books >::books_
private

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