BTKContainer Class Template Reference

#include <btk_container.hpp>

Inheritance diagram for BTKContainer:

BTKSequence BTKSequence< AtomType, StorageStrategy > BTKSequence< ChainType, StorageStrategy > BTKSequence< MonomerType, StorageStrategy > BTKSequence< PolymerType, StorageStrategy > System< PolymerType, ChemicalTypeSystemType, StorageStrategy > AtomicStructure System PolymerStructure PDBSystem Chain Monomer Polymer Molecule List of all members.
 BTKContainer (self_type const &source)
 Methods required by the STL Reversible Container Concept
virtual ~BTKContainer ()
 Methods required by the STL Reversible Container Concept
iterator begin ()
 Methods required by the STL Reversible Container Concept
const_iterator begin () const
 Methods required by the STL Reversible Container Concept
iterator end ()
 Methods required by the STL Reversible Container Concept
const_iterator end () const
 Methods required by the STL Reversible Container Concept
reverse_iterator rbegin ()
 Methods required by the STL Reversible Container Concept
const_reverse_iterator rbegin () const
 Methods required by the STL Reversible Container Concept
reverse_iterator rend ()
 Methods required by the STL Reversible Container Concept
const_reverse_iterator rend () const
 Methods required by the STL Reversible Container Concept
size_type size () const
 Methods required by the STL Reversible Container Concept
size_type max_size () const
 Methods required by the STL Reversible Container Concept
bool empty () const
 Methods required by the STL Reversible Container Concept

Public Types

typedef BTKContainer< T, StorageStrategy > self_type
typedef T value_type
typedef StorageStrategy::iterator iterator
typedef StorageStrategy::const_iterator const_iterator
typedef StorageStrategy::reverse_iterator reverse_iterator
typedef StorageStrategy::const_reverse_iterator const_reverse_iterator
typedef StorageStrategy::reference reference
typedef StorageStrategy::const_reference const_reference
typedef StorageStrategy::pointer pointer
typedef StorageStrategy::const_pointer const_pointer
typedef StorageStrategy::difference_type difference_type
typedef StorageStrategy::size_type size_type

Public Member Functions

reference operator[] (size_type n)
const_reference operator[] (size_type n) const

Protected Member Functions

 BTKContainer (size_type n=0, const_reference t=value_type())
template<typename InputIterator>
 BTKContainer (InputIterator i, InputIterator j)
void swap (self_type &b)
 Methods required by the STL Reversible Container Concept, but protected to prevent heterogenous type operations in derived types.
self_typeoperator= (self_type const &rhs)
 Methods required by the STL Reversible Container Concept, but protected to prevent heterogenous type operations in derived types.
bool operator== (self_type const &rhs) const
 Methods required by the STL Reversible Container Concept, but protected to prevent heterogenous type operations in derived types.
bool operator!= (self_type const &rhs) const
 Methods required by the STL Reversible Container Concept, but protected to prevent heterogenous type operations in derived types.
bool operator< (self_type const &rhs) const
 Methods required by the STL Reversible Container Concept, but protected to prevent heterogenous type operations in derived types.

Protected Attributes

StorageStrategy _storage

template<typename T, typename StorageStrategy>
class BTK::UTILITY::BTKContainer< T, StorageStrategy >


Member Typedef Documentation

typedef BTKContainer<T,StorageStrategy> self_type

typedef T value_type

Reimplemented in PDBSystem, AtomicStructure, Chain, Molecule, Monomer, Polymer, PolymerStructure, System, BTKSequence, System< PolymerType, ChemicalTypeSystemType, StorageStrategy >, BTKSequence< ChainType, StorageStrategy >, BTKSequence< MonomerType, StorageStrategy >, BTKSequence< AtomType, StorageStrategy >, and BTKSequence< PolymerType, StorageStrategy >.

typedef StorageStrategy::iterator iterator

Reimplemented in PDBSystem, AtomicStructure, Chain, Molecule, Monomer, Polymer, PolymerStructure, System, BTKSequence, System< PolymerType, ChemicalTypeSystemType, StorageStrategy >, BTKSequence< ChainType, StorageStrategy >, BTKSequence< MonomerType, StorageStrategy >, BTKSequence< AtomType, StorageStrategy >, and BTKSequence< PolymerType, StorageStrategy >.

typedef StorageStrategy::const_iterator const_iterator

Reimplemented in PDBSystem, AtomicStructure, Chain, Molecule, Monomer, Polymer, PolymerStructure, System, BTKSequence, System< PolymerType, ChemicalTypeSystemType, StorageStrategy >, BTKSequence< ChainType, StorageStrategy >, BTKSequence< MonomerType, StorageStrategy >, BTKSequence< AtomType, StorageStrategy >, and BTKSequence< PolymerType, StorageStrategy >.

typedef StorageStrategy::reverse_iterator reverse_iterator

Reimplemented in PDBSystem, AtomicStructure, Chain, Molecule, Monomer, Polymer, PolymerStructure, System, BTKSequence, System< PolymerType, ChemicalTypeSystemType, StorageStrategy >, BTKSequence< ChainType, StorageStrategy >, BTKSequence< MonomerType, StorageStrategy >, BTKSequence< AtomType, StorageStrategy >, and BTKSequence< PolymerType, StorageStrategy >.

typedef StorageStrategy::const_reverse_iterator const_reverse_iterator

Reimplemented in PDBSystem, AtomicStructure, Chain, Molecule, Monomer, Polymer, PolymerStructure, System, BTKSequence, System< PolymerType, ChemicalTypeSystemType, StorageStrategy >, BTKSequence< ChainType, StorageStrategy >, BTKSequence< MonomerType, StorageStrategy >, BTKSequence< AtomType, StorageStrategy >, and BTKSequence< PolymerType, StorageStrategy >.

