Public Member Functions | Protected Member Functions | Friends

SeqCounter Class Reference
[Internal Classes for sequence design (odinseq library)]

#include <seqcounter.h>

Inheritance diagram for SeqCounter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SeqCounter (const STD_string &object_label="unnamedSeqCounter")
 SeqCounter (const SeqCounter &sc)
SeqCounteroperator= (const SeqCounter &sc)
virtual int get_times () const
virtual void add_vector (const SeqVector &seqvector)

Protected Member Functions

bool prep ()
void clear_container ()

Friends

class SeqVector

Detailed Description

The base class for objects iterating through vectors by incremental counting

Definition at line 139 of file seqcounter.h.


Constructor & Destructor Documentation

SeqCounter::SeqCounter ( const STD_string &  object_label = "unnamedSeqCounter"  ) 

Construct an empty counter object with the given label

SeqCounter::SeqCounter ( const SeqCounter sc  ) 

Constructs a copy of 'sl'


Member Function Documentation

virtual void SeqCounter::add_vector ( const SeqVector seqvector  )  [virtual]

Adds a vector to this counter

void SeqCounter::clear_container (  )  [protected, virtual]

Overload this function in case the class is a container object, i.e. it contains other sequence objects. The function should clear all references to other sequence objects, i.e. to thos it contains.

Reimplemented from SeqClass.

virtual int SeqCounter::get_times (  )  const [virtual]

The number of iterations of this counter object

SeqCounter& SeqCounter::operator= ( const SeqCounter sc  ) 

Assignment operator

bool SeqCounter::prep (  )  [protected, virtual]

Overload this function to prepare objects before the measurement. This function will then be called automatically after editing the sequence parameters and before the measurement is started. This function should not alter the physical properties of the sequence object, e.g. its duration.

Reimplemented from SeqClass.


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