BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
BALL::SecondaryStructureIteratorTraits Class Reference

#include <BALL/KERNEL/secondaryStructureIterator.h>

Inheritance diagram for BALL::SecondaryStructureIteratorTraits:
BALL::CompositeIteratorTraits

Public Member Functions

 SecondaryStructureIteratorTraits ()
 
 SecondaryStructureIteratorTraits (const Composite &composite)
 
 SecondaryStructureIteratorTraits (const SecondaryStructureIteratorTraits &traits, bool=true)
 
SecondaryStructureIteratorTraitsoperator= (const SecondaryStructureIteratorTraits &traits)
 
void resetPredicate ()
 
- Public Member Functions inherited from BALL::CompositeIteratorTraits
Composite::CompositeIteratorgetPosition ()
 Return the current iterator position. More...
 
const
Composite::CompositeIterator
getPosition () const
 Return the current iterator posittion (const method) More...
 
void invalidate ()
 
void toBegin ()
 
void toEnd ()
 
CompositegetData ()
 Return a reference to the current element. More...
 
const CompositegetData () const
 Return a const reference to the current element. More...
 
void forward ()
 Increment the iterator by one element. More...
 
void backward ()
 Decrement the iterator one element. More...
 
void toRBegin ()
 
void toREnd ()
 
void setPredicate (const UnaryPredicate< Composite > &predicate)
 Assign the current predicate associated with the iterator. More...
 
const UnaryPredicate< Composite > * getPredicate () const
 Return the current predicate associated with the iterator. More...
 
 CompositeIteratorTraits ()
 Default constructor. More...
 
 CompositeIteratorTraits (const Composite &composite)
 Copy constructor. More...
 
 CompositeIteratorTraits (const CompositeIteratorTraits &traits)
 Detailed constructor. More...
 
 ~CompositeIteratorTraits ()
 Destructor. More...
 
CompositeIteratorTraitsoperator= (const CompositeIteratorTraits &traits)
 Assignment operator. More...
 
CompositegetContainer ()
 Return a pointer to the container the iterator is bound to. More...
 
const CompositegetContainer () const
 Return a const pointer to the container the iterator is bound to. More...
 
bool operator== (const CompositeIteratorTraits &traits) const
 Equality operator. More...
 
bool operator!= (const CompositeIteratorTraits &traits) const
 Inequality operator. More...
 
bool isValid () const
 
bool isSingular () const
 Check whether the iterator is bound to a container. More...
 
bool isBegin () const
 
bool isEnd () const
 
bool isRBegin () const
 
bool isREnd () const
 

Additional Inherited Members

- Protected Attributes inherited from BALL::CompositeIteratorTraits
Compositebound_
 The pointer to the container. More...
 
Composite::CompositeIterator composite_iterator_
 The internal iterator to iterate over the current node's children. More...
 
const UnaryPredicate< Composite > * predicate_
 The predicate. More...
 

Detailed Description

SecondaryStructureIteratorTraits

Definition at line 32 of file secondaryStructureIterator.h.

Constructor & Destructor Documentation

BALL::SecondaryStructureIteratorTraits::SecondaryStructureIteratorTraits ( )
inline

Definition at line 37 of file secondaryStructureIterator.h.

BALL::SecondaryStructureIteratorTraits::SecondaryStructureIteratorTraits ( const Composite composite)
inline

Definition at line 43 of file secondaryStructureIterator.h.

BALL::SecondaryStructureIteratorTraits::SecondaryStructureIteratorTraits ( const SecondaryStructureIteratorTraits traits,
bool  = true 
)
inline

Definition at line 49 of file secondaryStructureIterator.h.

Member Function Documentation

SecondaryStructureIteratorTraits& BALL::SecondaryStructureIteratorTraits::operator= ( const SecondaryStructureIteratorTraits traits)
inline

Definition at line 54 of file secondaryStructureIterator.h.

void BALL::SecondaryStructureIteratorTraits::resetPredicate ( )
inline

Definition at line 60 of file secondaryStructureIterator.h.