typedef StorageStrategy::reference reference

Reimplemented in PDBSystem, AtomicStructure, Chain, Molecule, Monomer, Polymer, PolymerStructure, System, BTKSequence, System< PolymerType, ChemicalTypeSystemType, StorageStrategy >, BTKSequence< ChainType, StorageStrategy >, BTKSequence< MonomerType, StorageStrategy >, BTKSequence< AtomType, StorageStrategy >, and BTKSequence< PolymerType, StorageStrategy >.

typedef StorageStrategy::const_reference const_reference

Reimplemented in PDBSystem, AtomicStructure, Chain, Molecule, Monomer, Polymer, PolymerStructure, System, BTKSequence, System< PolymerType, ChemicalTypeSystemType, StorageStrategy >, BTKSequence< ChainType, StorageStrategy >, BTKSequence< MonomerType, StorageStrategy >, BTKSequence< AtomType, StorageStrategy >, and BTKSequence< PolymerType, StorageStrategy >.

typedef StorageStrategy::pointer pointer

Reimplemented in PDBSystem, AtomicStructure, Chain, Molecule, Monomer, Polymer, PolymerStructure, System, BTKSequence, System< PolymerType, ChemicalTypeSystemType, StorageStrategy >, BTKSequence< ChainType, StorageStrategy >, BTKSequence< MonomerType, StorageStrategy >, BTKSequence< AtomType, StorageStrategy >, and BTKSequence< PolymerType, StorageStrategy >.

typedef StorageStrategy::const_pointer const_pointer

Reimplemented in PDBSystem, AtomicStructure, Chain, Molecule, Monomer, Polymer, PolymerStructure, System, BTKSequence, System< PolymerType, ChemicalTypeSystemType, StorageStrategy >, BTKSequence< ChainType, StorageStrategy >, BTKSequence< MonomerType, StorageStrategy >, BTKSequence< AtomType, StorageStrategy >, and BTKSequence< PolymerType, StorageStrategy >.

typedef StorageStrategy::difference_type difference_type

Reimplemented in PDBSystem, AtomicStructure, Chain, Molecule, Monomer, Polymer, PolymerStructure, System, BTKSequence, System< PolymerType, ChemicalTypeSystemType, StorageStrategy >, BTKSequence< ChainType, StorageStrategy >, BTKSequence< MonomerType, StorageStrategy >, BTKSequence< AtomType, StorageStrategy >, and BTKSequence< PolymerType, StorageStrategy >.

typedef StorageStrategy::size_type size_type

Reimplemented in PDBSystem, AtomicStructure, Chain, Molecule, Monomer, Polymer, PolymerStructure, System, BTKSequence, System< PolymerType, ChemicalTypeSystemType, StorageStrategy >, BTKSequence< ChainType, StorageStrategy >, BTKSequence< MonomerType, StorageStrategy >, BTKSequence< AtomType, StorageStrategy >, and BTKSequence< PolymerType, StorageStrategy >.


Constructor & Destructor Documentation

BTKContainer ( self_type const &  source  ) 

Methods required by the STL Reversible Container Concept

virtual ~BTKContainer (  )  [virtual]

Methods required by the STL Reversible Container Concept

BTKContainer ( size_type  n = 0,
const_reference  t = value_type() 
) [protected]

BTKContainer ( InputIterator  i,
InputIterator  j 
) [protected]


Member Function Documentation

iterator begin (  ) 

Methods required by the STL Reversible Container Concept

const_iterator begin (  )  const

Methods required by the STL Reversible Container Concept

iterator end (  ) 

Methods required by the STL Reversible Container Concept

const_iterator end (  )  const

Methods required by the STL Reversible Container Concept

reverse_iterator rbegin (  ) 

Methods required by the STL Reversible Container Concept

const_reverse_iterator rbegin (  )  const

Methods required by the STL Reversible Container Concept

reverse_iterator rend (  ) 

Methods required by the STL Reversible Container Concept

const_reverse_iterator rend (  )  const

Methods required by the STL Reversible Container Concept

size_type size (  )  const

Methods required by the STL Reversible Container Concept

size_type max_size (  )  const

Methods required by the STL Reversible Container Concept

bool empty (  )  const

Methods required by the STL Reversible Container Concept

reference operator[] ( size_type  n  ) 

const_reference operator[] ( size_type  n  )  const

void swap ( self_type b  )  [protected]

Methods required by the STL Reversible Container Concept, but protected to prevent heterogenous type operations in derived types.

Reimplemented in System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.

self_type& operator= ( self_type const &  rhs  )  [protected]

Methods required by the STL Reversible Container Concept, but protected to prevent heterogenous type operations in derived types.

Reimplemented in System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.

bool operator== ( self_type const &  rhs  )  const [protected]

Methods required by the STL Reversible Container Concept, but protected to prevent heterogenous type operations in derived types.

Reimplemented in System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.

bool operator!= ( self_type const &  rhs  )  const [protected]

Methods required by the STL Reversible Container Concept, but protected to prevent heterogenous type operations in derived types.

Reimplemented in System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.

bool operator< ( self_type const &  rhs  )  const [protected]

Methods required by the STL Reversible Container Concept, but protected to prevent heterogenous type operations in derived types.

Reimplemented in System< PolymerType, ChemicalTypeSystemType, StorageStrategy >.


Member Data Documentation

StorageStrategy _storage [protected]


The documentation for this class was generated from the following file:
Generated on Sun Jul 15 20:46:42 2007 for BTK Core by  doxygen 1.5.1